Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005544 [Resin] minor always 10-04-13 09:27 11-07-14 09:21
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.42 Product Version 4.0.38
  Product Build
Summary 0005544: async with forwarding
Description (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
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0006560)
ferg
11-07-14 09:21

server/1l9d
 

- Issue History
Date Modified Username Field Change
10-04-13 09:27 ferg New Issue
10-04-13 09:34 yanonaoki Issue Monitored: yanonaoki
11-07-14 09:21 ferg Note Added: 0006560
11-07-14 09:21 ferg Assigned To  => ferg
11-07-14 09:21 ferg Status new => closed
11-07-14 09:21 ferg Resolution open => fixed
11-07-14 09:21 ferg Fixed in Version  => 4.0.42


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker