Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Error in launching rich client from Glassfish

Posted on 2009-06-30
2
Medium Priority
?
320 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 2000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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.

604 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