AnsweredAssumed Answered

IllegalArgumentException: Control character in cookie ...

Question asked by oliver.g on Mar 4, 2009

I have successfully updated from 2.9b to 3.0 labs. All seems to be allright but login with national character in username.
When i login with a username containing a german umlaut, i get an error message : "java.lang.IllegalArgumentException: Control character in cookie value, consider BASE64 encoding your value".
There is no problem accessing alfresco via CIFS. We did not have that problem with previous versions (2.9b and 2.1)

Alfresco 3.0 Labs
Ubuntu 8.04 LTS
Tomcat 5.5.27
MySQL 5.0.67
JAVA jre_1.6.0_12

Tried both full install (Tomcat 6) and war-file (Tomcat 5.5).

18:26:15,995 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_12-b04; maximum heap size 506,313MB
18:26:15,996 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (Stable 1526) schema 1002 - Installed version 3.0.0 (b 1164) schema 131
18:27:34,112 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
java.lang.IllegalArgumentException: Control character in cookie value, consider BASE64 encoding your value
        at org.apache.tomcat.util.http.ServerCookie.maybeQuote2(
        at org.apache.tomcat.util.http.ServerCookie.appendCookieValue(
        at org.apache.catalina.connector.Response.addCookie(
        at org.apache.catalina.connector.ResponseFacade.addCookie(
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
        at org.apache.catalina.core.StandardWrapperValve.invoke(
        at org.apache.catalina.core.StandardContextValve.invoke(
        at org.apache.catalina.core.StandardHostValve.invoke(
        at org.apache.catalina.valves.ErrorReportValve.invoke(
        at org.apache.catalina.core.StandardEngineValve.invoke(
        at org.apache.catalina.connector.CoyoteAdapter.service(
        at org.apache.coyote.http11.Http11Processor.process(
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(
        at org.apache.tomcat.util.threads.ThreadPool$
        at Source)

Any idea ?

thanks in advance