"zibi101" wrote : As far as I can gather you have to fire events (and set connectionHandle property) to inform container that you want to free managedConnection from client connection and enable the container to put it into pool. Earlier get an listener through addConnectionEventListener method of course.
Thanks for taking the time to respond. I have implemented the listener interface and do send out the close notifications. This causes the connection to be released back in to the pool. However, what I want is something different. If I have created one managed connection, and lets assume it is not in the Container's pool. I have two concurrent getConnection() requests from two clients. I want to share this single ManagedConnection with both those clients - i.e. have two Connection instances reference the same ManagedConnection instance. JBoss only allows me to use a ManagedConnection if there is no active logical connections associated with it. I want the oposite..... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898941#3898941 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3898941 ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user