In order to provide metrics for monitoring, the Talend Runtime container or Tomcat Web application container must be configured for remote JMX access.
Note
The Talend Runtime container of the Talend ESB installation is already configured.
For a Tomcat web application server, you must set an environment variable when starting it:
CATALINA_OPTS="-Dcom.sun.management.jmxremote \ -Dcom.sun.management.jmxremote.port=6969 \ -Dcom.sun.management.jmxremote.ssl=false \ -Dcom.sun.management.jmxremote.authenticate=false" export CATALINA_OPTS
This can be defined in a file:
set CATALINA_OPTS=...
On Linux, this is set at the beginning of catalina.sh
On Windows, it is set in catalina.bat
.
Warning
To create MBeans that collect statistics about CXF services, you first need to make an invocation on the CXF service which registers the MBeans. Without that step, Hyperic HQ will not find metrics, as MBeans does not exist.