users@glassfish.java.net

Re: Web Start Mustang

From: Tim Quinn <Timothy.Quinn_at_Sun.COM>
Date: Wed, 10 May 2006 06:59:39 -0500

Hello, Ignacio.

This is the same result I got using Mustang on my system. I will look
into this to see what is going on inside.

- Tim

Ignacio Goyeneche wrote:
> Thanks for your tip in debugging the start of the application.
>
> I started Mustang with trace enabled and I got this trace:
>
> Error attempting to launch JWSACCMain.main
> java.lang.reflect.InvocationTargetException
> at java.awt.EventQueue.invokeAndWait(Unknown Source)
> at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
> at
> com.sun.enterprise.appclient.jws.boot.JWSACCMain.main(JWSACCMain.java:109)
>
> 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.doLaunchApp(Unknown Source)
> at com.sun.javaws.Launcher.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.RuntimeException:
> java.lang.ClassNotFoundException: com.sun.enterprise.appclient.Main
> at
> com.sun.enterprise.appclient.jws.boot.JWSACCMain.run(JWSACCMain.java:150)
> at java.awt.event.InvocationEvent.dispatch(Unknown Source)
> at java.awt.EventQueue.dispatchEvent(Unknown Source)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source)
> Caused by: java.lang.ClassNotFoundException:
> com.sun.enterprise.appclient.Main
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> at
> com.sun.enterprise.appclient.jws.boot.JWSACCMain.run(JWSACCMain.java:142)
> ... 8 more
>
> Looking at the jnlp I saw that there are two resources marked as
> extensions to the main jar appserv-jwsacc.jar:
> <extension
> href="http://localhost:8080/__JWSappclients/__appclient/syga/cliente/main-ext.jnlp"
> name="mainext"/>
> <extension
> href="http://localhost:8080/__JWSappclients/__appclient/syga/cliente/client-client.jnlp"
> name="appclient"/>
> I donīt know if this extension mechanism has changed in Mustang, the
> client works with Java 1.5 but not with 1.6.
> It seems to download less jars in 1.6.
>
> Any more ideas?
>
> Thanks,
> Ignacio
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>