users@glassfish.java.net

Couldn't run Application Client on GFv3.0

From: <glassfish_at_javadesktop.org>
Date: Wed, 07 Apr 2010 07:21:37 PDT

Hi All,

I am coming a crossed the following known issue on running application client with GF 3.0 & 3.1 which has affected almost everyone who has tried (http://forums.java.net/jive/message.jspa?messageID=394132):

[b]java.lang.NullPointerException
        at org.glassfish.appclient.client.acc.ACCLogger$1.run(ACCLogger.java:149)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.glassfish.appclient.client.acc.ACCLogger.reviseLogger(ACCLogger.java:146)
        at org.glassfish.appclient.client.acc.ACCLogger.init(ACCLogger.java:93)
        at org.glassfish.appclient.client.acc.ACCLogger.<init>(ACCLogger.java:80)
        at org.glassfish.appclient.client.AppClientFacade.createBuilder(AppClientFacade.java:360)
        at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:247)
        at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain(AppClientContainerAgent.java:75)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:323)
        at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:338)[/b]
However, the problem persisted despite having added GF 3.1 from nightly built (glassfish-v3_1-b01-01_01_2010.zip). Below are the steps I have carried out to add GF 3.1 into Netbeans:

( i ) Unzipped glassfish-v3_1-b01-01_01_2010.zip to C:\Program Files\glassfishv3.
( ii ) Add C:\Program Files\glassfishv3 as Glassfish v3.1 server in Netbeans.

Could someone confirm whether these are the right steps to include GF 3.1 to Netbeans? Otherwise, provide the correct instruction would be much appreciated.

I am running jdk1.6.0_19, Netbeans 6.8 with bundled (netbeans-6.8-ml-java-windows.exe) GF 3.0 on Windows XP SP3.

Thanks in advance,

Jack
[Message sent by forum member 'htran_888']

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