users@glassfish.java.net

Re: Glassfish and Application Client deployment

From: <glassfish_at_javadesktop.org>
Date: Fri, 08 Jun 2007 10:29:23 PDT

Hi there

Frustration getting less. After Re-Installing the full 9 yards jdk 5 b 12 netbeans 55 and GF-V2-48 the launch feature seems to take me further than before, but still not to the end.

If i Deploy the application described above in this post and launch it, the application is loaded but then when i should get an empty Frame i get this

java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at com.sun.enterprise.appclient.jws.boot.JWSACCMain.run(JWSACCMain.java:218)
        at com.sun.enterprise.appclient.jws.boot.JWSACCMain.main(JWSACCMain.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.sun.javaws.Launcher.executeApplication(Unknown Source)
        at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
        at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
        at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
        at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
        at com.sun.javaws.Launcher.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:392)
        ... 17 more
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:266)
        at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:381)
        ... 17 more
Caused by: java.lang.NoClassDefFoundError: javax/swing/GroupLayout$Group
        at testclient.Main.main(Main.java:26)
        ... 23 more


I thought the server sends everything it needs to start the application, or did i simply forget something?


Thanks so far, if we move this stone you have made another Web-start-fan :-)

Kerry
[Message sent by forum member 'hauspost' (hauspost)]

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