I am stymied with a jndi problem; can anyone shed some light on it or forward it to someone who may be able to help me?
Context: in a J2ee application, I have three layers in the EJB container: Session EJB => ModelDomain object (pojo) => Entity EJB.
To access an Entity EJB from Domain Model, it needs the Local Home of the ejb; it does a context lookup to get it.
The name it looks up (in the jndi server) must be established as a Reference in the Session EJB that calls the particular Domain Model object.
I've created that reference in the Session EJB deployment descriptor file and see it in there. But it doesn't appear that the wizard of builder or whatever handles this ever actually registers it with the jndi. (In WSAD 5.1.2 when you do this same step, the ejb local ref includes an id when it is bound : <ejb-local-ref id="EJBLocalRef_1253792978067"> ). In RAD7.5, it does not include such an id.
The result is that when the program runs, the Domain Model throws an exception:
Naming Error in ModelDomainUser.getLocalHome.JNDI lookup: Name comp/env/ejb not found in context "java:".
How can I force the Session Reference wizard to actually bind the reference in the jndi?
Can anyone see anything else that might be going wrong here?