tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Papillon" <lea...@wanadoo.fr>
Subject Tomcat 5.0.18 : Bad Cookie Names, the return ?
Date Sun, 01 Feb 2004 13:55:22 GMT
I've installed Tomcat 5.0.18 (binary release) and J2SE v 1.4.2_02 on a
windows server 2000 OS.

When Tomcat receive a request (or respond ?) I have pratically each time
this type of error :

23 janv. 2004 07:12:22 org.apache.coyote.tomcat5.CoyoteAdapter parseCookies
GRAVE: Bad Cookie Name: expires /Value: Fri
java.lang.IllegalArgumentException: Le nom de cookie "expires" est un
"token" rÚservÚ
        at javax.servlet.http.Cookie.<init>(Cookie.java:185)
        at
org.apache.coyote.tomcat5.CoyoteAdapter.parseCookies(CoyoteAdapter.java:424)
        at
org.apache.coyote.tomcat5.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:
332)
        at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:204)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:700)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:683)
        at java.lang.Thread.run(Thread.java:534)

another one (cookie's name is different...)

23 janv. 2004 07:12:22 org.apache.coyote.tomcat5.CoyoteAdapter parseCookies
GRAVE: Bad Cookie Name: path /Value: /
java.lang.IllegalArgumentException: Le nom de cookie "path" est un "token"
rÚservÚ
        at javax.servlet.http.Cookie.<init>(Cookie.java:185)
        ....
        at java.lang.Thread.run(Thread.java:534)

I've undestand that "path","expire","domain",etc are reserved names for
cookies. All run fine with the same classes on an "oldest" tomcat
version(3.3 who seems to have and similary corrected bug and or a tomcat
4.0.x) or when I copy the complete context (Tomcat 5 rep and Java rep) on
anothers machines (windows 2000 pro or Mac OS X).

    A difference between the server and the computers : The server is behind
a firewall and have two adress. All accesses are done by the WAN adress
because using NAT.

thanks for any informations, any help, any idea ;)


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message