Solved

Error in launching rich client from Glassfish

Posted on 2009-06-30
2
312 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

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…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
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.

830 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