users@glassfish.java.net

Re: Sample Customer CMP: not working with glassfish v2 bundled with netbean

From: <glassfish_at_javadesktop.org>
Date: Thu, 13 Dec 2007 18:23:57 PST

I probably should have made one other thing clear earlier...

Be sure that the JAR you specify on the appclient command is the one that GlassFish generated during deployment of the EAR and not the app client JAR you built.

You can retrieve the generated JAR either at the time you deploy the EAR (using either the admin GUI or the asadmin deploy --retrieve option) or after you deploy using the asadmin get-client-stubs command (slightly misnamed).

The other thing you might try is to use jar tf CustomerCMP-app-client.jar to see exactly what is in that JAR and make sure it contains what you expect.

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

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