Matt Pavlovich created AMQ-9449:
-----------------------------------
Summary: Chat demo drops an exception when first loaded and user
name is entered
Key: AMQ-9449
URL: https://issues.apache.org/jira/browse/AMQ-9449
Project: ActiveMQ Classic
Issue Type: Bug
Reporter: Matt Pavlovich
1. Configure a fresh ActiveMQ with the examples/conf/jetty-demo.xml in place as
the conf/jetty.xml
2. Start ./bin/activemq console
3. Open the chat app demo
4. Enter a user name to use in the chat app
5. Observe the exception in the log.
{noformat}
WARN | Error receiving message AsyncContext completed and/or Request lifecycle
recycled. This exception is ignored.
java.lang.IllegalStateException: AsyncContext completed and/or Request
lifecycle recycled
at
org.eclipse.jetty.server.AsyncContextState.state(AsyncContextState.java:47)
~[jetty-server-11.0.20.jar:11.0.20]
at
org.eclipse.jetty.server.AsyncContextState.dispatch(AsyncContextState.java:89)
~[jetty-server-11.0.20.jar:11.0.20]
at
org.apache.activemq.web.async.AsyncServletRequest.dispatch(AsyncServletRequest.java:74)
~[activemq-web-6.1.0.jar:6.1.0]
at
org.apache.activemq.web.AjaxListener.onMessageAvailable(AjaxListener.java:71)
~[activemq-web-6.1.0.jar:6.1.0]
at
org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:1457)
~[activemq-client-6.1.0.jar:6.1.0]
at
org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:131)
~[activemq-client-6.1.0.jar:6.1.0]
at
org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:202)
~[activemq-client-6.1.0.jar:6.1.0]
at
org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:133)
~[activemq-client-6.1.0.jar:6.1.0]
at
org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48)
~[activemq-client-6.1.0.jar:6.1.0]
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
~[?:?]
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
~[?:?]
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)