Solved

Error in launching rich client from Glassfish

Posted on 2009-06-30
2
314 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
word0 challenge 3 118
starter POM and spring-boot-starter,  spring-boot-web 2 80
servlet web applications   metadata-complete="true" or false 3 299
runtime exception 2 64
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 last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
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.

739 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