users@glassfish.java.net

lookup problem

From: <glassfish_at_javadesktop.org>
Date: Sat, 15 Nov 2008 10:55:16 PST

Hi Everybody,I have to lookup from a standalone Client, my server is Glassfish v3 prelude,
every thing I can get as far with Eclipse 3.4.1 is:
javax.naming.NameNotFoundException: No object bound for java:comp/env [Root exception is java.lang.NullPointerException]
        at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:224)
        at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:396)
        at javax.naming.InitialContext.lookup(InitialContext.java:409)
        at TestDs.main(TestDs.java:28)
Caused by: java.lang.NullPointerException
        at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:173)
        ... 3 more
Exception in thread "main" java.lang.NullPointerException
        at TestDs.main(TestDs.java:38)
can someone help me please.
[Message sent by forum member 'arpho' (arpho)]

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