[jboss-cvs] JBossAS SVN: r74142 - trunk/testsuite/src/main/org/jboss/test/ejb3/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Jun 5 10:34:48 EDT 2008
Author: scott.stark at jboss.org
Date: 2008-06-05 10:34:47 -0400 (Thu, 05 Jun 2008)
New Revision: 74142
Modified:
trunk/testsuite/src/main/org/jboss/test/ejb3/test/SimpleSessionUnitTestCase.java
Log:
workaround ignored mappedName
Modified: trunk/testsuite/src/main/org/jboss/test/ejb3/test/SimpleSessionUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/ejb3/test/SimpleSessionUnitTestCase.java 2008-06-05 14:33:56 UTC (rev 74141)
+++ trunk/testsuite/src/main/org/jboss/test/ejb3/test/SimpleSessionUnitTestCase.java 2008-06-05 14:34:47 UTC (rev 74142)
@@ -50,7 +50,10 @@
throws Exception
{
InitialContext ctx = getInitialContext();
- Object ref = ctx.lookup("ejb3/basic/SimpleSessionBean/remote");
+ // TODO after proxy factory updates, this should be using the mappedName
+ // String jndiName = "ejb3/basic/SimpleSessionBean/remote"
+ String jndiName = "SimpleSessionBean/remote";
+ Object ref = ctx.lookup(jndiName);
SimpleSession test = (SimpleSession) ref;
test.ping();
}
More information about the jboss-cvs-commits
mailing list