BugRat Report # 368

Project: Tomcat Release: 3.2
Category: Bug Report SubCategory: New Bug Report
Class: swbug State: received
Priority: medium Severity: serious
Confidence: public

Submitter: Claus Reibenstein ( reibenstein@softwork-edv.de )
Date Submitted: Nov 10 2000, 09:37:13 CST
Responsible: Z_Tomcat Alias ( tomcat-bugs@cortexity.com )

java.lang.IllegalArgumentException: Cookie name Path is a reserved token
Environment: (jvm, os, osrel, platform)
1.3, Linux, Redhat 7, Intel Pentium

Additional Environment Description:
The error also occurs when running Tomcat on a Windows 2000 machine (Intel P-II). The clients run on Windows 2000 exclusively.

Report Description:
When a JSP page or servlet is loaded very often (about 70 times per second), we get many error messages on the server console like this: 2000-11-10 04:12:06 - Ctx( /SoftWork ): Exception in: R( /SoftWork + /SQL-Test.jsp + null) - java.lang.IllegalArgumentException: Cookie name Path is a reserved token at javax.servlet.http.Cookie.(Cookie.java:185) at org.apache.tomcat.util.RequestUtil.processCookies(RequestUtil.java:189) at org.apache.tomcat.core.RequestImpl.getCookieCount(RequestImpl.java:484) at org.apache.tomcat.request.SessionInterceptor.requestMap(SessionInterceptor.java:135) at org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:809) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:760) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:732) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Unknown Source) The error occurs only if there is heavy load on the server.

How To Reproduce:

View this report online...