Deploying to Jetty 9.1

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, i.e. C:\JReport\Server instead of /opt/JReport/Server.

It is assumed that the JReport Server WAR file jreport.war is located in the /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 Jetty 9.1:

  1. If you are integrating JReport Server with Jetty in a non-remote environment, you need to remove or comment the following codes in the web.xml of jreport.war:

    <login-config>
    <auth-method>BASIC</auth-method>
    </login-config>

  2. Add jreport.war to the /opt/Jetty9.1/webapps directory.
  3. Start Jetty 9.1.
  4. Access JReport Server using the following URLs:

    http://<hostname>:8080/jreport/jrserver
    http://<hostname>:8080/jreport/admin/index.jsp
    http://<hostname>:8080/jreport/jinfonet/index.jsp