[jboss-cvs] JBossAS SVN: r112529 - branches/JBPAPP_5_1_1_GA_JBPAPP-7798/connector/src/main/org/jboss/resource/connectionmanager.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Dec 20 17:31:20 EST 2011


Author: jbertram
Date: 2011-12-20 17:31:20 -0500 (Tue, 20 Dec 2011)
New Revision: 112529

Modified:
   branches/JBPAPP_5_1_1_GA_JBPAPP-7798/connector/src/main/org/jboss/resource/connectionmanager/ManagedConnectionFactoryDeployment.java
Log:
JBPAPP-7789

Modified: branches/JBPAPP_5_1_1_GA_JBPAPP-7798/connector/src/main/org/jboss/resource/connectionmanager/ManagedConnectionFactoryDeployment.java
===================================================================
--- branches/JBPAPP_5_1_1_GA_JBPAPP-7798/connector/src/main/org/jboss/resource/connectionmanager/ManagedConnectionFactoryDeployment.java	2011-12-20 22:23:46 UTC (rev 112528)
+++ branches/JBPAPP_5_1_1_GA_JBPAPP-7798/connector/src/main/org/jboss/resource/connectionmanager/ManagedConnectionFactoryDeployment.java	2011-12-20 22:31:20 UTC (rev 112529)
@@ -861,6 +861,14 @@
          }
          else
          {
+            if ("false".equals(SecurityActions.getSystemProperty("recover-connection-validation")))
+            {
+               if (log.isDebugEnabled())
+                  log.debug("Recovery connection validation is disabled.  Forcing recreate of managed connection.");
+
+               return true;
+            }
+
             Method method = null;
             try
             {



More information about the jboss-cvs-commits mailing list