activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: How to configure HTTP transport in ActiveMQ
Date Mon, 31 Dec 2007 17:15:09 GMT
Have you got the activemq-optional.jar on your classpath?

On 30/12/2007, Mani.. <manishgupta_mca@hotmail.com> wrote:
>
> 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.
>
>


-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Mime
View raw message