Deploying to OC4J 10g

It is assumed that the JReport Enterprise Server WAR file jreport.war is located in the C:\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 Enterprise Server.

To deploy JReport Enterprise Server to OC4J 10g:

  1. Start OC4J.
  2. Create a new OC4J instance named JReport.
  3. Select the instance and start it.
  4. Click the Applications tab.
  5. Deploy the jreport.war.

    In the Deploy Web Application dialog, specify C:\JReport\Server\bin\distribute\jreport.war in the Web Application field, type JREntServer in the Application Name field, and type a context path such as /jreport in the Map to URL field. Then click Deploy.

  6. Access JReport Enterprise Server using the following URLs:

    http://localhost:port/jreport/jrserver
    http://localhost:port/jreport/admin/jindex.jsp
    http://localhost:port/jreport/jinfonet/index.jsp

Troubleshooting

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

  1. Type -Dlogall=true in the Java Options field. To access the field, select JReport instance, and then click Administration tab > Server Properties > Java Options.
  2. Restart OC4J, and then try to reproduce the problem.
  3. After reproducing the problem, send support@jinfonet.com the log files in reporthome\logs.