users@glassfish.java.net

Re: Problem connecting to Session EJB from application client

From: <glassfish_at_javadesktop.org>
Date: Thu, 16 Aug 2007 19:15:27 PDT

Hi.

Is the app client bundled with the EJBs into an EAR?

What file exactly are you launching with appclient? You should be sure to use the generated app client JAR that GlassFish generates when you deploy the application, because it contains more than just what is contained in the app client built by NetBeans (or packaged manually by the developer).

I'm not sure whether the NetBeans build log will point to the generated app client JAR file. If it does not, you can use the

asadmin get-client-stubs <deployed-app-name>

command to retrieve the generated app client JAR file to a directory of your choosing and then launch that file using the appclient script.

Please try that and let us know if that works any better.

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

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