Response.sendError throws IllegalStateException

Solution Verified - Updated -

Issue

  • A call to response.sendError throws the following exception for some requests:
java.lang.IllegalStateException
        at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:406) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

Environment

  • JBoss Enterprise Application Platform (EAP)

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.