I found that a lot of people had the same problems before, but
I can not find solutions to my problems. Please help.

In my stateful session bean, I use JDBC to connect to Cloudscape database.
I got the following error at run time(I tried on both Jboss 3.2.6 and 4.0.1):
Connection handle has been closed and is unusable

I noticed the messages at console before the above error:
[CachedConnectionManager] Closing a connection for you

In my code, I set Auto Commit to false after getting the connection, so that I 
can re-use the same connection for the multiple queries. 
However, Jboss CachedConnectionManager still closed it for me. 
Is there a way to tell CachedConnectionManager NOT to close the connection when 
AutoCommit is false?

Thanks.

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to