Claus Ibsen created AMQ-4801: -------------------------------- Summary: ActiveMQ web demo - chat example - Logs jetty IDLE ERROR 1st time Key: AMQ-4801 URL: https://issues.apache.org/jira/browse/AMQ-4801 Project: ActiveMQ Issue Type: Improvement Affects Versions: 5.9.0 Reporter: Claus Ibsen Fix For: 5.10.0
When running the chat example in the web demos, then the first time you login you get this error in the console {code} WARN | Broker localhost not started so using amq-broker instead WARN | Broker localhost not started so using amq-broker instead ERROR | Error receiving message java.lang.IllegalStateException: IDLE,initial java.lang.IllegalStateException: IDLE,initial at org.eclipse.jetty.server.AsyncContinuation.dispatch(AsyncContinuation.java:408) at org.eclipse.jetty.server.AsyncContinuation.resume(AsyncContinuation.java:815) at org.apache.activemq.web.AjaxListener.onMessageAvailable(AjaxListener.java:72) at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:1383) 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:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) {code} The web demos can be started with bin/activemq console xbean:examples/conf/activemq-demo.xml -- This message was sent by Atlassian JIRA (v6.1#6144)