users@glassfish.java.net

Re: N number of remote JMS clients = N number of application servers?

From: Ramesh <Ramesh.Parthasarathy_at_Sun.COM>
Date: Thu, 06 Dec 2007 21:10:33 +0530

Hi,
Could you please share the exception/error you get when you are unable
to connect.
If you can post the code snippet, it would be helpful too.

Yes, you should be able to connect to the JMS provider running in
glassfish from a remote machine.

Thanks
-Ramesh

glassfish_at_javadesktop.org wrote:
> From the glassfish docs under "Running JMS Client Programs on Multiple Systems" -
> "The systems must be visible to each other by name--the UNIX host name or the Microsoft Windows computer name--and must [b]BOTH[/b] be running the Application Server."
>
> Does this apply to stand alone JMS clients too? Or only container managed clients?
>
> Scenario:
> -Glassfish has the administered objects created - ConnectionFactory and Topic.
> -I run multiple instances of a stand alone JMS client locally on the same box as Glassfish - messaging between them works well. I'm only using Glassfish as the JMS provider as the JMS clients are stand alone and are running outside the process space of Glassfish.
>
> Problem:
> If I move one of the JMS clients to a separate machine and reconfigure the params for the JNDI lookup, it cannot connect to the JMS provider.
>
> I'm hoping this is just a silly config issue and not a limitation of Glassfish? The above qoute only applies to J2EE managed components right?
>
> Your answers will be appreciated, thank you.
>
> -PN42
> [Message sent by forum member 'pnguyen42' (pnguyen42)]
>
> http://forums.java.net/jive/thread.jspa?messageID=248739
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>