Server Bundle Monitoring
There is currently very little in the way of monitoring in the server bundle, although that will change over time.
Tomcat
Tomcat allows remote monitoring and management via JMX, but this is not (yet) configured in the server bundle.
TBD: Link to Tomcat JMX configuration
Derby
TBD
MySQL?
TBD
Hibernate
Cosmo deploys the Hibernate statistics JMX MBean, so you can connect to the Tomcat JMX server and monitor interesting Hibernate statistics. Currently, the JMX service on tomcat
is only configured to run locally. You can connect using the
jconsole tool provided in the JDK.
- start jconsole on the machine running Cosmo
- choose the Tomcat process from the list of local processes and click "connect"
- navigate to MBeans-->cosmo-->hibernate
Cosmo Server Status Page
See
CosmoMonitoring for a discussion of the server status page included with it. In the server bundle, the URI for the server status page is
/cosmo/status.
A future version of the server bundle will likely include its own server status page with JVM and servlet container level statistics in the root webapp.