> Exception: javax.naming.NameNotFoundException:
> MyTestingEJB not bound body
> My queries :
> - Does JBoss 3.0, comes preconfigured with a JNDI
> naming service which starts up automatically when
> JBoss server starts up?
> - In JBoss 3.0, how do I bind the an EJB to a JNDI
> name? What descriptor files must I set up?
By default the <ejb-name> is used as the JNDI name. You can override this behavior in jboss.xml file.
> - Any idea why I got the above exception and how to
> resolve it?
Probably something wrong with the deployment descriptor configuration, and you end up doing a lookup on the wrong name.
Thanks, but stil doesn't work.
Must I set up the web-client.xml and/or jboss-web.sml for the servlet to call the ejb? I am new to JBoss. I am an idea of jboss.xml but what do above two descriptor files do in JBoss?