Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 93253 invoked from network); 2 Feb 2004 22:25:36 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Feb 2004 22:25:36 -0000 Received: (qmail 35674 invoked by uid 500); 2 Feb 2004 22:24:19 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 35579 invoked by uid 500); 2 Feb 2004 22:24:18 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 35494 invoked from network); 2 Feb 2004 22:24:18 -0000 Received: from unknown (HELO smtp-auth1.radiant.net) (66.163.205.65) by daedalus.apache.org with SMTP; 2 Feb 2004 22:24:18 -0000 Received: (qmail 20523 invoked from network); 2 Feb 2004 22:17:59 -0000 Received: from unknown (HELO p0061) (64.141.49.18) by smtp-dom.radiant.net with SMTP; 2 Feb 2004 22:17:59 -0000 From: "Yansheng Lin" To: "'Tomcat Users List'" Subject: RE: Tomcat 5.0.18 : Bad Cookie Names, the return ? Date: Mon, 2 Feb 2004 15:24:24 -0700 Keywords: Tomcat User Organization: Silvacom Ltd. Message-ID: <001001c3e9db$4fd8be20$7202a8c0@stbedm.silvacom.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 Importance: Normal In-Reply-To: <20040202215857.A676A180053D@mwinf0904.wanadoo.fr> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Do you get this error when you try to access the webapp inside of your = firewall? For example, on the Win2K server itself with http://localhost:80/. =20 Sorry I cannot be much of help there since we use a different network = setup, and Apache-Tomcat combo.=20 Speaking of sniffer, I found Burp proxy really cool.=20 -----Original Message----- From: Papillon [mailto:leakim@wanadoo.fr]=20 Sent: Monday, February 02, 2004 2:59 PM To: 'Tomcat Users List' Subject: RE: Tomcat 5.0.18 : Bad Cookie Names, the return ? 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:yansheng.lin@silvacom.com]=20 Sent: lundi 2 f=E9vrier 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=3DOPAQUE_STRING1; NAME2=3DOPAQUE_STRING2 ... Btw, do you use Tomcat-StandAlone or with Apache? =20 -----Original Message----- From: Papillon [mailto:leakim@wanadoo.fr] Sent: Sunday, February 01, 2004 6:55 AM To: tomcat-user@jakarta.apache.org 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=DAserv=DA at javax.servlet.http.Cookie.(Cookie.java:185) at org.apache.coyote.tomcat5.CoyoteAdapter.parseCookies(CoyoteAdapter.java:4= 24) at org.apache.coyote.tomcat5.CoyoteAdapter.postParseRequest(CoyoteAdapter.ja= va: 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.processCo= nne 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=DAserv=DA at javax.servlet.http.Cookie.(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 --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org