You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Gareth Coltman <ga...@majorband.co.uk> on 2001/08/07 17:03:38 UTC
Cookie name is a reserved token
I am getting the following error trying to load test my app.
I am looked at the bug database:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=231
and it claims this bug is fixed in Tomcat 3.3
I am using tomcat 3.3/mod_jk with the pooled tcp connector,and I still get it.
I have no idea why? Could be it be a threading issue? The server seems to have enough free resources...
Please help!!!!
java.lang.IllegalArgumentException: Cookie name
Path is a reserved token
at javax.servlet.http.Cookie.<init>(Cookie.java:185)
at
org.apache.tomcat.util.RequestUtil.processCookies(RequestUtil.java:189)
at
org.apache.tomcat.core.RequestImpl.getCookieCount(RequestImpl.java:494)
at
org.apache.tomcat.session.StandardSessionInterceptor.requestMap(StandardSess
ionInterceptor.java:143)
at
org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:820
)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:77
1)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:166)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)
--
Mike Scott
Head of Technology Operations
rightmove.co.uk
Tel: 020 7821 9661 Mobile: 07941 576326 Email: Mike.Scott@rightmove.co.uk
Re: Cookie name is a reserved token
Posted by cm...@yahoo.com.
On Tue, 7 Aug 2001, Gareth Coltman wrote:
> I am getting the following error trying to load test my app.
>
> I am looked at the bug database:
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=231
>
> and it claims this bug is fixed in Tomcat 3.3
>
> I am using tomcat 3.3/mod_jk with the pooled tcp connector,and I still get it.
Are you sure you're using 3.3 ? This stack trace is certainly not from
3.3, the org.apache.tomcat.session package was renamed to
o.a.t.modules.session.
I'm pretty sure I fixed the bug in 3.3, but if not - can you send me the
cookie ? Just add a println() in the session interceptor, before cookie
processing - and print all the headers, then send the "Cookie: ...."
header(s).
Costin
>
>
> java.lang.IllegalArgumentException: Cookie name
> Path is a reserved token
> at javax.servlet.http.Cookie.<init>(Cookie.java:185)
> at
> org.apache.tomcat.util.RequestUtil.processCookies(RequestUtil.java:189)
> at
> org.apache.tomcat.core.RequestImpl.getCookieCount(RequestImpl.java:494)
> at
> org.apache.tomcat.session.StandardSessionInterceptor.requestMap(StandardSess
> ionInterceptor.java:143)
> at
> org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:820
> )
> at
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:77
> 1)
> at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> at
> org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
> (Ajp12ConnectionHandler.java:166)
> at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> at java.lang.Thread.run(Thread.java:484)
>
>