JMSException: error creating socket connection to null
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sandro_Magno
Posted On:   Saturday, July 17, 2004 02:35 AM

I am using a subscriber ( on a Linux PC) to be connected to a jms router ( running on another Linux PC). I am having the following error message : javax.jms.JMSException: error creating socket connection to null:4001. Please note that on the PC, where the router runs, there 4 network cards and each one has its own IP and name. Each PC is connected to dns and each name is resolved. SO I do not understand the error message. If i use the connectaddress= this will bind one the IP addresses. Can you help me ? Thank you    More>>

I am using a subscriber ( on a Linux PC) to be connected to a jms router ( running on another Linux PC).


I am having the following error message :




javax.jms.JMSException: error creating socket connection to null:4001.


Please note that on the PC, where the router runs, there 4 network cards and each one has its own IP and name.




Each PC is connected to dns and each name is resolved.
SO I do not understand the error message.




If i use the connectaddress= this will bind one the IP addresses.


Can you help me ?
Thank you

   <<Less

Re: JMSException: error creating socket connection to null

Posted By:   Andreas_Mueller  
Posted On:   Saturday, July 17, 2004 11:32 AM

You could print toString() of the connection factory you use. It will display the host name to connect to.
About | Sitemap | Contact