Dear All,
I found a solution under websphere 8.5 by setting the timeout to 0 in
amq.js. Then everything start working correctly except an error that appear
in websphere logs inside SystemOut.log :
[6/3/14 15:42:22:305 EEST] 000000a4 AjaxListener E
org.apache.activemq.web.AjaxListener onMessageAvailable Error receiving
message java.lang.NullPointerException
java.lang.NullPointerException
at
com.ibm.ws.webcontainer.srt.SRTServletRequest$SRTServletRequestHelper.access$2600(SRTServletRequest.java:3193)
at
com.ibm.ws.webcontainer.srt.SRTServletRequest.isAsyncStarted(SRTServletRequest.java:3379)
at
org.eclipse.jetty.continuation.Servlet3Continuation.isSuspended(Servlet3Continuation.java:155)
at
org.apache.activemq.web.AjaxListener.onMessageAvailable(AjaxListener.java:71)
at
org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:1343)
at
org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:131)
at
org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:202)
at
org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:129)
at
org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:47)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:626)
at java.lang.Thread.run(Thread.java:780)
Also note that in web.xml all servlets and filters has the property
<async-supported>true</async-supported>.
Please any advise ?
Thank you
--
View this message in context:
http://activemq.2283324.n4.nabble.com/ActiveMQ-Websphere-8-5-long-polling-tp4681242p4681608.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.