
| Key: |
SIM-143
|
| Type: |
Bug
|
| Status: |
Resolved
|
| Resolution: |
Cannot Reproduce
|
| Assignee: |
Unassigned
|
| Reporter: |
Matt Raible
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
SiteMesh
Created: 07/Oct/04 12:37 PM
Updated: 08/Jan/07 04:50 PM
|
|
| Fix Version/s: |
None
|
|
|
Environment:
|
JDK 1.4.2, Resin 3.0.9, Windows XP
|
|
|
I've found that if I have a <dispatcher>FORWARD</dispatcher> on my
SiteMesh filter in Resin 3.0.9, I get the following error:
java.lang.IllegalStateException: response.getOutputStream() called
after response.getWriter()
at com.opensymphony.module.sitemesh.filter.Buffer.getOutputStream(Buffer.java:63)
at com.opensymphony.module.sitemesh.filter.PageResponseWrapper$4.create(PageResponseWrapper.java:84)
at com.opensymphony.module.sitemesh.filter.RoutableServletOutputStream.getDestination(RoutableServletOutputStream.java:35)
at com.opensymphony.module.sitemesh.filter.RoutableServletOutputStream.close(RoutableServletOutputStream.java:46)
If I remove FORWARD, and just use REQUEST (or nothing at all), it
works fine.
I also tried the latest snapshot and CVS source with no luck. I even rant the testsuite - but everything passed - leading me to believe that the testsuite doesn't test for this.
|
|
Description
|
I've found that if I have a <dispatcher>FORWARD</dispatcher> on my
SiteMesh filter in Resin 3.0.9, I get the following error:
java.lang.IllegalStateException: response.getOutputStream() called
after response.getWriter()
at com.opensymphony.module.sitemesh.filter.Buffer.getOutputStream(Buffer.java:63)
at com.opensymphony.module.sitemesh.filter.PageResponseWrapper$4.create(PageResponseWrapper.java:84)
at com.opensymphony.module.sitemesh.filter.RoutableServletOutputStream.getDestination(RoutableServletOutputStream.java:35)
at com.opensymphony.module.sitemesh.filter.RoutableServletOutputStream.close(RoutableServletOutputStream.java:46)
If I remove FORWARD, and just use REQUEST (or nothing at all), it
works fine.
I also tried the latest snapshot and CVS source with no luck. I even rant the testsuite - but everything passed - leading me to believe that the testsuite doesn't test for this. |
Show » |
|