users@glassfish.java.net

Re: Unable to lookup JMS Objects through JNDI

From: Sivakumar Thyagarajan <Sivakumar.Thyagarajan_at_Sun.COM>
Date: Tue, 28 Aug 2007 11:14:37 +0530

Please see my [sivakumart] response at
http://forum.java.sun.com/thread.jspa?threadID=599421&messageID=3205339
or
step 3 of
https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html#StandaloneRemoteEJB

These entries has all the details for looking up JMS resources from a
stand-alone java client.

Basically, to recap, {as-install}/lib/install/applications/jmsra/imqjmsra.jar,
/lib/appserv-admin.jar, /imq/lib/imq.jar and /lib/appserv-rt.jar needs to be
made available to the java client's classpath.

The glassfish doc at
https://glassfish.dev.java.net/nonav/javaee5/docs/DG/beakt.html#beali
has to be updated with the right information and I have raised bug 6392836 for
that and that should be fixed soon.

Thanks
--Siva.

glassfish_at_javadesktop.org wrote:
> I agree, this is less than perfect.
>
> The appclient script tells us that classpath should be:
>
> JVM_CLASSPATH="$AS_INSTALL/lib/appserv-rt.jar":"$AS_INSTALL/lib/javaee.jar":"$AS_INSTALL/lib/jmac-api.jar":"$AS_INSTALL/lib/appserv-ext.jar":$WEB
> SERVICES_CLASSPATH:"$AS_INSTALL/lib/appserv-cmp.jar":"$AS_INSTALL/lib/appserv-admin.jar":"$AS_INSTALL/lib/install/applications/jmsra/imqjmsra.jar
> ":"$AS_IMQ_LIB/fscontext.jar":"$AS_INSTALL/lib/dtds":"$AS_INSTALL/lib/schemas"
>
> Why don't you (please) try having it thus?
>
> Your current venture fails to find ResourceAdapter class that is in /lib/install/applications/jmsra/imqjmsra.jar.
>
> Thanks,
> Kedar
> [Message sent by forum member 'km' (km)]
>
> http://forums.java.net/jive/thread.jspa?messageID=232816
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>