opensymphony
  1. opensymphony
  2. OPENSYMPHONY-1

Sitemesh 2.0.2 - Tomcat IllegalStateException

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      1

      Description

      Hi,

      I tried Sitemesh 2.0.2 in varous Tomcat 4 & 5 versions. I get the following:
      Error Description:

      The server encountered an internal error () that prevented it from fulfilling this
      request

      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
      (CoyoteResponseFacade.java:190)
      javax.servlet.ServletResponseWrapper.getWriter
      (ServletResponseWrapper.java:156)
      org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:165)
      org.apache.jasper.runtime.JspWriterImpl.flushBuffer
      (JspWriterImpl.java:158)
      org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:201)
      org.apache.jasper.runtime.JspRuntimeLibrary.include
      (JspRuntimeLibrary.java:990)
      org.apache.jasper.runtime.PageContextImpl.include
      (PageContextImpl.java:621)
      com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag.doEn
      dTag(ApplyDecoratorTag.java:254)
      org.apache.jsp.decorators.main_jsp._jspx_meth_page_applyDecorator_0
      (main_jsp.java:214)
      org.apache.jsp.decorators.main_jsp._jspService(main_jsp.java:94)
      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:311)
      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)

        Activity

        sadish created issue -
        kenaiadmin made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 1 102814

          People

          • Assignee:
            opensymphony-issues
            Reporter:
            sadish
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: