User development,
A new message was posted in the thread "[CachedConnectionManager] Closing a
connection for you":
http://community.jboss.org/message/531121#531121
Author : Mike Finn
Profile :
http://community.jboss.org/people/mikefinnx
Message:
--------------------------------------------------------------
It's likely not the issue here, but you should always put your closes of resources in
finally{}. If you get an exception thrown before your stmt.close(), the closes will never
happen.
Something like -
finally
{
try { stmt.close(); } catch (Exception e) {}
try { conn.close(); } catch (Exception e) {}
}
Mike
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/531121#531121