Child pages
  • Monitoring of database connections via jmx
Skip to end of metadata
Go to start of metadata

Servoy 6.1 support datasource monitoring via jmx.

To enable connecting to the jmx bean of ApplicationServer a java option needs to be added to the startup commands:
-Dcom.sun.management.jmxremote

Application server exposes mbeans in the jmx domain name com.servoy.datasource.

For each enabled/active data server a bean is exposed with the configuration details
There is also a GaugeMonitor per server (NumActiveMonitor_) to monitor active connections and get notifications when limits are passed.
The limits can be modified via the attributes.
Notifications are pushed to the jmx client.

The jmx interface can be used with any jmx client.
Java comes with a simple jmx client, called jconsole, this is a simple gui to configure the attributes and shwo the monitoring data.

  • No labels