How to monitor applications with JConsole if they are started from admin gui or running as Window NT service?
book
Article ID: KB0087314
calendar_today
Updated On:
Products
Versions
TIBCO Runtime Agent (TRA)
-
Not Applicable
-
Description
Resolution: Add the following properties to the application tra files: -------------------------------------------------------------------- Jmx.Enabled=true java.property.com.sun.management.jmxremote=true java.property.com.sun.management.jmxremote.port=<port#> java.property.com.sun.management.jmxremote.authenticate=false java.property.com.sun.management.jmxremote.ssl=false --------------------------------------------------------------------
For non-NT-service applications, just restart your application. For NT-service applications, you have to use wrap.exe to uninstall and re-install your NT-service after changing your tra files.
Please note, JConsole can not detect TIBCO product automatically if applications are started from Admin GUI or running as NT-service but can be monitored as remote processes by providing <host-name>:<port-number> in JConsole.
Issue/Introduction
How to monitor applications with JConsole if they are started from admin gui or running as Window NT service?