[jboss-cvs] JBossAS SVN: r111924 - in trunk/testsuite/src: resources/web/simple-xmlonly and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Aug 3 22:43:03 EDT 2011


Author: smcgowan at redhat.com
Date: 2011-08-03 22:43:02 -0400 (Wed, 03 Aug 2011)
New Revision: 111924

Modified:
   trunk/testsuite/src/main/org/jboss/test/web/servlets/ENCTester.java
   trunk/testsuite/src/resources/web/simple-xmlonly/jboss-web.xml
Log:
JBAS-8834 - ENC test case fixes

Modified: trunk/testsuite/src/main/org/jboss/test/web/servlets/ENCTester.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/web/servlets/ENCTester.java	2011-08-04 02:30:28 UTC (rev 111923)
+++ trunk/testsuite/src/main/org/jboss/test/web/servlets/ENCTester.java	2011-08-04 02:43:02 UTC (rev 111924)
@@ -117,7 +117,7 @@
    private void testEjbRefs(Context initCtx, Context myEnv) throws NamingException
    {
       //do lookup on bean specified without ejb-link
-      Object ejb = initCtx.lookup("ejb/bean3");
+      Object ejb = initCtx.lookup("java:comp/env/ejb/bean3");
       if ((ejb instanceof StatelessSessionHome) == false)
          throw new NamingException("ejb/bean3 is not a StatelessSessionHome");
       log.debug("ejb/bean3 = " + ejb);

Modified: trunk/testsuite/src/resources/web/simple-xmlonly/jboss-web.xml
===================================================================
--- trunk/testsuite/src/resources/web/simple-xmlonly/jboss-web.xml	2011-08-04 02:30:28 UTC (rev 111923)
+++ trunk/testsuite/src/resources/web/simple-xmlonly/jboss-web.xml	2011-08-04 02:43:02 UTC (rev 111924)
@@ -40,7 +40,7 @@
    </ejb-ref>
    <ejb-ref>
       <ejb-ref-name>ejb/CtsBmp</ejb-ref-name>
-      <jndi-name>jbosstest/ejbs/CtsBmp</jndi-name>
+      <jndi-name>ejbcts/BMPBean</jndi-name>
    </ejb-ref>
    
    <ejb-local-ref>



More information about the jboss-cvs-commits mailing list