You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by sunwentao <pk...@gmail.com> on 2007/12/07 03:22:50 UTC
The problem of using http connector
I have moved the activemq-optional.jar into the lib\optional\ directory,
added <transportConnector uri="http://localhost:8080"/> in the activemq.xml,
added ActiveMQConnectionFactory connectionFactory = new
ActiveMQConnectionFactory("http://localhost:8080") in client source.
But the console shows:
Caught: javax.jms.JMSException: Could not connect to broker URL:
http://localhost:8080. Reason: java.net.ConnectException: Connection
refused: connect
at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:33)
... ...
So it doesn't work via http. Why? How to fix it? Any help will be greatly
appreciated.
--
View this message in context: http://www.nabble.com/The-problem-of-using-http-connector-tf4959860s2354.html#a14205559
Sent from the ActiveMQ - User mailing list archive at Nabble.com.