Deploying to Jetty 9.4.28
This topic introduces how to deploy Logi Report Server to Jetty. 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 /opt/LogiReport/Server
.
It is assumed that the Logi Report Server WAR file jreport.war is located in the /opt/LogiReport/Server/bin/distribute
directory. To create the WAR file refer to the instructions in Building a WAR/EAR File to Include a Self-contained Logi Report Server.
To deploy Logi Report Server to Jetty 9.4.28:
- Remove or comment out the following codes in the web.xml of jreport.war if you are integrating Logi Report Server with Jetty in a non-remote environment:
<login-config>
<auth-method>BASIC</auth-method>
</login-config> - Add jreport.war to the
/opt/Jetty9.4.28/demo_base/webapps
directory. - Start Jetty 9.4.28 using command
java -jar /start.jar
. If your Logi Report uses JDK 9 or above, you need to start Jetty using commandjava @/FolderName/java.option -jar ../start.jar
instead. - Access Logi Report Server using the following URLs:
http://<hostname>:8080/jreport/jrserver
http://<hostname>:8080/jreport/jinfonet/index.jsp