Mantis - Resin
Viewing Issue Advanced Details
5544 minor always 10-04-13 09:27 11-07-14 09:21
ferg  
ferg  
normal  
closed 4.0.38  
fixed  
none    
none 4.0.42  
0005544: async with forwarding
(rep by Shinomiya Nobuaki)


===================================
Part 2
====================================
2. When I run "HttpServletRequest#startAsync" in a Servlet using
"getRequestDispatcher" and "forward", the following type of error occured.

----------------------------------
java.lang.IllegalStateException: The servlet 'AsyncServlet' at '/async' does
not support async because the servlet or one of the filters does not support asynchronous mode.
----------------------------------

I encountered this problem in the following environment:
* Windows 7 64-bit
* Resin Pro 4.0.37
* All Servlets and Filters is configured with "<async-supported>true</async-supported>".


Here are procedures how to reproduce the error.
Please see the attached ZIP file.
This is including a war file ("multipart-async/async/resin_asyncsupported_test.war") and those sorce codes.


1. Deploying the war file named "resin_asyncsupported_test.war" at Resin Pro 4.0.37.
2. Accessing the web page at "http://localhost:8080/resin_asyncsupported_test/forward1". [^]

When I tried the same way using jetty9 and GlassFish4 , this problem did not occured.

Q2. Is this a bug of Resin?


====================================
Part 3
====================================
3. When I run "HttpServletRequest#startAsync" in a Servlet using
"getNamedDispatcher" and "forward", the following type of error occured.

----------------------------------
java.lang.IllegalStateException: The servlet 'resin-file' at '/forward2'
does not support async because the servlet or one of the filters does not
support asynchronous mode.
The servlet should be annotated with a @WebServlet(asyncSupported=true)
annotation or have a <async-supported> tag in the web.xml.
----------------------------------

I encountered this problem in the following environment:
* Windows 7 64-bit
* Resin Pro 4.0.37
* All Servlets and Filters is configured with "<async-supported>true</async-supported>".


He

Notes
(0006560)
ferg   
11-07-14 09:21   
server/1l9d