"wimxa" wrote : I.e. the only option is not using DataSources, but JDBC 
directly. JBoss will always forcibly close the connection. Is there some 
parameter that I can tweak this with?
  | 

The CachedConnectionInterceptor(CCI) in the Interceptor that checks for the 
leaked connections in ejb method calls.You can disable the 
CachedConnectionInterceptor but I would not recommend you that, I would rather 
advice you to refactor the LegacyObject,  you should not pass the connection 
object to the LegacyObject.
The DataSource object should be passed to the LegacyObject instead of the 
connection object.
Check for the CCI at $JBOSS_HOME/server//conf/standardjboss.xml, just uncomment 
it in the appropriate container.
http://www.jboss.org/community/docs/DOC-12682

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189975
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to