[jboss-user] [JCA/JBoss] - Re: Message DB + Oracle database connection count problems
do-not-reply at jboss.com
Thu Jul 26 11:44:27 EDT 2007
The AvailableConnections is actually the number of permits available to enter the pool.
Its not necessarily the same thing as the checked out connections
though it should be pretty similar and only transiently different.
If you can't reproduce the problem (with a test) or give logging then there's little more
I can do.
Even the CachedConnectionManager is not necessarily accurate since it uses a WeakHashMap (to avoid potential memory leaks).
i.e. If you don't close a connection handle and it gets
garbage collected then it will disappear from that information.
You could try changing that class to use a normal HashMap.
The potential memory leak is really bogus since if the connection is not getting removed
from the map you've a more serious connection leak.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067875#4067875
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067875
More information about the jboss-user