• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

JMS REMOTE CONNECTION Problems

 
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic