Re: How to make database connection pool show in JMX

2018-01-25 Thread Pawel Veselov
Keiichi, On Thu, Jan 25, 2018 at 1:48 AM, Keiichi Fujino wrote: > > Hi > > The Docs of jdbc-pool describe like this. > == > If you're running outside of a container, you can register the DataSource > yourself under any object name you specify, and it propagates the > registration to the underlyin

Re: How to make database connection pool show in JMX

2018-01-25 Thread Keiichi Fujino
Hi The Docs of jdbc-pool describe like this. == If you're running outside of a container, you can register the DataSource yourself under any object name you specify, and it propagates the registration to the underlying pool. To do this you would call mBeanServer.registerMBean(dataSource.getPool().

How to make database connection pool show in JMX

2018-01-23 Thread Pawel Veselov
Hello. I'd like to get some JMX stats out of the JDBC connection pools. But they don't seem to register in JMX, even though they are based on ConnectionPoolMBean. I do create the pools programmatically, by binding the factory into the JNDI, the creation snippet is copied below. When I search for