This section describes how to enable JMX in configuration manager. Via JMX you can see the configuraton you loaded, check exact path of where it was loaded from and when it was loaded, reload configuration and even adjust the properties for some of the configuration.
Configuration manager will automatically connect to system JMX if you
jmx='true' like in the example below:
<?xml version="1.0" encoding="UTF-8" ?> <configurationManager key="Sample App1 Configuration" jmx="true"> ... </configurationManager>
When starting your application add a runtime value as described below:
@TODO:!! get the correct option for this!!
java -Dcom.sun.management.jmxremote ... and while your application is running run the
jconsole.exe that is distributed with JDK 1.5 and above.