This content has been marked as final.
Show 3 replies
-
1. Re: servlet looking up EJB...NameNotBound
jmoring Mar 24, 2002 12:52 PM (in response to ccuilla)I think the ejb-link name needs to match the JNDI name. Try changing either one so they match and see if that works.
-
2. Re: servlet looking up EJB...NameNotBound
ccuilla Mar 25, 2002 12:37 PM (in response to ccuilla)hmmm...strangely this works under JBoss, but it does not work under ATG Dynamo. Argghhh!
Which is correct here? Anyone know? -
3. Re: servlet looking up EJB...NameNotBound
adrian.brock Mar 25, 2002 1:05 PM (in response to ccuilla)Your original method is correct.
JBoss2.4.4 is wrong.
<ejb-link> specifies the beans <ejb-name> not
its <jndi-name>
As a workaround, specify
<ejb-link> with the bean's name
but add
<jndi-name> to jboss-web.xml
This is fixed in jboss3.0
if your report it as a bug on sourceforge, it might
get fixed for jboss2.4.5 as well.
Regards,
Adrian