activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: AjaxServlet on Tomcat
Date Thu, 16 Jun 2011 08:11:44 GMT
Yes, it depends on Jetty Continuations
http://wiki.eclipse.org/Jetty/Feature/Continuations

Regards
-- 
Dejan Bosanac - http://twitter.com/dejanb
-----------------
The experts in open source integration and messaging - http://fusesource.com
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Thu, Jun 16, 2011 at 10:03 AM, viji <viji@fedoraproject.org> wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message