tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: [Tomcat JDBC Pool] Close pooled connections via JMX
Date Mon, 05 Mar 2012 17:31:23 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brooke,

On 3/4/12 4:57 PM, Brooke Hedrick wrote:
> Everyone - the feedback is great, but it still is just working
> around the elimination of a jmx call, if that is the case.
> 
> Why is the jmc close() method being eliminated?

Maybe I missed something... why do you think that the close() method
is being eliminated? As of 7.0.25, it's still in there.

Note that calling close() will kill the DataSource, not reset it.
You'll still have to figure out how to create a new one in its place
and register it. It sounds like what you really want to do is request
a new "recycle" method available through JMX that just closes and
re-opens all connections in the pool.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9U+GsACgkQ9CaO5/Lv0PAAJwCfbsk8rZUXLOBJQ8+v1TwcpQ+M
f80An3QsKn9rtBBPlVf5FPe+6PUvPlZa
=jOzd
-----END PGP SIGNATURE-----

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


Mime
View raw message