users@glassfish.java.net

Re: _at_Webservice and JMS _at_Resource

From: Ramesh <Ramesh.Parthasarathy_at_Sun.COM>
Date: Wed, 26 Sep 2007 10:26:32 +0530

Hi,
Please see https://glassfish.dev.java.net/issues/show_bug.cgi?id=2105
This has been fixed in glassfish V2 (9.1) b50

Thanks
-Ramesh


glassfish_at_javadesktop.org wrote:
> Hey all, I'm trying to create a webservice that uses the in-built embedded message queue. Everything works except when using the @Resource annotation with a JNDI reference to the queue and connection factory, both of them are null. Can this kind of resource injection be used within a web service or do I need to use a service locator? Note that when I use the @Resource with a test client application (appclient -client) it works fine. I'm using Sun App. Server 9.0 Update 1.
>
> Thanks,
> Mark
> [Message sent by forum member 'markshure' (markshure)]
>
> http://forums.java.net/jive/thread.jspa?messageID=237066
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>