Sounds like you are trying to use a connection after you or jboss closed it.
If JBoss closed it you will see a warning on the console.
I have the same problem, My problem was in one part of the code I didn´t close the connection.
I put finally in mine methodos to close the connection and the problem was solved.
Leonardo Barros. - Brazil
Thanks for your reply. Now i am using jboss-3.2.3. I still get the error even though i've closed the connection in finally statement. I have a few sql statements in a method and it seems like jboss closed the connection before the all the queries are being executed. Anyone know why? Pls help. Thanks alot
I have meet the same problem.I have solve it.
before encounter this problem. you probley(?) see a exception "a connection for you. Please close them yourself" in your jboss's server log.
I see a forum in "http://www.jboss.org/index.html?module=bb&op=viewtopic&t=58143&start=0&postdays=postDays&postorder=postOrder&highlight=highlight",