[jboss-user] [JCA/JBoss] - Re: Sybase database pool not claiming used connections

weston.price@jboss.com do-not-reply at jboss.com
Tue Dec 12 14:06:07 EST 2006


Ok, a few things:

1) Enable tracing for the JBossManagedConnectionPool in your log4j.xml configuration file. An example of how to do this already exists in the file, you simply have to uncomment the XML. 

2) Post your *-ds.xml file. 

3) Check the logs for statements such as "CLOSING A CONNECTION FOR YOU..." this indicates that resources are not being closed appropriately in your application code. 

4) Generate a simple test case apart from your application that simply acquires a connection, does something trivial and closes the connection. This will go a long way to separating what might be application code versus the behavior of the pool itself. 



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993152#3993152

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993152



More information about the jboss-user mailing list