-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
1.0.0-Beta10
-
None
When a EJB contains the <remote> element in the ejb-jar.xml, the jndi-name specified in the jboss.xml is not used for binding. Furthermore, the JNDITree does not contain any bindings for this EJB. The EJB is just ignored from being bound to JNDI.
Attached is the testcase to reproduce this on trunk. After applying this patch(testcase) to the trunk, follow the steps below to run the test:
[jpai@jpai] cd EJB3_TRUNK/testsuite
[jpai@jpai testsuite] mvn clean compiler:testCompile
[jpai@jpai testsuite] ant -f build-test.xml jndibinding
Start JBoss-5.0 GA server and wait for it to start. Set JBOSS_HOME to point to JBossAS-5.0 GA. Once the server is up, run
[jpai@jpai testsuite] ant -f build-test.xml one-test -Dtest=jndibinding