Troubleshooting HTTP 400 Bad Request errors on JBoss EAP
Issue
- We've had issues troubleshooting requests causing EAP to respond with an HTTP 400 Bad Request error.
- We found the cause to be the length of HTTP headers breaking
MAX_HTTP_HEADER_SIZE. Here however we are concerned with the unexpected difficulty to identify the root cause. - We attempted to use a RequestDumper valve, but this gave us no output in case of HTTP 400 Bad Request.
- We couldn't effectively use Byteman rules in the environment where we see the issues (it wasn't feasible for us to install required external jar files).
- We expected an easy way to troubleshoot the HTTP 400 Bad Request error, e.g. by enabling logging on the correct package and log level.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 6.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
