users@glassfish.java.net

Re: Standalone client can't connect to EJB with IIOP

From: <glassfish_at_javadesktop.org>
Date: Fri, 11 Dec 2009 09:42:18 PST

The client shouldn't be explicitly loading the jndi.properties within InitialContext. Just use the no-arg InitialContext() constructor, but include appserv-rt.jar in the client's classpath.

https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html#StandaloneRemoteEJB
[Message sent by forum member 'ksak' ]

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