users@glassfish.java.net

Re: an EJB2.1 stateless session bean with remote and local interface -- how

From: <glassfish_at_javadesktop.org>
Date: Fri, 11 Jan 2008 21:25:20 PST

Thanks, that makes it clearer.
While we wait for Marina's response I'd like to keep open the possibility that it is not me who is mistaken :)

I wonder why you store the Helper class with the bean and not with the servlet, but that should not be a problem.
I do have two suggestions:
- According to the DD you copied & pasted here you put the ejb-ref and ejb-local-ref tags in your ejb-jar.xml. Please move them to the web.xml.
- Please remove the sun-xxx.xml files if possible because you seem to have specified JNDI names in them that might clash with the ejb-link tag. (I don't know if and how they work together).

If your complete EAR (including the classes) is not too big, I don't mind trying it on my machine to investigate why the lookup fails.
[Message sent by forum member 'dkoper' (dkoper)]

http://forums.java.net/jive/thread.jspa?messageID=253523