Recently upgraded Tomcat server to 9.0.102 from 9.0.98. Now it throws the error:
org.apache.catalina.connector.Request.startAsync Unable to start async because the following classes in the processing chain do not support async.(com.mycompany.LoginServlet).
The error is triggered by a doForward()
request to a JSP.
It's a legacy web-app running on Servlet 2.5. I am aware async
operation is not supported until 3.0+. Did something change in Tomcat 9.0.102 enforcing async-support that is causing this behavior?
I am planning to upgrade web.xml
to servlet 3.0 and add async-support on the servlets throwing this exception. Any tips?