Additional Information
The Reporting Server requires the following to run:
-
An application server
The installation is pre-configured to run with the Tomcat server.
-
A database
The installation is pre-configured to run with PostgreSQL database.
This is bundled with the software and is separate from the Automic Automation Intelligence database.
The following information may be useful when working with the Reporting Server.
Linux
Find the Apache Tomcat version:
$INSTALLDIR/apache-tomcat/bin/version.sh
$INSTALLDIR/apache-tomcat/bin/catalina.sh version
Find the Reporting Server version:
ls –l $INSTALLDIR/apache-tomcat/webapps/jasperserver-pro/WEB-INF/lib/*JasperPatch*.jar
Control Reporting Server from the command line:
$INSTALLDIR/ctlscript.sh start
$INSTALLDIR/ctlscript.sh status
$INSTALLDIR/ctlscript.sh stop
$INSTALLDIR/ctlscript.sh restart
Start Reporting Server from daemon:
$INSTALLDIR/scripts/linux/jasperserver
Edit this script and set permissions as described in the $INSTALLDIR/scripts/linux/readme.txt file in the same location. Once installed, these services start automatically when you reboot, which also starts the JasperReports® Server.
Update memory settings:
-
$INSTALLDIR/apache-tomcat/scripts/ctl.sh
Remove the following JAVA_OPTS line in both the start_tomcat() and daemon_tomcat() functions:
export JAVA_OPTS="-Xms1024m -Xmx2048m -XX:PermSize=32m -XX:MaxPermSize=512m -Xss2m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -Djava.awt.headless=true"
-
$INSTALLDIR/apache-tomcat/bin/setenv.sh
Remove the following lines:
JAVA_OPTS="-Djava.awt.headless=true -Djs.license.directory=/opt/Insight $JAVA_OPTS"
JAVA_OPTS="-Xms1024m -Xmx2048m -Xss2m $JAVA_OPTS " # java-memory-settings
Add the following line and set Xms and Xmx to the desired values:
CATALINA_OPTS="-Xms1024m –Xmx2048m -Xss2m -XX:PermSize=32m -XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -Djava.awt.headless=true -Djs.license.directory=/opt/Insight"
Change the following line:
export JAVA_OPTS
to
export CATALINA_OPTS
-
Once the above changes are made, please restart the Reporting server:
$INSTALLDIR/ctlscript.sh restart
Windows
Find the Tomcat version:
$INSTALLDIR\apache-tomcat\bin\version.bat
$INSTALLDIR\apache-tomcat\bin\catalina.bat version
Find the Reporting Server version:
dir $INSTALLDIR\apache-tomcat\webapps\jasperserver-pro\WEB-INF\lib\*JasperPatch*.jar
Control Reporting Server in Task Manager:
Open the Windows Task Manager and go to the Services Tab. The following services can be Started, Stopped, or Restarted:
jasperreportsTomcat
jasperreportsPostgreSQL