| Author |
JMS REMOTE CONNECTION Problems
|
Azrael Noor
Ranch Hand
Joined: Jul 29, 2010
Posts: 369
|
|
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
|
Regards
Azrael Noor
|
 |
Anand Kumar Singh
Greenhorn
Joined: Oct 18, 2007
Posts: 22
|
|
A simple code to connect with JMS server and send message, may be this will help you.
queueSender.send(message);
|
SCJP 5, SCWCD 5, SCBCD 5,
SCEA 5,
OCUP Fundamental,
OCUP Intermediate,
OCUP Advanced,
IBM Certified Solution Designer - Object Oriented Analysis and Design, vUML 2
|
 |
Azrael Noor
Ranch Hand
Joined: Jul 29, 2010
Posts: 369
|
|
Able to Connected to Remote Server.
Remote Host entry require in JMS Configuration and no more entries are required there
Thank you, Topic Closed
|
 |
 |
|
|
subject: JMS REMOTE CONNECTION Problems
|
|
|