Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-4801

ActiveMQ web demo - chat example - Logs jetty IDLE ERROR 1st time

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.9.0
    • Fix Version/s: 5.9.0
    • Component/s: None
    • Labels:
      None

      Description

      When running the chat example in the web demos, then the first time you login you get this error in the console

       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)
      

      The web demos can be started with
      bin/activemq console xbean:examples/conf/activemq-demo.xml

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                davsclaus Claus Ibsen
                Reporter:
                davsclaus Claus Ibsen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: