From: Adrian B. <ej...@us...> - 2004-12-14 19:21:12
|
User: ejort Date: 04/12/14 11:21:05 Modified: src/resources Tag: Branch_4_0 server-50.xml Log: Restore the example cached connection manager valve to its former glory. Revision Changes Path No revision No revision 1.16.2.2 +6 -4 jboss-tomcat/src/resources/Attic/server-50.xml Index: server-50.xml =================================================================== RCS file: /cvsroot/jboss/jboss-tomcat/src/resources/Attic/server-50.xml,v retrieving revision 1.16.2.1 retrieving revision 1.16.2.2 diff -u -r1.16.2.1 -r1.16.2.2 --- server-50.xml 30 Nov 2004 06:20:21 -0000 1.16.2.1 +++ server-50.xml 14 Dec 2004 19:21:04 -0000 1.16.2.2 @@ -111,11 +111,13 @@ debug="0"/> --> - <!-- Uncomment to check for unclosed connections in servlets/jsps. If - this is enabled there should be a dependency in the tomcat jboss-service.xml - on jboss.jca:service=CachedConnectionManager + <!-- Uncomment to check for unclosed connections and transaction terminated checks + in servlets/jsps. + Important: You need to uncomment the dependency on the CachedConnectionManager + in META-INF/jboss-service.xml <Valve className="org.jboss.web.tomcat.tc5.jca.CachedConnectionValve" - cachedConnectionManagerObjectName="jboss.jca:service=CachedConnectionManager" /> + cachedConnectionManagerObjectName="jboss.jca:service=CachedConnectionManager" + transactionManagerObjectName="jboss:service=TransactionManager" /> --> <!-- Default context parameters --> |