[Jboss-cvs] JBossAS SVN: r55240 - branches/Branch_4_0/tomcat/src/resources

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Aug 4 14:36:19 EDT 2006


Author: dimitris at jboss.org
Date: 2006-08-04 14:36:15 -0400 (Fri, 04 Aug 2006)
New Revision: 55240

Modified:
   branches/Branch_4_0/tomcat/src/resources/jboss-service-all.xml
   branches/Branch_4_0/tomcat/src/resources/jboss-service.xml
   branches/Branch_4_0/tomcat/src/resources/server.xml
Log:
JBAS-3242, enable CachedConnectionValve by default so web container aborts any active txn at the end of a request

Modified: branches/Branch_4_0/tomcat/src/resources/jboss-service-all.xml
===================================================================
--- branches/Branch_4_0/tomcat/src/resources/jboss-service-all.xml	2006-08-04 18:30:41 UTC (rev 55239)
+++ branches/Branch_4_0/tomcat/src/resources/jboss-service-all.xml	2006-08-04 18:36:15 UTC (rev 55240)
@@ -160,9 +160,9 @@
       <depends>jboss:service=TransactionManager</depends>
       
       <!-- Only needed if the org.jboss.web.tomcat.tc5.jca.CachedConnectionValve
-      is enabled in the tomcat server.xml file
+      is enabled in the tomcat server.xml file.
+      -->
       <depends>jboss.jca:service=CachedConnectionManager</depends>
-      -->
    </mbean>
 
 </server>

Modified: branches/Branch_4_0/tomcat/src/resources/jboss-service.xml
===================================================================
--- branches/Branch_4_0/tomcat/src/resources/jboss-service.xml	2006-08-04 18:30:41 UTC (rev 55239)
+++ branches/Branch_4_0/tomcat/src/resources/jboss-service.xml	2006-08-04 18:36:15 UTC (rev 55240)
@@ -164,10 +164,10 @@
       <depends>jboss:service=TransactionManager</depends>
       
       <!-- Only needed if the org.jboss.web.tomcat.tc5.jca.CachedConnectionValve
-      is enabled in the tomcat server.xml file
+      is enabled in the tomcat server.xml file.
+      -->
       <depends>jboss.jca:service=CachedConnectionManager</depends>
-      -->
+      
    </mbean>
 
 </server>
-

Modified: branches/Branch_4_0/tomcat/src/resources/server.xml
===================================================================
--- branches/Branch_4_0/tomcat/src/resources/server.xml	2006-08-04 18:30:41 UTC (rev 55239)
+++ branches/Branch_4_0/tomcat/src/resources/server.xml	2006-08-04 18:36:15 UTC (rev 55240)
@@ -148,15 +148,15 @@
             <Valve className="org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn" />
             -->
          
-         
-            <!-- Uncomment to check for unclosed connections and transaction terminated checks
+            <!-- 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
+                 
+                 Important: The dependency on the CachedConnectionManager
+                 in META-INF/jboss-service.xml must be uncommented, too
+            -->
             <Valve className="org.jboss.web.tomcat.tc5.jca.CachedConnectionValve"
                 cachedConnectionManagerObjectName="jboss.jca:service=CachedConnectionManager"
                 transactionManagerObjectName="jboss:service=TransactionManager" />
-            -->
 
          </Host>
 




More information about the jboss-cvs-commits mailing list