users@glassfish.java.net

JNDI StandAlone Client V3 Error

From: <glassfish_at_javadesktop.org>
Date: Wed, 07 Apr 2010 11:56:52 PDT

I've a application (built by maven), using EJB 3 and now migrations for glassfish v3, the migration is ok, but my stand alone client not work anymore, in v2 i'm use the mappedName for custom JNDI name, but in v3, JNDI have changes for names, and using the FAQ i'm migrating the JNDI do access, such as "java:global/Application-ear/Application-ejb-2.1/MyEJB" but this not work, a
 javax.naming.NamingException: Unable to acquire SerialContextProvider for SerialContext

and the root is a NullPointerException
java.lang.NullPointerException
        at com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:297)

I'm can't rum my application using gf-client in the glassfish_dir, this is out of container, and the glassfish run in a server.

What I'm doing wrong?

regards
[Message sent by forum member 'felix_rafael']

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