users@glassfish.java.net

Re: How to access GlassFish from

From: <noreply_at_java.net>
Date: Mon, 08 Nov 2010 07:15:57 -0800

Are you following the EJB FAQ at
https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html ?  I know you are
trying to connect to a JMS queue but the look-up technique is the same for
EJBs and queues.

It's a well-known issue that the footprint of all the JARs referenced,
directly or indirectly, from gf-client.jar is large and unwieldy, and if you
follow the FAQ directions that's what you're faced with.

The Class-Path setting in gf-client.jar provides all the JARs that a java EE
application client would need.  That's more than what you need, but I am not
sure exactly what subset will work for you given that you are using JMS and
naming.  There might be other posts that discuss this in more detail.

- Tim

 


--
[Message sent by forum member 'tjquinn']
View Post: http://forums.java.net/node/713592