You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Manisha Sapiah <ms...@opentext.com> on 2016/07/01 04:18:34 UTC

Viewing Tomcat DB connection statement cache size via JMX MBeans

Hi,

I want to know, is there any way to get Tomcat DB connection statement cache size via JMX MBeans. Thanks in advance.

Manisha

Re: Viewing Tomcat DB connection statement cache size via JMX MBeans

Posted by Keiichi Fujino <kf...@apache.org>.
2016-07-01 13:18 GMT+09:00 Manisha Sapiah <ms...@opentext.com>:

> Hi,
>
> I want to know, is there any way to get Tomcat DB connection statement
> cache size via JMX MBeans. Thanks in advance.
>
>
Which DB Connnection Pool do you use? DBCP or Tomcat jdbc-pool.
If you use the Tomcat jdbc-pool, such a feature does not exist.
The StatementCache Interceptor does not have MBean information.
If you need this feature, it needs to implement the MBean for
StatementCache Interceptor.



> Manisha
>
> --
> Keiichi.Fujino
>