File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes JMS REMOTE CONNECTION Problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS REMOTE CONNECTION Problems" Watch "JMS REMOTE CONNECTION Problems" New topic
Author

JMS REMOTE CONNECTION Problems

Azrael Noor
Ranch Hand

Joined: Jul 29, 2010
Posts: 378
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: 378
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.
 
subject: JMS REMOTE CONNECTION Problems
 
Similar Threads
MDB listening to external MQ in Glassfish
Posting to JMS Remote Queue
sloowwwww Reverse DNS lookup
very basic question about JMS hosts
how to configurate foreign server to reach a cluster, thanks a lot.