I have used the Minerva classes (jboss.jar) to do connection pooling in my Tomcat app, outside of the scope of jBoss.  As of jBoss pr3, I was able to create a JDBCPoolDataSource, get connections from it, use and then close the connections.  All was well.
 
As of the jBoss pr4 and on up, the connections seem to be handed off from JDBCPoolDataSource as closed.  IOW, when I get a connection from JDBCPoolDataSource, the connection is closed and any attempt to use the connection throws an exception.
 
I am just doing a normal close on the connection.  My assumption was that this just returned the connection to the pool.  Is this not what is happening?  How should I release a connection obtained by JDBCPoolDataSource?
 
Note that I am not actually running jboss in this scenario, just using the Minerva classes from the jboss.jar.
 
TIA for any help,
 
Bill Pfeiffer

Reply via email to