users@glassfish.java.net

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

From: <glassfish_at_javadesktop.org>
Date: Thu, 27 Dec 2007 07:05:20 PST

I got the same problem here, but the solution was:

1) put your CustomerCMP-ejb.jar on the same directory where is your CustomerCMP-app-client.jar.

2) execute: appclient.bat -client CustomerCMP-app-client.jar

It tries to find a customer on ID 99999, it does not exist. Swap to your NB, open the database and insert a new customer with that Id and try again the last command.

Regards,
Alisson Patrick
[Message sent by forum member 'alispat' (alispat)]

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