IOException: stream closed in JBoss EAP 5.1.0

Solution Verified - Updated -


  • Application has custom JSP tag library. When the application does a form submit the following exception is thrown in the server.log file:-

    javax.servlet.jsp.JspException: Unable to write to JspWriter
        at org.apache.jasper.runtime.HttpJspBase.service(
        at javax.servlet.http.HttpServlet.service(
        at org.apache.jasper.servlet.JspServletWrapper.service(
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(
        at org.apache.jasper.servlet.JspServlet.service(
     Caused by: Stream closed
        at org.apache.jasper.runtime.JspWriterImpl.ensureOpen(
        at org.apache.jasper.runtime.JspWriterImpl.write(
        at org.apache.jasper.runtime.JspWriterImpl.write(
  • The page cannot be loaded without a redeployment of the application or a re-start of the JBoss instance.


  • JBoss Enterprise Application Platform (EAP) 5.1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In