Re: Problems uploading huge files >2GB to Tomcat app.

2012-04-12 Thread Konstantin Kolinko
2012/4/10 Konstantin Kolinko : > 2012/4/10 Nick Porter : >> >> [NP] Yes. I can fathom no pattern to them. In fact, the only way I can >> actually see them is to packet trace the HTTP exchange. > > You do not have AccessLogValve configured?! > > I did the following to test how the standard Manager

Re: Problems uploading huge files >2GB to Tomcat app.

2012-04-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 4/10/12 1:46 PM, Konstantin Kolinko wrote: > 2). Uploading test1.war (>2Gb): > > Both Tomcat 6 and Tomcat 7 close request immediately, responding > with status 400. > > Looking into access log I see wrong value of content-length heade

Re: Problems uploading huge files >2GB to Tomcat app.

2012-04-10 Thread Konstantin Kolinko
2012/4/10 André Warnier : > Konstantin Kolinko wrote: > ... >> >> This is from Tomcat 7 access log: >> >> [[[ >> 127.0.0.1 - - [10/Apr/2012:21:08:31 +0400] "POST >> >> /manager/html/upload?org.apache.catalina.filters.CSRF_NONCE=B5B161E96A5566CCE5FA70AB6477B2B9 >> HTTP/1.1" 400 - in:[-1980123022] ou

Re: Problems uploading huge files >2GB to Tomcat app.

2012-04-10 Thread André Warnier
Konstantin Kolinko wrote: ... This is from Tomcat 7 access log: [[[ 127.0.0.1 - - [10/Apr/2012:21:08:31 +0400] "POST /manager/html/upload?org.apache.catalina.filters.CSRF_NONCE=B5B161E96A5566CCE5FA70AB6477B2B9 HTTP/1.1" 400 - in:[-1980123022] out:[-] 127.0.0.1 - - [10/Apr/2012:21:09:24 +0400]

Re: Problems uploading huge files >2GB to Tomcat app.

2012-04-10 Thread Konstantin Kolinko
2012/4/10 Nick Porter : > > [NP] Yes. I can fathom no pattern to them. In fact, the only way I can > actually see them is to packet trace the HTTP exchange. You do not have AccessLogValve configured?! I did the following to test how the standard Manager application handles it. In 6.0.x and then

Re: Problems uploading huge files >2GB to Tomcat app.

2012-04-10 Thread André Warnier
Just a note in the text below. Nick Porter wrote: ... 1. Tomcat 6 does not handle file upload by itself (if you are using Content-Type="multipart/form-data"). It can only provide request.getInputStream() and something else has to consume it. Usually that will be Apache Commons Fileupload

RE: Problems uploading huge files >2GB to Tomcat app.

2012-04-10 Thread Nick Porter
linko [mailto:knst.koli...@gmail.com] Sent: 10 April 2012 13:39 To: Tomcat Users List Subject: Re: Problems uploading huge files >2GB to Tomcat app. 2012/4/10 Nick Porter : > > Hi all. New to Tomcat and not a developer but I have been trying to deploy a > website using Debian6, Tomc

Re: Problems uploading huge files >2GB to Tomcat app.

2012-04-10 Thread Konstantin Kolinko
2012/4/10 Nick Porter : > > Hi all. New to Tomcat and not a developer but I have been trying to deploy a > website using Debian6, Tomcat 6.0.35 hosting the OpenCMS 8.0.1 app. The > website and the OpenCMS app has a facility to upload files however I only > seem to be able to upload files that ar