Issues with tomcat (perhaps SIM-82)

"Matthew Payne" <[email protected]>
Newsgroups gmane.comp.web.sitemesh.general
Organization INS
Message-ID <[email protected]>
I am a fan of the product.  
 
However its tough to go out on a limb, and recommend sitemesh,  
when the example application provided does not work on tomcat?
 
The same error occurs with both 2.0.1 and 2.0.2 in cvs. 
launching http://localhost:8080/sitemesh-example/ yields
java.lang.IllegalStateException: getOutputStream() has already been called
for this response

	
org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:611)

	
org.apache.coyote.tomcat5.CoyoteResponseFacade.getWriter(CoyoteResponseFacad
e.java:210)

	
javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:1
56)

	
org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:167)

	
org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:160)

	
org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:214)

	
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:9
90)

	
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:626)

	
com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag.doEndTag(Appl
yDecoratorTag.java:256)

	
org.apache.jsp.decorators.main_jsp._jspx_meth_page_applyDecorator_0(main_jsp
.java:218)

	org.apache.jsp.decorators.main_jsp._jspService(main_jsp.java:93)

	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)

	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

	
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
11)

	
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)

	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)

	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

	
com.opensymphony.module.sitemesh.filter.PageFilter.applyDecorator(PageFilter
.java:169)

	
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:
68)
Is this any closer to be resolved?  Is there a branch that has this
resolved?  Need any help testing?
 
Matthew Payne
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.