IllegalCharsetNameException when forwarding request
Issue
- We see the following exception when forwarding the request on EAP 7:
Caused by: java.nio.charset.IllegalCharsetNameException:
at java.nio.charset.Charset.checkName(Charset.java:303)
at java.nio.charset.Charset.lookup2(Charset.java:484)
at java.nio.charset.Charset.lookup(Charset.java:464)
at java.nio.charset.Charset.forName(Charset.java:528)
at io.undertow.servlet.spec.ServletPrintWriter.createEncoder(ServletPrintWriter.java:64)
at io.undertow.servlet.spec.ServletPrintWriter.<init>(ServletPrintWriter.java:59)
at io.undertow.servlet.spec.HttpServletResponseImpl.getWriter(HttpServletResponseImpl.java:359)
at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:152)
at io.undertow.servlet.spec.RequestDispatcherImpl.forwardImpl(RequestDispatcherImpl.java:211)
... 53 more
Environment
- JBoss Enterprise Application Platform (EAP) 7.x
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.
