This content has been marked as final.
Show 2 replies
-
1. Re: Set JNDI location for EJB 3.0 Bean in jboss-4.2.1.GA
wolfgangknauf Nov 23, 2009 8:03 AM (in response to mjremijan)Hi,
ejb-jar.xml: I think you have to use "business-local" instead of "local". "local" is for EJB 2.1 beans, while "business-local" is for 3.0. With JBoss 4.2, I think both versions work, but in 5.0 this will no longer work. Probably, someone at JBoss misunderstood the spec and this was changed later ;-).
jboss.xml: you need "local-jndi-name" for you local interface, not "jndi-name". This might be the reason for your error.
Hope this helps
Wolfgang -
2. Re: Set JNDI location for EJB 3.0 Bean in jboss-4.2.1.GA
mjremijan Nov 24, 2009 8:30 AM (in response to mjremijan)Thanks! Making these changes worked.