users@glassfish.java.net

Problem in connecting to JMS Queue through remote client

From: <glassfish_at_javadesktop.org>
Date: Tue, 05 Aug 2008 07:52:39 PDT

I am facing problem in connecting to JMS Queue through remote client. It is failing while doing look up of the connection factory. I am able to send and receive messages on queue if I am running the client on the same m/c on which glassfish server is running. Can anybody help me on this issue.

Some of the logs of the error i am getting:-

Aug 5, 2008 9:07:21 AM com.sun.messaging.jms.ra.ResourceAdapter start
INFO: MQJMSRA_RA1101: SJSMQ JMS Resource Adapter starting...
Aug 5, 2008 9:07:21 AM com.sun.messaging.jmq.jmsclient.ExceptionHandler throwConnectionException
WARNING: [C4003]: Error occurred on connection creation [PC1111:7676]. - cause: java.net.UnknownHostException: PC1111
Aug 5, 2008 9:08:01 AM com.sun.messaging.jms.ra.ResourceAdapter start
SEVERE: MQJMSRA_RA4001: start:Aborting:JMSException on createConnection=[C4003]: Error occurred on connection creation [PC1111:7676]. - cause: java.net.UnknownHostException: PC1111
....................................
com.sun.messaging.jms.JMSException: [C4003]: Error occurred on connection creation [PC1111:7676]. - cause: java.net.UnknownHostException: PC1111
        at com.sun.messaging.jmq.jmsclient.ExceptionHandler.throwConnectionException(ExceptionHandler.java:274)
...................................
JNDI lookup failed: javax.naming.CommunicationException: serial context communication ex [Root exception is com.sun.enterprise.connectors.ConnectorRuntimeException: Failed to start resource adapter : MQJMSRA_RA4001: start:Aborting:JMSException on createConnection=[C4003]: Error occurred on connection creation [PC1111:7676]. - cause: java.net.UnknownHostException: PC1111]
[Message sent by forum member 'amardeepsingh' (amardeepsingh)]

http://forums.java.net/jive/thread.jspa?messageID=291605