[ https://issues.apache.org/jira/browse/TOMEE-2177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16569712#comment-16569712 ]
Sunny Fong commented on TOMEE-2177: ----------------------------------- A test based on Spring MVC showcase project attached FYR. By calling the URL: [http://127.0.0.1:8080/spring-mvc-showcase/async/deferred-result/response-body] The tomee 1.7.5 log will show: SEVERE: An exception or error occurred in the container during the request processing java.lang.IllegalStateException: Calling [asyncError()] is not valid for a request with Async state [DISPATCHING] at org.apache.coyote.AsyncStateMachine.asyncError(AsyncStateMachine.java:388) at org.apache.coyote.http11.AbstractHttp11Processor.action(AbstractHttp11Processor.java:888) at org.apache.coyote.Request.action(Request.java:345) at org.apache.catalina.core.AsyncContextImpl.setErrorState(AsyncContextImpl.java:443) at org.apache.catalina.connector.CoyoteAdapter.asyncDispatch(CoyoteAdapter.java:314) at org.apache.coyote.http11.AbstractHttp11Processor.asyncDispatch(AbstractHttp11Processor.java:1713) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:616) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) > Tomcat8 bug 59261 backport to 7.0.70 onwards and cause tomee 1.7.5 fail in > Aysn request > --------------------------------------------------------------------------------------- > > Key: TOMEE-2177 > URL: https://issues.apache.org/jira/browse/TOMEE-2177 > Project: TomEE > Issue Type: Bug > Affects Versions: 1.7.5 > Reporter: Sunny Fong > Assignee: Jonathan Gallimore > Priority: Major > Attachments: spring-mvc-showcase-master.zip > > > Issue has been fix in Tomee 7.0.0 > [https://github.com/apache/tomee/commit/106cbb657a702bb8aaad054feccbcf21eeb69fca#diff-53219028640a320dd51d6cad94db0b99] > But later on, the tomcat bug has been backport to tomcat 7.0.70 and cause > error on 1.7.5 which use tomcat 7.0.81. > Tomcat bug: > [https://bz.apache.org/bugzilla/show_bug.cgi?id=59261] > -- This message was sent by Atlassian JIRA (v7.6.3#76005)