BackPrevious Page Next PageNext

Running with Tomcat 8.0.15

Assume that:

Configuring Tomcat

  1. Build the JReport Server Monitor WAR file using the makewar.bat/makewar.sh utility in the C:\JReport\Monitor\bin directory. The generated WAR file monitor.war will be saved to the directory C:\JReport\Monitor\bin\distribute.
  2. Set JAVA_HOME in the batch file catalina.bat in C:\tomcat\bin. For example, we use C:\jdk1.8.0.
    rem $Id: catalina.bat,v 1.29 2002/04/01 19:51:31 patrickl Exp $
    rem ---------------------------------------------------------------------------
    set JAVA_HOME=C:\jdk1.8.0
    rem Guess CATALINA_HOME if not defined
    if not "%CATALINA_HOME%" == "" goto gotHome
    set CATALINA_HOME=.
  3. Modify catalina.bat again to set the Java system variable. For example,
    if not "%SECURITY_POLICY_FILE%" == "" goto doSecurity
    %_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS%
    -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%"
    -classpath "%CLASSPATH%" 
    -Dcatalina.base="%CATALINA_BASE%"
    -Dmonitor.home="C:\JReport\Monitor"
  4. Copy the WAR file monitor.war to C:\tomcat\webapps.
  5. Copy rmi.auth from <server_install_root>\bin of the admin server (JReport Server you want to monitor) to C:\JReport\Monitor\bin. Enable RMI service for remote connection by setting the property server.rmiserver.enable to true in server.properties in <server_intall_root>\bin. And then start the admin server.

Launching Tomcat

  1. Start Tomcat using C:\tomcat\bin\startup.
  2. Load the default page of Server Monitor using http://hostname:8080/monitor or http://hostname:8080/monitor/monitor/index.jsp.
  3. If the admin server and JReport Server Monitor are installed in different computers, you need to specify the right host and port of the admin server in JReport Server Monitor side via the following two properties in server.properties in C:\JReport\Monitor\bin before starting Tomcat:

admin.server.host = The RMI host name or IP address of the admin server.

admin.server.port = The RMI port number of the admin server.

BackPrevious Page Next PageNext