Database Reference
In-Depth Information
When you enable JMX using the -j setting in eXist, it disables JMX
authentication and does not transport JMX over SSL. Thus, this
approach should be used only in a secure, controlled environment!
It is perfectly possible to use eXist's JMX with authentication and
SSL. For details of the JVM options, refer to the JMX documenta‐
tion and make the necessary changes to either $EXIST_HOME/bin/
batch.d/check_jmx_status.bat on Windows, or
$EXIST_HOME/bin/functions.d/jmx-settings.sh on other platforms.
You can then connect using any JMX client, such as the simple command-line client
provided with eXist or JConsole (which is provided with your JDK and shown in
Figure 15-1 ). The eXist documentation for JMX is itself very reasonable, and rather
than reproduce it here, we recommend you consult it for further information.
Figure 15-1. Connecting to eXist's JMX server using JConsole
When you are browsing eXist with JConsole, it is not always obvi‐
ous how to view the monitoring information. As Figure 15-2
shows, you need to select the collection of attributes from the navi‐
gation tree under the service that you are interested in.
 
Search WWH ::




Custom Search