Deploying to WildFly 22.214.171.124
This topic introduces how to deploy Logi Report Server to WildFly. The example directory paths listed below are based on 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:\LogiReport\Server instead of
It is assumed that:
- WildFly 126.96.36.199 is installed in the
- The Logi Report Server WAR file jreport.war is located in the
/opt/LogiReport/Server/bin/distributedirectory. To create the WAR file refer to the instructions in Building a WAR/EAR File to Include a Self-contained Logi Report Server.
Note: Before creating the WAR, you need to change JRPatternLayout to PatternLayout all over the LogConfig.properties file in
/opt/LogiReport/Server/bin. After jreport.war is generated, create a file named jboss-deployment-structure.xml as follows in the jreport.war/META-INFO folder:
<?xml version="1.0" encoding="UTF-8"?>
To deploy Logi Report Server to WildFly 188.8.131.52:
- Start WildFly 184.108.40.206 by running the standalone.sh script in
- By default WildFly 220.127.116.11 is now distributed with security enabled for the management interfaces, this means that before you connect using the administration console you need to add a new user, this can be achieved using the
add-user.shscript in the bin folder. You will then be prompted to set the user name and password for the new user.
- Log onto the WildFly 18.104.22.168 Administration Console with the specified user name and password using the URL
- In the Deployments tab, select Add. In the Create Deployment dialog box, browse to select the file jreport.war. Then select Next.
- In the step 2 of the Create Deployment dialog box, select the Enable option and then select Save.
- Upon the successful deployment of the Logi Report Server WAR file jreport.war, access Logi Report Server using the following URLs:
If you run into problems when using Logi Report Server in WildFly, send the log files of Logi Report Server to [email protected]. The following procedure illustrates how to generate the log files:
- Modify the file standalone.sh in
In the file standalone.sh, add -Dlogall=true after the reporthome definition:
"$JAVA" $JAVA_OPTS \ -classpath "$WILDFLY_CLASSPATH" -Dreporthome=/opt/LogiReport/Server \ -Dlogall=true \ org.wildfly.Main "[email protected]"
- After editing standalone.sh, start WildFly using the modified file.
- After reproducing the problem, send [email protected] the log files in
The WildFly log files may also help to identify the problem. The most useful one is /opt/wildfly/server/default/log/server.log.
Note: If you encounter the issue that WildFly 22.214.171.124 cannot locate jrenv.jar when building a WAR/EAR to deploy to WildFly 126.96.36.199, add -Djbossas7=true in makewar.bat/sh.