tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: Tomcat and Webdav - [Fatal Error] :-1:-1: Premature end of file
Date Mon, 30 Jul 2007 23:06:34 GMT
Katilie, John wrote:
> All, I'm not sure if I should post this question to the Tomcat or
> Commons List server so please let me know if posting it to Tomcat is
> Incorrect.

This is the right place.

> Anyways, I am running Tomcat 5.5.23 and a Standalone Java application
> using Common HttpClient to access Webdav resources under Tomcat. When I
> updated the client side commons-HttpClient.jar from 2.0 to 3.x I get an
> error under Tomcat indicating: [Fatal Error] :-1:-1: Premature end of
> file.

This is a bug. Tomcat tries to parse the request content for some WebDAV
requests regardless of whether or not there is any content to parse.

I have a fix and will apply it shortly. It will be in the next 4.1.x,
5.5.x and 6.0.x releases.


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message