What version of GlassFish are you using? Can you try the following instead. Declare
this @EJB dependency at the class-level of your servlet :
@EJB(name="AccessBeanRef", mappedName="corbaname:iiop:192.168.10.70:3700#AccessBean",
beanInterface=AccessRemote.class)
public class MyServletClass {
// Then lookup the ejb-ref using the no-arg InitialContext (relative to java:comp/env/)
...
InitialContext ic = new InitialContext();
AccessRemote ejbRef = (AccessRemote) ic.lookup("java:comp/env/AccessBeanRef");
}
[Message sent by forum member 'ksak' (ksak)]
http://forums.java.net/jive/thread.jspa?messageID=353808