[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Closing a connection for you problem JBOSS 4.2.2

jamesjmp do-not-reply at jboss.com
Wed Mar 12 10:42:41 EDT 2008

I am using JBoss 4.2.2 with jdbc3.(jcon3.jar)
For some operations that access a database I have this error:

  | 2008-03-12 13:14:53,653 INFO  [org.jboss.resource.connectionmanager.CachedConnectionManager] Closing
  |  a connection for you.  Please close them yourself: org.jboss.resource.adapter.jdbc.WrappedConnectio
  | n at 3324df

I found a previous post in this forum link.

So according to that I have added to my -ds.xml the following:
  | <track-statements>false</track-statements> 

And now it seems not to happen, at least as far as I have tested.
I ask again because my JBoss version is the JBoss 4.2.2 and I wonder if this is something that should be fixed.

By the way, before moving to jdbc3 I did not have this problem.
Maybe is there some problem with 4.2.2. and jdbc3? some configuration issue I have skipped?
What puzzles me is that it only happens with certain database accesses, not all the time.
thanks in advance!

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

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

More information about the jboss-user mailing list