users@glassfish.java.net

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

From: <forums_at_java.net>
Date: Fri, 10 Jun 2011 01:53:21 -0500 (CDT)

I think the right approach is, to generate a "appclient.jar" with the
"package-appclient"-script. This generates a 42.6 MB file. But then i get
this exception, too:

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 ideas?

Daniel


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