users@glassfish.java.net

Re: classpath for remote client - tomcat --> glassfish-3.1

From: <forums_at_java.net>
Date: Thu, 9 Jun 2011 10:22:07 -0500 (CDT)

I tried to zip all classes of the jar-files listed in Manifes.MF of
gf-client.jar. But after that i get get a NullpointerException:

java.lang.NullPointerException
    at
com.sun.enterprise.naming.impl.SerialContext.<init>(SerialContext.java:276)
    at
com.sun.enterprise.naming.impl.SerialContext.<init>(SerialContext.java:335)
    at
com.sun.enterprise.naming.impl.SerialInitContextFactory.createInitialContext(SerialInitContextFactory.java:358)
    at
com.sun.enterprise.naming.impl.SerialInitContextFactory.getInitialContext(SerialInitContextFactory.java:353)
    at
com.sun.enterprise.naming.SerialInitContextFactory.getInitialContext(SerialInitContextFactory.java:69)
    at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:197)

Any ohter suggestions?

Thanks
Daniel
 


--
[Message sent by forum member 'dniklas']
View Post: http://forums.java.net/node/810872