Hi!
joel cordonnier wrote:
> - (1) when I deploy the session bean, I have the
> message:
> [Container Factory] Binding CabinBean to internal JNDI
> source: null
> (CabinHome is the <ejb-name> of my entity bean
> referenced in the ejb-jar.xml file session bean)
In the ejb-ref, have you provided the ejb-link field, with a value of
"CabinHome"?
BTW, it is receommended to bind to "ejb/CabinBean".
It is also recommended that you don't change name from "CabinHome" to
"CabinBean", since that is somewhat confusing. I would also recommend
that you drop "Home" and "Bean" since these words add little value.
> - (2) Then, when I call
> 'jndiContext.lookup("java:comp/env/CabinBean)' an
> exception is raised, because 'CabinBean' can't be
> located.
>
> The 'lookup' failed because of (1) ?
I would guess that your ejb-jar.xml file is incorrect.
/Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]