History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SIM-143
Type: Bug Bug
Status: Resolved Resolved
Resolution: Cannot Reproduce
Assignee: Unassigned
Reporter: Matt Raible
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
SiteMesh

<dispatcher>FORWARD</dispatcher> fails on Resin 3.0.9

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


 Description  « Hide
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.

 All   Comments   Change History      Sort Order:
Scott Farquhar - [22/May/05 09:31 PM ]
Which version of sitemesh did you test Matt?

Matt Raible - [22/May/05 10:44 PM ]
That would be nice to know, eh? ;-) I'm guessing that I was using the latest release at the time - maybe 2.1?

Scott Farquhar - [08/Jan/07 04:50 PM ]
I can't reproduce this with Sitemesh 2.4. I have also added a 2.4 web.xml, and included 'FORWARD', but the testsuite still passes.

Let me know if there is anything further that you think of for me to test.