The example directory paths listed below are based on 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:
/opt/apache-tomcat-8.5.23
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.
Note: When unpackWARs="false" is set in server.xml in the conf folder of Tomcat, you need to do the following:
/opt/JReport/Server/bin
before creating the WAR as follows:
packages = com.jinfonet.util
.makewar.bat -Djbossas7=true
To deploy JReport Server to Tomcat 8.5.23:
/opt/apache-tomcat-8.5.23/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-8.5.23/bin
.
In the file catalina.sh, add -Dlogall=true
after the reporthome definition:
JAVA_OPTS="-Dreporthome=
/opt/JReport/Server
-Dlogall=true"
Cygwin=false
Or if no reporthome is specified, add as follows:
JAVA_OPTS=-Dlogall=true
Cygwin=false
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-8.5.23/logs/catalina.out.