Re: Create a JNDI Datasource through JMX

2019-02-04 Thread Arnaud Yahoo
Hello Luis, thanks for your answer. Connection pool exposes an MBean (jmxEnabled is true by default). Using jconsole, I can see pool defined in server configuration or context configuration, but I cannot see neither change properties of existing pool (maxActive for example). Of course I cou

Re: Create a JNDI Datasource through JMX

2019-02-04 Thread Luis Rodríguez Fernández
Hello Arnaud, mmm, nothing stops you from create your custom mbean interface that wraps your datasource. >From Tomcat 8.5 doc "The connection pool object exposes an MBean that can be registered" [1] Perhaps you could start having a look here. Nevertheless may I ask you what is your use case for t