When running CA Access Gateway (SPS), this one reports error :
[22/Mar/2022:10:16:43-133] [ERROR] - Exception caught stack trace below:
java.lang.IllegalArgumentException: Control character in cookie value or attribute.
as
[22/Mar/2022:10:16:43-133] [ERROR] - Exception caught stack trace below: java.lang.IllegalArgumentException: Control character in cookie value or attribute.
[22/Mar/2022:10:16:43-133] [ERROR] - org.apache.tomcat.util.http.LegacyCookieProcessor.isHttpSeparator LegacyCookieProcessor.java:699
[22/Mar/2022:10:16:43-133] [ERROR] - org.apache.tomcat.util.http.LegacyCookieProcessor.getTokenEndPosition LegacyCookieProcessor.java:682
[22/Mar/2022:10:16:43-133] [ERROR] - org.apache.tomcat.util.http.LegacyCookieProcessor.processCookieHeader LegacyCookieProcessor.java:521
[22/Mar/2022:10:16:43-133] [ERROR] - org.apache.tomcat.util.http.LegacyCookieProcessor.parseCookieHeader LegacyCookieProcessor.java:227
[22/Mar/2022:10:16:43-133] [ERROR] - org.apache.catalina.connector.Request.parseCookies Request.java:3172
[22/Mar/2022:10:16:43-133] [ERROR] - org.apache.catalina.connector.Request.convertCookies Request.java:3190
[22/Mar/2022:10:16:43-133] [ERROR] - org.apache.catalina.connector.Request.getCookies Request.java:2254
[22/Mar/2022:10:16:43-133] [ERROR] - com.netegrity.proxy.ProxyValve.addHeadersToRequest
[22/Mar/2022:10:16:43-133] [ERROR] - com.netegrity.proxy.ProxyValve.processRequest
[22/Mar/2022:10:16:43-133] [ERROR] - com.netegrity.proxy.ProxyValve.invoke
[22/Mar/2022:10:16:43-133] [ERROR] - org.apache.catalina.core.StandardEngineValve.invoke StandardEngineValve.java:78
[22/Mar/2022:10:16:43-133] [ERROR] - org.apache.catalina.connector.CoyoteAdapter.service CoyoteAdapter.java:343
[22/Mar/2022:10:16:43-133] [ERROR] - org.apache.coyote.ajp.AjpProcessor.service AjpProcessor.java:432
[22/Mar/2022:10:16:43-133] [ERROR] - org.apache.coyote.AbstractProcessorLight.process AbstractProcessorLight.java:65
[22/Mar/2022:10:16:43-133] [ERROR] - org.apache.coyote.AbstractProtocol$ConnectionHandler.process AbstractProtocol.java:888
[22/Mar/2022:10:16:43-133] [ERROR] - org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun NioEndpoint.java:1597
[22/Mar/2022:10:16:43-133] [ERROR] - org.apache.tomcat.util.net.SocketProcessorBase.run SocketProcessorBase.java:49
[22/Mar/2022:10:16:43-133] [ERROR] - java.util.concurrent.ThreadPoolExecutor.runWorker ThreadPoolExecutor.java:1149
[22/Mar/2022:10:16:43-133] [ERROR] - java.util.concurrent.ThreadPoolExecutor$Worker.run ThreadPoolExecutor.java:624
[22/Mar/2022:10:16:43-133] [ERROR] - org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run TaskThread.java:61
[22/Mar/2022:10:16:43-133] [ERROR] - java.lang.Thread.run Thread.java:748
The error :
[22/Mar/2022:10:16:43-133] [ERROR] - Exception caught stack trace below: java.lang.IllegalArgumentException:
Control character in cookie value or attribute.
seems to that the embedded Tomcat found a cookie value with has a not
allowed character in it (1)(2).
(1)
java.lang.IllegalArgumentException: Control character in cookie value or attribute
https://stackoverflow.com/questions/9109318/java-lang-illegalargumentexception-control-character-in-cookie-value-or-attribu
(2)
Illegalargumentexception: control character in cookie value or attribute tomcat7
https://programmerah.com/illegalargumentexception-control-character-in-cookie-value-or-attribute-tomcat7-19043/