Configuring Unica Interact to use the jconsole scripts for JMX monitoring
If you do not have a separate JMX monitoring application, you can use the jconsole that is installed with the JVM. You can start the jconsole with the startup scripts in the Interact/tools directory.
About this task
The jconsole script uses the JMXMP protocol for monitoring
by default. The default settings for jconsole.bat are:
- The JMXMP connection
%JAVA_HOME%\bin\jconsole.exe -J-Djava.class.path=%JAVA_HOME% \lib\jconsole.jar;INTERACT_LIB%\interactJMX.jar; INTERACT_LIB% \jmxremote_optional.jar service:jmx:jmxmp://%HOST%:%PORT%
- The RMI connection
%JAVA_HOME%\bin\jconsole.exe -J-Djava.class.path=%JAVA_HOME% \lib\jconsole.jar;INTERACT_LIB%\jmxremote_optional.jar service:jmx:rmi:///jndi/rmi://%HOST%:%PORT%/interact
Procedure
- Open Interact\tools\jconsole.bat (Windows™) or Interact/tools/jconsole.sh (UNIX) in a text editor.
- Set INTERACT_LIB to the full path to the InteractInstallationDirectory/lib directory.
- Set HOST to the host name of the runtime server you want to monitor.
- Set PORT to the port you configured JMX to listen on with the Interact > monitoring > port property.
- Optional: If you are using the RMI protocol for monitoring, add a comment before the JMXMP connection and remove the comment before the RMI connection.