[jboss-cvs] JBossAS SVN: r105801 - branches/JBPAPP_5_1/connector/src/main/org/jboss/resource/connectionmanager.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jun 8 08:56:03 EDT 2010


Author: jesper.pedersen
Date: 2010-06-08 08:56:02 -0400 (Tue, 08 Jun 2010)
New Revision: 105801

Modified:
   branches/JBPAPP_5_1/connector/src/main/org/jboss/resource/connectionmanager/TxConnectionManager.java
Log:
Use JNDI info as fallback for EIS info

Modified: branches/JBPAPP_5_1/connector/src/main/org/jboss/resource/connectionmanager/TxConnectionManager.java
===================================================================
--- branches/JBPAPP_5_1/connector/src/main/org/jboss/resource/connectionmanager/TxConnectionManager.java	2010-06-08 12:26:21 UTC (rev 105800)
+++ branches/JBPAPP_5_1/connector/src/main/org/jboss/resource/connectionmanager/TxConnectionManager.java	2010-06-08 12:56:02 UTC (rev 105801)
@@ -505,7 +505,15 @@
                // Ignore
             }
 
-            log.trace("Generating XAResourceWrapper for TxConnectionManager" + this);
+            if (eisProductName == null)
+               eisProductName = getJndiName();
+
+            if (eisProductVersion == null)
+               eisProductVersion = getJndiName();
+
+            if (trace)
+               log.trace("Generating XAResourceWrapper for TxConnectionManager" + this);
+
             xaResource = new XAResourceWrapperImpl(mc.getXAResource(), padXid, isSameRMOverrideValue, eisProductName, eisProductVersion);
          }
          



More information about the jboss-cvs-commits mailing list