Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BC6D66EEC for ; Thu, 16 Jun 2011 10:33:59 +0000 (UTC) Received: (qmail 70195 invoked by uid 500); 16 Jun 2011 10:33:59 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 70160 invoked by uid 500); 16 Jun 2011 10:33:59 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 70152 invoked by uid 99); 16 Jun 2011 10:33:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jun 2011 10:33:59 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of vijivijayakumar@gmail.com designates 74.125.82.45 as permitted sender) Received: from [74.125.82.45] (HELO mail-ww0-f45.google.com) (74.125.82.45) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jun 2011 10:33:55 +0000 Received: by wwi36 with SMTP id 36so1050936wwi.14 for ; Thu, 16 Jun 2011 03:33:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:content-type; bh=Q/8aRWzeyHjBgqA01bzxabahddMT8pq5icSAjJ9S+wk=; b=bwMHabtclSl+HmyC1YzsNKWYyFPVwYkNAXLI1pctdz57BYgiyZDorf+JwepaLGeDHT XX7koRtLQnki9+mQRl8SfT28Urm4ihQKBcS8YY3BUPk7zJ503HpQWCCFtSR5VoRjKuH4 h1XXVfeUTHws4RkwEE82XfXBR9eEMF7oOoE/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; b=oCCgPxw/DRU918ydGGubSBwZYFjB+UHdOfokENYqdcljWAeyRZX/DQ3Mt0d6/GNnCy s8RxRuMkkF66CDMY31JeK0xJyPufyYjmHRY9QXzAibMDAFM0baU71qsoQTKqyFqOxoq0 GmdMs54HZh2VlfETlL4ds7OMKBJn/2D0JEIL4= Received: by 10.216.235.33 with SMTP id t33mr737510weq.6.1308220414145; Thu, 16 Jun 2011 03:33:34 -0700 (PDT) MIME-Version: 1.0 Sender: vijivijayakumar@gmail.com Received: by 10.216.3.5 with HTTP; Thu, 16 Jun 2011 03:33:14 -0700 (PDT) In-Reply-To: References: <1308211410670-3601798.post@n4.nabble.com> From: Viji V Nair Date: Thu, 16 Jun 2011 16:03:14 +0530 X-Google-Sender-Auth: JoXwrAx0b1PsLBRxgiqGtBsTZD8 Message-ID: Subject: Re: AjaxServlet on Tomcat To: dev@activemq.apache.org Content-Type: multipart/alternative; boundary=000e0cd4cfac12b34404a5d1cd22 --000e0cd4cfac12b34404a5d1cd22 Content-Type: text/plain; charset=ISO-8859-1 Hi, Can I use the same on any other servlet containers like glassfish or jboss or geronimo? I think this feature is not matured in tomcat. Thanks Viji On Thu, Jun 16, 2011 at 1:41 PM, Dejan Bosanac wrote: > 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 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. > > > > > > HTTP Status 500 - > >

type Exception report

message > >

description The server encountered an internal error () > > that prevented it from fulfilling this request.

exception > >

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)
> > 

note The full stack trace of the root cause is available > in > > the Apache Tomcat/7.0.14 logs.


> > Apache Tomcat/7.0.14 > > > >
> > > > -- > > 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. > > > --000e0cd4cfac12b34404a5d1cd22--