Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 45366 invoked from network); 29 Nov 2005 07:14:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Nov 2005 07:14:24 -0000 Received: (qmail 23425 invoked by uid 500); 29 Nov 2005 07:14:23 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 23414 invoked by uid 99); 29 Nov 2005 07:14:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Nov 2005 23:14:22 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mpermar@gmail.com designates 64.233.184.200 as permitted sender) Received: from [64.233.184.200] (HELO wproxy.gmail.com) (64.233.184.200) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Nov 2005 23:15:52 -0800 Received: by wproxy.gmail.com with SMTP id i2so2371406wra for ; Mon, 28 Nov 2005 23:14:01 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ZGNMWMJsazwemyW1MIrqLVd7GCWektyJZ0rAcF7PgQy7pzMaOnw0Q273zhikqDv2Fhvjf+iBhS9m4qKWj9rADa1dy6aVW4c7wU/EkJm9Z859Xphu25I+BzfUAnJ5THyFJwXOckcnkduO5ALnzzw94aYPJIWPen7V4JPJR654oIs= Received: by 10.54.95.13 with SMTP id s13mr8143943wrb; Mon, 28 Nov 2005 23:14:01 -0800 (PST) Received: by 10.54.137.14 with HTTP; Mon, 28 Nov 2005 23:14:01 -0800 (PST) Message-ID: <8fa1023f0511282314n26fd7d47o6229f556b16ab3f2@mail.gmail.com> Date: Tue, 29 Nov 2005 08:14:01 +0100 From: Martin Perez To: jackrabbit-dev@incubator.apache.org Subject: Re: Exception with WebDAV In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_19280_14879578.1133248441300" References: <8fa1023f0511281348w4f24f72eg8d6079b6fb123f34@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_19280_14879578.1133248441300 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Firefox, I can't confirm the version now because it's on my home, but if yo= u needed I can send you later. Even more, I should send it because in my work with Firefox 1.0.3. the exception is not thrown. I'll investigate further. Regards, Martin On 11/28/05, Roy T. Fielding wrote: > > On Nov 28, 2005, at 1:48 PM, Martin Perez wrote: > > > It seems that WebDAV is on fashion these days :) > > > > Here is one exception. If I access to any repository through WebDAV > > using a > > web browser (http://localhost:8080/webapp/repository/default the > > first time > > goes well, but if I refresh the page then I get the following > > exception: > > > > GRAVE: Servlet.service() para servlet Webdav lanz=F3 excepci=F3n > > java.lang.IllegalArgumentException: mar, 29 nov 2005 22:45:48 CET > > at org.apache.catalina.connector.Request.getDateHeader > > (Request.java > > :1791) > > at org.apache.catalina.connector.RequestFacade.getDateHeader( > > RequestFacade.java:630) > > at org.apache.jackrabbit.webdav.WebdavRequestImpl.getDateHeader( > > WebdavRequestImpl.java:724) > > This is just a guess, but I suspect that catalina is upset with the fact > that "mar, 29 nov 2005 22:45:48 CET" is not a legal HTTP date. I don't > know why it treats it as an exception -- I would simply return a date > of 1/1/1970. We should catch that exception in WebdavRequestImpl. > > In any case, the client should not be sending localized date strings > in HTTP. What is the web browser? > > ....Roy > > ------=_Part_19280_14879578.1133248441300--