users@glassfish.java.net

Re: problem with running ejb client

From: <glassfish_at_javadesktop.org>
Date: Fri, 16 Jan 2009 07:12:32 PST

I get this error:

javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.lookup(Unknown Source)
at com.webage.client.TestClient.runTest (TestClient.java:16)
at com.webage.client.TestClient.main (TestClient.java:24)
[Message sent by forum member 'freeq1986' (freeq1986)]

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