My Oracle Support Banner

User ID Containing the letter Ö Upon Login To OTM the Following Error is Seen: java.lang.IllegalArgumentException: Control character in cookie value, consider BASE64 encoding your value (Doc ID 1376611.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version 5.5.06.01 to 6.0 [Release 5.5 to 6]
Information in this document applies to any platform.
***Checked for relevance on 26-Dec-2013***

Symptoms

On OTM version 5.5.06.01when attempting to log into OTM using a user ID that contains Ö the following error is seen:


ERROR
-----------------------


java.lang.IllegalArgumentException: Control character in cookie value, consider BASE64 encoding your value

java.lang.IllegalArgumentException: Control character in cookie value, consider BASE64 encoding your value
at org.apache.tomcat.util.http.ServerCookie.maybeQuote2(ServerCookie.java:340)
at org.apache.tomcat.util.http.ServerCookie.appendCookieValue(ServerCookie.java:253)
at org.apache.catalina.connector.Response.addCookie(Response.java:958)
at org.apache.catalina.connector.ResponseFacade.addCookie(ResponseFacade.java:341)
at glog.webserver.servlet.umt.Login.getDocument(Login.java:302)
at glog.webserver.util.BaseServlet.getServletResult(BaseServlet.java:262)
at glog.webserver.util.BaseServlet.getServletResultEx(BaseServlet.java:654)
at glog.webserver.servlet.DefaultServlet.getServletResultEx(DefaultServlet.java:157)
at glog.webserver.util.BaseServlet.process(BaseServlet.java:393)
at glog.webserver.util.BaseServlet.service(BaseServlet.java:601)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at glog.webserver.session.ParameterValidation.doFilter(ParameterValidation.java:29)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at glog.webserver.screenlayout.ClientSessionTracker.doFilter(ClientSessionTracker.java:59)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at glog.webserver.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:44)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:534)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:

1 - Log onto an internal 5.5.06 system.

2 - Create a new use with the ID XXX.Ö

3 - Logged on to OTM with this User ID. OTM does not like the Ö.

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
Cause
Solution


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.