activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From viji <v...@fedoraproject.org>
Subject AjaxServlet on Tomcat
Date Thu, 16 Jun 2011 08:03:30 GMT
Hi,

I am trying to deploy the AjaxServlet in tomcat (7.0.14). It seems like this
is specifically written for jetty as the MessageListnerServlet is using
jetty classes. Is there way to use this is tomcat?

I have done all the configs mentioned in the document, but when I add the
jetty jar to the classpath getting the following exception.

<snip>
HTTP Status 500 - 
<HR size="1" noshade="noshade"><p>type Exception report</p><p>message
<u></u></p><p>description <u>The server encountered an internal
error ()
that prevented it from fulfilling this request.</u></p><p>exception
<pre>java.lang.IllegalStateException: Not supported.
	org.apache.catalina.connector.Request.startAsync(Request.java:1618)
	org.apache.catalina.connector.Request.startAsync(Request.java:1611)

org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1024)

org.eclipse.jetty.continuation.Servlet3Continuation.suspend(Servlet3Continuation.java:184)

org.apache.activemq.web.MessageListenerServlet.doMessages(MessageListenerServlet.java:321)

org.apache.activemq.web.MessageListenerServlet.doGet(MessageListenerServlet.java:241)
	org.apache.activemq.web.AjaxServlet.doGet(AjaxServlet.java:47)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	org.apache.activemq.web.SessionFilter.doFilter(SessionFilter.java:45)
</pre></p><p>note <u>The full stack trace of the root cause is available
in
the Apache Tomcat/7.0.14 logs.</u></p><HR size="1" noshade="noshade">
Apache Tomcat/7.0.14

</snip>

--
View this message in context: http://activemq.2283324.n4.nabble.com/AjaxServlet-on-Tomcat-tp3601798p3601798.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Mime
View raw message