Error: "Exception including resource /jsp/cs_deployed/Example/Example.jsp java.lang.IllegalArgumentException: Header:Content-Type Cannot contain CRLF Charcters"
(Doc ID 2749141.1)
Last updated on APRIL 03, 2023
Applies to:
Oracle WebCenter Sites - Version 12.2.1.2.0 and laterInformation in this document applies to any platform.
Symptoms
When requesting a WebCenter Sites Page, it does not load it shows "Content Server error".
In sites.log, the following ERROR is seen:
-----------------------
[wcsites_server] [ERROR] [] [oracle.wcsites.request] [APP: sites] [partition-name: DOMAIN] [tenant-name: GLOBAL] Exception including resource /jsp/cs_deployed/Example/Example.jsp[[
java.lang.IllegalArgumentException: Header:Content-Type Cannot contain CRLF Charcters
at weblogic.servlet.internal.ServletResponseImpl.checkForCRLFChars(ServletResponseImpl.java:1893)
at weblogic.servlet.internal.ServletResponseImpl.setHeader(ServletResponseImpl.java:1070)
at com.compuware.apm.agent.introspection.uem.impl.BaseUemResponseHook.setHeader(BaseUemResponseHook.java:61)
at com.compuware.apm.agent.introspection.uem.impl.OuterUemResponseHook.setHeader(OuterUemResponseHook.java:151)
at com.compuware.apm.agent.introspection.uem.impl.CacheHookingResponseWrapper.setHeader(CacheHookingResponseWrapper.java:40)
at com.compuware.apm.agent.introspection.uem.impl.BaseUemResponseHook.setHeader(BaseUemResponseHook.java:61)
at com.compuware.apm.agent.introspection.uem.impl.ContentTypeHandler.setContentType(ContentTypeHandler.java:23)
at com.compuware.apm.agent.introspection.uem.impl.AgentInjectingUemResponseHook.handleContentType(AgentInjectingUemResponseHook.java:171)
at com.compuware.apm.agent.introspection.uem.impl.AgentInjectingUemResponseHook.setHeader(AgentInjectingUemResponseHook.java:213)
at com.compuware.apm.agent.introspection.uem.impl.AgentInjectingResponseWrapper.setHeader(AgentInjectingResponseWrapper.java:51)
at jsp_servlet._jsp._cs_deployed._example.__example._jspService(__example.java:66)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:35)
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |