webstart problems with Glassfish v2ur2 and JDK 6u7

View: New views
10 Messages — Rating Filter:   Alert me  

webstart problems with Glassfish v2ur2 and JDK 6u7

by glassfish-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I tried to install a java web start application on the latest stable JDK (JDK 6 update 7) and Glassfish (v2ur2) but the application won't start:


java.lang.ClassNotFoundException: com.sun.enterprise.appclient.MainWithModuleSupport
        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:218)
        at com.sun.enterprise.appclient.jws.boot.JWSACCMain.main(JWSACCMain.java:182)
        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)



When temorary file support is disabled it starts without error.
Also it runs with JDK 6 update 6 normally with enabled file cache.

Is it a common problem with JDK 6u7?

Thanks,
Peter
[Message sent by forum member 'epnomis' (epnomis)]

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: webstart problems with Glassfish v2ur2 and JDK 6u7

by glassfish-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have the same problem, with exactly the same conditions.
Everything worked with Java 6u6.
With 6u7 I keep getting the same exception.
Application Client can be started with temporary file support disabled.

I suppose it's a problem with Java 6u7 (probably with WS, since everything else seems to work fine).

Also, web start works fine with java application which are not Enterprise Application Clients.
[Message sent by forum member 'site12345' (site12345)]

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: webstart problems with Glassfish v2ur2 and JDK 6u7

by glassfish-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is a bit troubling.

I will look into this as soon as I can - I hope later today - and report what I find.

- Tim
[Message sent by forum member 'tjquinn' (tjquinn)]

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: webstart problems with Glassfish v2ur2 and JDK 6u7

by glassfish-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Same problem here, after a lot of researching I moved back to u6 and everything started to work fine again.
What concerns me is that Java auto update will install u7 everywhere. Tried copying javaws.jar from u6 to u7 but no luck... Maybe there are some other jars we can copy over as an emergency workaround.
[Message sent by forum member 'guigouz' (guigouz)]

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: webstart problems with Glassfish v2ur2 and JDK 6u7

by glassfish-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am seeing the same issue with Java SE 6 update 7.

I suspect that Java Web Start has changed something about the way it handles class loading which is causing this problem with GlassFish app clients but not with "regular" Java Web Start apps.

I'm in the process of investigating how we can resolve this. In the meantime, as folks here have reported, using update 6 is a workaround...if an awkward one.

More later.

- Tim
[Message sent by forum member 'tjquinn' (tjquinn)]

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: webstart problems with Glassfish v2ur2 and JDK 6u7

by glassfish-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This problem could be somewhat related to this bug filed against Java Web start in Java SE 6 update 7:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6725426

The GlassFish Java Web Start feature makes use of a similar sort of method on the Java Web Start class loader, to locate a downloaded JAR file.  In update 7 Java Web Start is no longer returning the expected JarFile instance, as it was in update 6.  I need to investigate some more to see exactly where the change is.

- Tim
[Message sent by forum member 'tjquinn' (tjquinn)]

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: webstart problems with Glassfish v2ur2 and JDK 6u7

by glassfish-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have opened this issue

https://glassfish.dev.java.net/issues/show_bug.cgi?id=5374

for this problem.  I'm currently looking at some options for fixing this.  Please refer to the issue for later notes on this.

- Tim
[Message sent by forum member 'tjquinn' (tjquinn)]

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: webstart problems with Glassfish v2ur2 and JDK 6u7

by glassfish-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for your efforts, Tim.

Waiting for the fix...

Thanks,
Peter
[Message sent by forum member 'epnomis' (epnomis)]

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: webstart problems with Glassfish v2ur2 and JDK 6u7

by glassfish-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Voted for the bug at sun, hope the others also do so. This is critical to us (we're hoping java's autoupdate won't run on many clients).
[Message sent by forum member 'guigouz' (guigouz)]

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: webstart problems with Glassfish v2ur2 and JDK 6u7

by Dennis Gesker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tim:

Thank you for working on this issue.

I noticed that this issue remainswith jdk/jre6_10RC and have added a comment to https://glassfish.dev.java.net/issues/show_bug.cgi?id=5374.


Also, I noticed from an earlier post in this thread that http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6725426 is related to this bug and is marked as "11-Closed, Will Not Fix, bug."

Does this mean that we are out of luck on https://glassfish.dev.java.net/issues/show_bug.cgi?id=5374?

In the mean time is there an option that can be added to the sun-application-client.xml file to ensure that the client has jre6_06 installed and does not try to launch the application with anything higher than jre6_06?

Dennis


On Thu, Jul 24, 2008 at 8:36 AM, <glassfish@...> wrote:
I have opened this issue

https://glassfish.dev.java.net/issues/show_bug.cgi?id=5374

for this problem.  I'm currently looking at some options for fixing this.  Please refer to the issue for later notes on this.

- Tim
[Message sent by forum member 'tjquinn' (tjquinn)]

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...




--
Dennis R. Gesker
email: dennis@...
Key Id: 0x267D3FE8
First things first, but not necessarily in that order. -- Unknown
LightInTheBox - Buy quality products at wholesale price