tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pid *" <...@pidster.com>
Subject Re: What is the best way to view Tomcat JDBC pool properties in Tomcat 6?
Date Thu, 08 Mar 2012 05:46:02 GMT
On 8 Mar 2012, at 02:26, hodgesz <hodgesz@gmail.com> wrote:

> In 6.0.29 we used the Spring MBeanExporter to export the Tomcat JDBC pool
> properties.
>
> We are still able to view them with this approach in JConsole and using the
> JMXProxy Servlet with Tomcat 7.
>
> However since Tomcat JDBC pool is part of Tomcat 7 are its properties
> exposed without using the Spring MBeanExporter?

Depends how you define the pool.
If you define it as a container Resource in server.xml or context.xml
then Tomcat takes care of the registration with the MBeanServer.

If you programmatically create the pool in your application then it's
up to you - which is what you're doing with Spring.


p




> --
> View this message in context: http://tomcat.10.n6.nabble.com/What-is-the-best-way-to-view-Tomcat-JDBC-pool-properties-in-Tomcat-6-tp4557182p4557182.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message