Kategorien
Software-Entwicklung Java

Accessing JDBC Data Source metrics from an application on a Weblogic Server

I recently felt the need for accessing the metrics / statistics of a JDBC Data Source from within an application that is deployed on a Oracle Weblogic Server. I did not succeed right away, so I document it here. Basically we just need some calls to JMX. Using the Weblogic RuntimeServiceMBean we navigate from ServerRuntime…