users@glassfish.java.net

Re: com.sun.enterprise.appclient.UserError: Appclient main-class not found

From: <glassfish_at_javadesktop.org>
Date: Mon, 06 Sep 2010 08:06:43 PDT

Jack,

I can't think of any reason that the behavior of GlassFish v2.1 would change.

Did you verify that the appclient command used to launch had not changed? Do you use the -mainclass option or do you rely on the app client JAR's manifest Main-Class setting to indicate the main class of the client? If you rely on the manifest, it is as you expect? Is the main class actually in the app client JAR or in some other JAR along the class path?

- Tim
[Message sent by forum member 'tjquinn']

http://forums.java.net/jive/thread.jspa?messageID=481981