Hi,

I have a spring web application which is deployed on Tomcat. I added the
configuration for the AjaxServlet  in the web.xml but am getting this error
on starting the server:-

SEVERE: Servlet.service() for servlet AjaxServlet threw exception
java.lang.IllegalStateException: !(Jetty || Servlet 3.0 ||
ContinuationFilter)
        at
org.eclipse.jetty.continuation.ContinuationSupport.getContinuation(ContinuationSupport.java:145)

Please help.

Thanks alot
jaskaran


My web xml config:

    <context-param>
        <param-name>org.apache.activemq.brokerURL</param-name>
        <param-value>tcp://localhost:61616</param-value>
    </context-param>
    <context-param>
        <param-name>org.apache.activemq.embeddedBroker</param-name>
        <param-value>false</param-value>
    </context-param>
    <servlet>
      <servlet-name>AjaxServlet</servlet-name>
      <servlet-class>org.apache.activemq.web.AjaxServlet</servlet-class>
      <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>AjaxServlet</servlet-name>
        <url-pattern>/amq/*</url-pattern>
    </servlet-mapping>
    <filter>
      <filter-name>session</filter-name>
      <filter-class>org.apache.activemq.web.SessionFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>session</filter-name>
      <url-pattern>/*</url-pattern>
    </filter-mapping>

--
View this message in context: 
http://activemq.2283324.n4.nabble.com/ActiveMQ-5-5-Ajax-with-Tomcat-tp3671718p3671718.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to