Solved

Error in launching rich client from Glassfish

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
canBalance challenge 34 65
strCount chalenge 3 50
mapBully challenge 6 89
where is session ID cache stored 1 39
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
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.

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now