The example directory paths listed below are based on Solaris or Linux (referred to as Unix). The instructions are applicable to both Unix and Windows installations; however, the format of the paths for Windows would use the Windows format, that is, C:\JReport\Server
instead of /opt/JReport/Server
.
It is assumed that:
/opt/wildfly
directory./opt/JReport/Server/bin/distribute
directory. To create the WAR file refer to the instructions in Building a WAR/EAR file to include a self-contained JReport Server.
To deploy JReport Server to WildFly 8.2.0.Final:
/opt/wildfly/bin.
add-user.sh
script in the bin folder. You will then be prompted to set the user name and password for the new user. http://localhost:9990/console
. http://localhost:8080/jreport/jrserver
http://localhost:8080/jreport/admin/index.jsp
http://localhost:8080/jreport/jinfonet/index.jsp
If you run into problems when using JReport Server in WildFly, send the log files of JReport Server to support@jinfonet.com. The following procedure illustrates how to generate the log files:
/opt/wildfly/bin
.
In the file standalone.sh, add -Dlogall=true
after the reporthome definition:
|
reporthome/logs
.
The WildFly log files may also help to identify the problem. The most useful one is /opt/wildfly/server/default/log/server.log.
Notes:
<?xml version="1.0" encoding="UTF-8"?>
<jboss-deployment-structure>
<deployment>
<exclusions>
<module name="org.apache.log4j" />
</exclusions>
</deployment>
</jboss-deployment-structure>