activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mani.." <manishgupta_...@hotmail.com>
Subject How to configure HTTP transport in ActiveMQ
Date Sun, 30 Dec 2007 09:23:00 GMT

Hi,

My name is Manish Gupta and I am trying to write a JMS program using
HTTP/HTTPS transport connector but I am not able to do it and getting error
as

Exception------------------------>javax.jms.JMSException: Could not create
Transport. Reason: java.io.IOException: Transport scheme NOT recognized:
[http]
javax.jms.JMSException: Could not create Transport. Reason:
java.io.IOException: Transport scheme NOT recognized: [http]
	at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:35)
	at
org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveMQConnectionFactory.java:235)
	at
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:248)
	at
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:220)
	at
org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:168)
	at
com.agilent.ipcore.common.CommonJMSProvider.createConnection(CommonJMSProvider.java:57)
	at
com.agilent.ipcore.common.CommonJMSProvider.<init>(CommonJMSProvider.java:18)
	at
com.agilent.ipcore.master.adaptor.SubscriberMaster.startConsuming(SubscriberMaster.java:36)
	at
com.agilent.ipcore.master.adaptor.SubscriberMaster.main(SubscriberMaster.java:71)
Caused by: java.io.IOException: Transport scheme NOT recognized: [http]
	at
org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)
	at
org.apache.activemq.transport.TransportFactory.findTransportFactory(TransportFactory.java:167)
	at
org.apache.activemq.transport.TransportFactory.connect(TransportFactory.java:73)
	at
org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveMQConnectionFactory.java:233)
	... 7 more
Caused by: java.io.IOException: Could not find factory class for resource:
META-INF/services/org/apache/activemq/transport/http
	at
org.apache.activemq.util.FactoryFinder.doFindFactoryProperies(FactoryFinder.java:92)
	at
org.apache.activemq.util.FactoryFinder.newInstance(FactoryFinder.java:52)
	at
org.apache.activemq.util.FactoryFinder.newInstance(FactoryFinder.java:42)
	at
org.apache.activemq.transport.TransportFactory.findTransportFactory(TransportFactory.java:164)
	... 9 more

Can any body tell me how to resolve this prob. 

Mani....
-- 
View this message in context: http://www.nabble.com/How-to-configure-HTTP-transport-in-ActiveMQ-tp14545406s2354p14545406.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Mime
View raw message