-
1. Re: Exception: javax.naming.NameNotFoundException
juha Aug 9, 2002 5:27 PM (in response to terence)> 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?
Yes.
> - 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.
-- Juha -
2. Re: Exception: javax.naming.NameNotFoundException
terence Aug 10, 2002 5:32 AM (in response to terence)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?