[jboss-user] [JCA/JBoss] - Re: Dedicated connection without connection pooling

vickyk do-not-reply at jboss.com
Mon Feb 18 01:46:41 EST 2008


anonymous wrote :  We are not calling the connection.close() explicitly , but JBoss is trying to call the close connection and throwing the below exception. 
The CacheConnectionValve is closing the connections for you , the message you are seeing is not the error .
 org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) 

If you don't close the connections yourself your application will land up with leaked connections thus making the system unresponsive due to unavailability of the connections.

You can remove the CacheConnectionValue configuration from the  tomcat service.xml file , but make sure that your application does close the connections properly .
http://wiki.jboss.org/wiki/Wiki.jsp?page=CanJBossTellMeWhenIDontCloseAConnection



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

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



More information about the jboss-user mailing list