java.lang.IllegalStateException: Cannot use ServletOutputStream because a PrintWriter is being used. User getWriter() instead. This included request was probably nested in a Jsp BodyTag

Oracle Community | 3004 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    WebLogic 6.1 Admin Console exception.

    Google Groups | 1 decade ago | Eleanor
    java.lang.IllegalStateException: Cannot use ServletOutputStream because a PrintWriter is being used. User getWriter() instead. This included request was probably nested in a Jsp BodyTag
  2. 0

    WebLogic 6.1 Admin Console exception.

    Oracle Community | 1 decade ago | 3004
    java.lang.IllegalStateException: Cannot use ServletOutputStream because a PrintWriter is being used. User getWriter() instead. This included request was probably nested in a Jsp BodyTag

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Cannot use ServletOutputStream because a PrintWriter is being used. User getWriter() instead. This included request was probably nested in a Jsp BodyTag

      at weblogic.servlet.jsp.NestedBodyResponse.getOutputStream()
    2. weblogic.servlet.jsp
      NestedBodyResponse.getOutputStream
      1. weblogic.servlet.jsp.NestedBodyResponse.getOutputStream(NestedBodyResponse.java:21)
      1 frame
    3. JavaServlet
      ServletResponseWrapper.getOutputStream
      1. javax.servlet.ServletResponseWrapper.getOutputStream(ServletResponseWrapper.java:136)
      1 frame
    4. Atmosphere weblogic
      ChunkOutputWrapper.print
      1. weblogic.servlet.internal.DelegateChunkWriter.getWriter(DelegateChunkWriter.java:132)
      2. weblogic.servlet.internal.DelegateChunkWriter.print(DelegateChunkWriter.java:99)
      3. weblogic.servlet.internal.ChunkOutputWrapper.print(ChunkOutputWrapper.java:136)
      3 frames
    5. weblogic.servlet.jsp
      JspWriterImpl.print
      1. weblogic.servlet.jsp.JspWriterImpl.print(JspWriterImpl.java:204)
      1 frame
    6. weblogic.management.console
      __simpleformtag_javascript._jspService
      1. weblogic.management.console.webapp._common.__simpleformtag_javascript._jspService(__simpleformtag_javascript.java:99)
      1 frame
    7. weblogic.servlet.jsp
      JspBase.service
      1. weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
      1 frame
    8. Atmosphere weblogic
      RequestDispatcherImpl.include
      1. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)
      2. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
      3. weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:446)
      4. weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:298)
      4 frames
    9. weblogic.management.console
      __connectorcomponent._jspService
      1. weblogic.management.console.tags.IncludeTag.doDispatcherInclude(IncludeTag.java:122)
      2. weblogic.management.console.tags.IncludeTag.doStartTag(IncludeTag.java:83)
      3. weblogic.management.console.tags.SimpleFormTag.doStartTag(SimpleFormTag.java:129)
      4. weblogic.management.console.tags.ThreeColumnFormTag.doStartTag(ThreeColumnFormTag.java:44)
      5. weblogic.management.console.webapp._domain.__connectorcomponent._jspService(__connectorcomponent.java:267)
      5 frames
    10. weblogic.servlet.jsp
      JspBase.service
      1. weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
      1 frame
    11. Atmosphere weblogic
      RequestDispatcherImpl.forward
      1. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)
      2. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
      3. weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:232)
      3 frames
    12. weblogic.servlet.jsp
      PageContextImpl.forward
      1. weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:120)
      1 frame
    13. weblogic.management.console
      ActionServlet.doGet
      1. weblogic.management.console.actions.ForwardAction.perform(ForwardAction.java:35)
      2. weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
      3. weblogic.management.console.actions.internal.ActionServlet.doGet(ActionServlet.java:91)
      3 frames
    14. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      2 frames
    15. Atmosphere weblogic
      ServletRequestImpl.execute
      1. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)
      2. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
      3. weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2643)
      4. weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2401)
      4 frames
    16. weblogic.kernel
      ExecuteThread.run
      1. weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
      2. weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
      2 frames