Solved

Error in launching rich client from Glassfish

Posted on 2009-06-30
2
311 Views
Last Modified: 2013-11-24
          Hi!

I developed a Enterprice Application Client with one Frame to open and added it to my Enterprice Application.
I deploy to  GlassFish v2ur2 on Linux and when I launch the client from an url i get this error

java.lang.ClassNotFoundException: com.sun.enterprise.appclient.MainWithModuleSupport
      at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:247)
      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(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.sun.javaws.Launcher.executeApplication(Launcher.java:1321)
      at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1267)
      at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1066)
      at com.sun.javaws.Launcher.run(Launcher.java:116)
      at java.lang.Thread.run(Thread.java:619)

What is missing ?

Regards,
   Tomas Helgi
0
Comment
2 Comments
 
LVL 4

Accepted Solution

by:
Tuno85 earned 500 total points
ID: 24749280
I think it's related to this bug:

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

I would suggest downgrading Java SE 6 update 6, if you use Java SE 6 update 7 and up.
And check the bug time to time.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
matchUp  challenge 9 110
My project did see openJDK that I installed. What could be the problem 7 143
custom annotations 9 39
mysql jsp example issue 32 38
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question