users@glassfish.java.net

Fwd: Attempting to invoke embedded GF via Web Start...

From: Rajeev Angal <Rajeev.Angal_at_Sun.COM>
Date: Mon, 25 Aug 2008 07:59:10 -0700

[ Is users_at_embedded-glassfish.dev.java.net active? Tried sending the
enclosed question, but it didnt show in the archives - posting again
on this list ].


Begin forwarded message:

> From: Rajeev Angal <Rajeev.Angal_at_Sun.COM>
> Date: August 24, 2008 8:52:52 PM PDT
> To: users_at_embedded-glassfish.dev.java.net
> Subject: Attempting to invoke embedded GF via Web Start...
>
>
> First of congratulations to the GF team on the early releases of
> embedded GF - looking forward to more.
>
> Things are working great in standalone mode.
>
> Just for kicks I wrapped all classes in a single war and added a
> JNLP file to start opensso.war via web start.
>
> I get the following error:
>
> [ I understand this may not be in your focus area at the moment, in
> that case please ignore this note.....but just in case I am missing
> something simple let me know ]
>
> QuickStart started.....new AppServer(28080)
> QuickStart fatal error :org.glassfish.embed.EmbeddedException:
> java.io.IOException: Failed to read jar:http://localhost:58080/qs/lib/openssoquickstart.jar!/META-INF/inhabitants/default
> org.glassfish.embed.EmbeddedException: java.io.IOException: Failed
> to read jar:http://localhost:58080/qs/lib/openssoquickstart.jar!/META-INF/inhabitants/default
> at org.glassfish.embed.AppServer.start(AppServer.java:443)
> at org.glassfish.embed.AppServer.<init>(AppServer.java:189)
> at com.sun.identity.QuickStart.main(QuickStart.java:15)
> 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:585)
> at com.sun.javaws.Launcher.executeApplication(Launcher.java:1281)
> at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1219)
> at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1066)
> at com.sun.javaws.Launcher.run(Launcher.java:105)
> at java.lang.Thread.run(Thread.java:613)
> Caused by: java.io.IOException: Failed to read jar:http://localhost:58080/qs/lib/openssoquickstart.jar!/META-INF/inhabitants/default
> at
> org
> .glassfish
> .embed
> .impl.ProxyModuleDefinition.readFully(ProxyModuleDefinition.java:105)
> at
> org
> .glassfish
> .embed.impl.ProxyModuleDefinition.<init>(ProxyModuleDefinition.java:
> 76)
> at
> org
> .glassfish
> .embed.impl.ProxyModuleDefinition.<init>(ProxyModuleDefinition.java:
> 68)
> at org.glassfish.embed.AppServer.start(AppServer.java:424)
> ... 11 more
> Caused by: java.io.EOFException
> at java.io.DataInputStream.readFully(DataInputStream.java:178)
> at java.io.DataInputStream.readFully(DataInputStream.java:152)
> at
> org
> .glassfish
> .embed
> .impl.ProxyModuleDefinition.readFully(ProxyModuleDefinition.java:98)
> ... 14 more
>