
Deploying to Sun ONE Application Server 7
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 Enterprise 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 Enterprise Server.
To deploy JReport Enterprise Server to Sun ONE Application Server 7:
- Start the Sun ONE Application Server by selecting Start > Programs > Sun Microsystems > Sun One Application Server7 > Start Application Server.
Tip: If you are using Sun ONE Application Server 8, the last step should be choosing Start Default Server instead of Start Application Server.
- Launch the Admin Console by selecting Start > Programs > Sun Microsystems > Sun One Application Server7 > Start Admin Console.
- In the left console tree, expand the Applications node in server1, then click Web Apps.
- In the Server1: Applications: Web page, Click Deploy.
- Use Browse to select the WAR file jreport.war.
- In the Server1: Upload WAR File page, click OK to save your changes.
- In the Server1: Applications: Web: Deploy page, type a context path such as / in the Context Root field, and then click OK.
- Access JReport Enterprise Server using the following URLs:
http://host:8080/jrserver
http://host:8080/jinfonet/index.jsp
http://host:8080/admin/index.jsp
Troubleshooting
If you run into some problems when using the Sun ONE Application Server 7, send the log files of JReport Enterprise Server to support@jinfonet.com. The following procedure illustrates how to generate the log files:
- Start the Sun ONE Application Server, and then launch the Admin Console.
- In the console tree, click server1. The Server1 page will appear in the right panel.
- Go to the JVM Settings tab, and then click JVM Options.
- In the JVM Option field, type -Dlogall=true, and then click Add. Click Save to save your changes.
- Restart Sun ONE Application Server 7 and try to reproduce the problem.
- After reproducing the problem, send support@jinfonet.com the log files in
reporthome/logs.
