activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ConDev <nileshkaw...@yahoo.com>
Subject Problem connecting to the broker using java clients host name
Date Wed, 21 Jul 2010 00:20:20 GMT

Hi All,
 I am using activemq 5.2 & 5.3.1. When my java client tries to connect to
the broker using tcp, I get the following error message on windows XP.

 Caused by: java.net.ConnectException: Connection refused: connect
                at java.net.PlainSocketImpl.socketConnect(Native Method)
                at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
                at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
                at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
                at
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
                at java.net.Socket.connect(Socket.java:525)
                at
org.apache.activemq.transport.tcp.TcpTransport.connect(TcpTransport.java:435)
                at
org.apache.activemq.transport.tcp.TcpTransport.doStart(TcpTransport.java:401)
                at
org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:53)
                at
org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57)
                at
org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57)
                at
org.apache.activemq.transport.WireFormatNegotiator.start(WireFormatNegotiator.java:72)
                at
org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57)
                at
org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57)
                at
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:260)


 If I use the local host name in the broker url as lower case name then the
client connects to the broker but when I use the local host name as upper
case
the connection fails. Is the local host name in the connection URL case
sensitive ? Or am I overlooking something very basic ?
Can anybody help me with this please ?

Thanks
-- 
View this message in context: http://old.nabble.com/Problem-connecting-to-the-broker-using-java-clients-host-name-tp29220839p29220839.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Mime
View raw message