[jboss-cvs] JBossAS SVN: r66111 - in trunk/ejb3/src: test/org/jboss/ejb3/test/naming/unit and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Oct 14 20:15:51 EDT 2007


Author: ALRubinger
Date: 2007-10-14 20:15:50 -0400 (Sun, 14 Oct 2007)
New Revision: 66111

Modified:
   trunk/ejb3/src/resources/test/naming/META-INF/jboss1.xml
   trunk/ejb3/src/test/org/jboss/ejb3/test/naming/unit/ENCUnitTestCase.java
Log:
Reverted changes made to accommodate EJBTHREE-1062; should not be required to satisfy the issue

Modified: trunk/ejb3/src/resources/test/naming/META-INF/jboss1.xml
===================================================================
--- trunk/ejb3/src/resources/test/naming/META-INF/jboss1.xml	2007-10-14 16:04:41 UTC (rev 66110)
+++ trunk/ejb3/src/resources/test/naming/META-INF/jboss1.xml	2007-10-15 00:15:50 UTC (rev 66111)
@@ -8,7 +8,7 @@
     <enterprise-beans>
         <session>
             <ejb-name>ENCBean</ejb-name>
-            <jndi-name>ENCBean/remote</jndi-name>
+            <jndi-name>ENCBean</jndi-name>
 
             <resource-ref>
                 <res-ref-name>jdbc/DefaultDS</res-ref-name>
@@ -36,7 +36,7 @@
         </session>
          <session>
             <ejb-name>ENCBean0</ejb-name>
-            <jndi-name>ENCBean0/remote</jndi-name>
+            <jndi-name>ENCBean0</jndi-name>
         </session>
         <session>
             <ejb-name>ENCBean1</ejb-name>

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/naming/unit/ENCUnitTestCase.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/naming/unit/ENCUnitTestCase.java	2007-10-14 16:04:41 UTC (rev 66110)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/naming/unit/ENCUnitTestCase.java	2007-10-15 00:15:50 UTC (rev 66111)
@@ -55,7 +55,7 @@
       SecurityAssociation.setPrincipal(new SimplePrincipal("jduke"));
       SecurityAssociation.setCredential("theduke".toCharArray());
       
-      TestENC bean = (TestENC)getInitialContext().lookup("ENCBean/remote");
+      TestENC bean = (TestENC)getInitialContext().lookup("ENCBean");
       getLog().debug("Created ENCBean");
       bean.accessENC();
       bean.remove();
@@ -71,7 +71,7 @@
       SecurityAssociation.setPrincipal(new SimplePrincipal("jduke"));
       SecurityAssociation.setCredential("theduke".toCharArray());
       
-      TestENC bean = (TestENC)getInitialContext().lookup("ENCBean0/remote");
+      TestENC bean = (TestENC)getInitialContext().lookup("ENCBean0");
       getLog().debug("Created ENCBean0");
       bean.accessENC();
       bean.remove();




More information about the jboss-cvs-commits mailing list