Hi,

I'm learning push technology and what I've learned is when doing reverse
ajax using push technology on the serverside you will need to use servlet
modified using NIO. Probably the reason why it works on Tomcat is because
it implements the Comet API. To get a client to be notified through push
notification you will need an event listener which must be linked to the
Comet API. Every time events occur it sends back information from the
server to the browser. Some interesting technologies you can try is DWR,
Google Gears, or a new one called
Atmosphere<https://github.com/Atmosphere/atmosphere>.


Please correct me if im wrong. This error seems to be coming from the
serverside. Since it works in tomcat, weblogic.

I have not used websphere but I want to make sure your request is
processed. Can you login to jira and open a ticket for this so it is not
forgotten.

Thanks,
Zak




On Mon, May 19, 2014 at 4:37 AM, tony <[email protected]> wrote:

> Dear All
>
> The activemq long polling (using the reverse ajax + servlet3 continuation +
> asynchronous context) is working correctly under tomcat and weblogic. when
> deploying under websphere 8.5 we are getting an error with long polling
> ajax
> request : java.lang.IllegalStateException: called setTimeout after the
> container-initiated dispatch which called startAsync has returned
>
> Caused by: java.lang.IllegalStateException: called setTimeout after the
> container-initiated dispatch which called startAsync has returned
>         at
>
> com.ibm.ws.webcontainer.async.AsyncContextImpl.setTimeout(AsyncContextImpl.java:640)
>         at
>
> org.eclipse.jetty.continuation.Servlet3Continuation.setTimeout(Servlet3Continuation.java:179)
>         at
>
> org.apache.activemq.web.MessageListenerServlet.doMessages(MessageListenerServlet.java:325)
>
> Please any advise? is there a specific configuration to be done for
> websphere 8.5?
> Thank you
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-Websphere-8-5-long-polling-tp4681242.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>

Reply via email to