users@glassfish.java.net

Re: Unable to connect to remote JMS service using connection factory resource

From: Joe Jordan <joe.glassfish_at_psychlaw.com.au>
Date: Thu, 20 Mar 2008 00:11:13 +1000

Thanks Ramesh, that is working nicely.

I still need to fiddle with the connector-connection-pool (e.g. by
setting the UserName or Password property) before it will work
without a domain restart. If I restart the domain after creating the
connection factory resource, all is well even without the
properties. This is the case regardless of whether I restart the
domain after setting the jms-service type to LOCAL. C'est la vie.

Cheers,
Joe


On 19/03/2008, at 8:06 PM, Ramesh Parthasarathy wrote:
> Hi Joe,
> Please see Issue 3462
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=3462
>
> Change your jms-service type to LOCAL (default being EMBEDDED) as a
> workaround, and restart your server.
> Admin console -
> Configurations -> <your configuration> -> Java Message Service ->
> Type:
>
> This issue would be fixed in V2.1
>
> Thanks
> -Ramesh
>
> Joe Jordan wrote:
>> Heya folks,
>> I am having a trouble getting Glassfish v2ur1 to talk to a remote
>> JMS (OpenMQ) service consistently.
>> The issue is detailed here, along with a test webapp and script
>> demonstrating the problem:
>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=4437
>> To summarise:
>> create-jms-resource --restype javax.jms.ConnectionFactory --
>> property 'AddressList=localhost\:7677' jms/RemoteConnectionFactory
>> # remote JMS not working yet - messages are delivered to embedded
>> broker instead
>> set server.resources.connector-connection-pool.jms/
>> RemoteConnectionFactory.property.Password=guest # remote JMS is
>> now working
>> stop-domain
>> start-domain
>> # remote JMS no longer working - messages again being delivered to
>> embedded broker
>> Can anyone comment on this? Is anyone successfully talking to a
>> remote OpenMQ broker using the jmsra resource adapter and
>> connection factory resource in this way? What am I doing wrong,
>> if anything?
>> Cheers,
>> Joe Jordan
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>