Deploying to Resin 4.0.44

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:

To deploy JReport Server to Resin 4.0.44:

  1. Generate the password.

  2. Modify resin.properties in /opt/resin/conf. Set remote_admin_enable to true and add the generated password.

  3. Start Resin 4.0.44 by running the resin.sh script in /opt/resin/bin.
  4. Log onto the Resin 4.0.44 Administration Console with the specified user name and password using the URL http://localhost:8080/resin-admin/index.php.
  5. In the deploy tab, click Browse to select the file jreport.war. In the Name text box, type in jreport. Then click Deploy.
  6. Access JReport Server using the following URLs:

    http://localhost:8080/jreport/jrserver
    http://localhost:8080/jreport/admin/index.jsp
    http://localhost:8080/jreport/jinfonet/index.jsp

Troubleshooting

If you run into problems when using JReport Server in Resin, send the log files of JReport Server to support@jinfonet.com. The following procedure illustrates how to generate the log files:

  1. Modify the file resin.sh in /opt/resin/bin by adding -Dlogall=true after the reporthome definition:
    "$JAVA" $JAVA_OPTS \ 
    -classpath "$RESIN_CLASSPATH" -Dreporthome=/opt/JReport/Server \ 
    -Dlogall=true  \ 
    org.resin.Main "$@"
  2. Run the modified resin.sh to start Resin.
  3. After reproducing the problem, send support@jinfonet.com the log files in reporthome/logs.

    The Resin log files may also help to identify the problem. The most useful one is /opt/Resin/server/default/log/server.log.