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:
/opt/apache-tomcat-7.0.27
directory./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 Tomcat 7.0.27:
/opt/apache-tomcat-7.0.27/webapps
. startup.sh
script.http://hostname:8080/jreport/jrserver
http://hostname:8080/jreport/admin/index.jsp
http://hostname:8080/jreport/jinfonet/index.jsp
If you run into problems when using JReport Server in Tomcat, send the log files of JReport Server to support@jinfonet.com. The following procedure illustrates how to generate the log files:
/opt/apache-tomcat-7.0.27/bin
.
In the file catalina.sh, add -Dlogall=true
after the reporthome definition:
|
Or if no reporthome is specified, add as follows:
|
http://hostname:8080/jreport/admin/info.jsp?cmd=info
.reporthome/logs.
The Tomcat log files may also help to identify the problem. The most useful one is /opt/apache-tomcat-7.0.27/logs/catalina.out.