This content has been marked as final.
Show 1 reply
-
1. Re: Disable connection tracking in JBoss 5.1
mp911de Jun 22, 2011 1:25 PM (in response to ejb3workshop)Hi Alexander,
you need to look in five places:
- deploy/jbossweb.sar/server.xml: remove org.jboss.web.tomcat.service.jca.CachedConnectionValve (default at the end of the file)
- deploy/jbossweb.sar/META-INF/jboss-beans.xml: remove <depends>jboss.jca:service=CachedConnectionManager</depends>
- deploy/ejb3-interceptors-aop.xml: remove <interceptor factory="org.jboss.ejb3.connectionmanager.CachedConnectionInterceptorFactory" scope="PER_CLASS"/> and <interceptor-ref name="org.jboss.ejb3.connectionmanager.CachedConnectionInterceptorFactory"/>
- deployers/ejb-deployer-jboss-beans.xml: remove <property name="cachedConnectionManagerName">jboss.jca:service=CachedConnectionManager</property>
- conf/standardjboss.xml: remove all <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
If you want, you could also remove CachedConnectionManager in deploy/jca-jboss-beans.xml, but i'm not sure, what other services rely on this service. The notification is always a hint, that you move away from standard behavior....
Best regards,
Mark