activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: class not found org.apache.activemq.web.MessageServlet
Date Fri, 23 Feb 2007 15:37:38 GMT
You need to add activemq-web.jar to your classpath/WAR

On 2/23/07, pandi79 <pandiarajan.jeeva@wipro.com> wrote:
>
> Hi,
>
> I am doing some POC to use REST HTTP options.
>
> I've given servlet mapping entries below :
>
> <transportConnectors>
>        <transportConnector name="openwire" uri="tcp://localhost:61616"
> discoveryUri="multicast://default"/>
>        <transportConnector name="ssl"     uri="ssl://localhost:61617"/>
>        <transportConnector name="stomp"   uri="stomp://localhost:61613"/>
>         <transportConnector name="http" uri="http://localhost:9090"/>
>
>
>     </transportConnectors>
>
>     <networkConnectors>
>       <!-- by default just auto discover the other brokers -->
>       <networkConnector name="default-nc" uri="multicast://default"/>
>       <!--
>       <networkConnector name="host1 and host2"
> uri="static://(tcp://host1:61616,tcp://host2:61616)" failover="true"/>
>       -->
>     </networkConnectors>
>     <servlet>
> <servlet-name>MessageServlet</servlet-name>
> <servlet-class>org.apache.activemq.web.MessageServlet</servlet-class>
> <load-on-startup>1</load-on-startup>
> </servlet>
> <servlet-mapping>
> <servlet-name>MessageServlet</servlet-name>
> <url-pattern>/queue</url-pattern>
> </servlet-mapping>
>
>
>
> When I try to start the broker, it throws the error saying that class not
> found exception for the class org.apache.activemq.web.MessageServlet . Has
> anyone know where can I download the same?.
>
> I am using 4.1.0 version.
>
>
> Also please share your idea about  how to put & get the message using http
> url . Any entires to be added in activemq.xml for this one?.
>
>
>
> --
> View this message in context: http://www.nabble.com/class-not-found-org.apache.activemq.web.MessageServlet-tf3279389s2354.html#a9120575
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message