Thanks a lot for your answer. I'm using Tomcat-StandAlone (port 80) So, I don't have this type of problems on anothers computers with the same classes and jsdk. I have used a sniffer and all cookies seems to have an argument. I will retry and be carefull on this point.
Best regards -----Original Message----- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: lundi 2 février 2004 17:44 To: 'Tomcat Users List' Subject: RE: Tomcat 5.0.18 : Bad Cookie Names, the return ? Take a look at your request header(or response hearder). In this case, it's more likely to be the request. You are trying to set a cooking with no argument, you web container will throw an IllegalArgumentException. The syntax for cookie in request header: Cookie: NAME1=OPAQUE_STRING1; NAME2=OPAQUE_STRING2 ... Btw, do you use Tomcat-StandAlone or with Apache? -----Original Message----- From: Papillon [mailto:[EMAIL PROTECTED] Sent: Sunday, February 01, 2004 6:55 AM To: [EMAIL PROTECTED] Subject: Tomcat 5.0.18 : Bad Cookie Names, the return ? 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]