• Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS REMOTE CONNECTION Problems  RSS feed

 
Azrael Noor
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to make JMS REMOTE CONNECTION


I am using Glassfish v3.

I followed many tutorials but i am not able to make a remote connection. Please tell me am i going in correct direction:

1) I created administered object (Connection factory and Destination(for QUEUE)).
2) Physical Destination name in administered object destination is same as in Configuration destination name (tQueue is name)

___________

1) I am confused about additional properties(AddressList), how to put and where to put, at client 1(poroducer) or 2(consumer)? What Ip address have i to put mq://host:7676 or any more attribute to be added. And in which additional property i have to put this? in configuration part or JMSresources/ConnectionFactories part

2) in configuration i have changed default local host, ip address of remote system and port 7676 when i Ping it gives connection refused. Don't know why
what settings i have to do on other system to which i am connecting.

I have followed many tutorials, i am not able to get through whole settings, i have done changed and doing all this for last 10 Days.

Please Help!!!Guide me
 
Anand Kumar Singh
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A simple code to connect with JMS server and send message, may be this will help you.


queueSender.send(message);
 
Azrael Noor
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Able to Connected to Remote Server.
Remote Host entry require in JMS Configuration and no more entries are required there

Thank you, Topic Closed
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!