users@glassfish.java.net

Re: Problem with MDB example

From: <glassfish_at_javadesktop.org>
Date: Mon, 01 Jun 2009 04:51:00 PDT

This may not help very much, but this is why that message can appear.

The GlassFish app client container (ACC) opens the client file specified on the appclient command in order to load and execute the app client. The message means that the ACC can open the file as a JAR, but that it does not recognize it as either an appclient JAR or an EAR that contains an app client.

Given that it is opening MDBappclient.jar, the ACC is probably not finding the Main-Class setting in MDBappclient.jar's manifest nor the META-INF/application-client.xml file in the JAR.

Did the previous steps in the build work without error?

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

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