[jboss-cvs] JBossAS SVN: r81920 - projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/connectionmanager.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Dec 1 15:30:32 EST 2008
Author: wolfc
Date: 2008-12-01 15:30:32 -0500 (Mon, 01 Dec 2008)
New Revision: 81920
Modified:
projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/connectionmanager/CachedConnectionInterceptorFactory.java
Log:
EJBTHREE-1606: fixed regression on res-url resources
Modified: projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/connectionmanager/CachedConnectionInterceptorFactory.java
===================================================================
--- projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/connectionmanager/CachedConnectionInterceptorFactory.java 2008-12-01 19:58:07 UTC (rev 81919)
+++ projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/connectionmanager/CachedConnectionInterceptorFactory.java 2008-12-01 20:30:32 UTC (rev 81920)
@@ -51,6 +51,9 @@
String jndiName = resRef.getJndiName();
if(jndiName == null)
jndiName = resRef.getResolvedJndiName();
+ // for res-url resources
+ if(jndiName == null)
+ continue;
int i = jndiName.indexOf(':');
if(jndiName.charAt(i + 1) == '/')
i++;
More information about the jboss-cvs-commits
mailing list