geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r1080101 - /geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbRefBuilder.java
Date Thu, 10 Mar 2011 01:55:24 GMT
Author: genspring
Date: Thu Mar 10 01:55:24 2011
New Revision: 1080101

URL: http://svn.apache.org/viewvc?rev=1080101&view=rev
Log:
GERONIMO-5828  javax.naming.NotContextException: jndiname when running a tck case

Modified:
    geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbRefBuilder.java

Modified: geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbRefBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbRefBuilder.java?rev=1080101&r1=1080100&r2=1080101&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbRefBuilder.java
(original)
+++ geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbRefBuilder.java
Thu Mar 10 01:55:24 2011
@@ -250,10 +250,7 @@ public class EjbRefBuilder extends Abstr
 
                 // handle external refs
                 if (ejbRefType != null) {
-                    if (ejbRefType.getNsCorbaloc() != null) {
-                        // corba refs are simple delegated back to Geronimo
-                        spec_ejbRef.setMappedName("jndi:java:comp/geronimo/env/" + spec_ejbRef.getEjbRefName());
-                    } else if (ejbRefType.getPattern() != null) {
+                    if (ejbRefType.getPattern() != null) {
                         // external ear ref
                         // set mapped name to the deploymentId of the external ref
                         GerPatternType pattern = ejbRefType.getPattern();



Mime
View raw message