RE: tomcat asynchronous invocation problem

2012-04-10 Thread Vyacheslav Trainin
I reproduced it on: - tomcat-7.0.23 and 7.0.25 - java 64 bit 1.6.0_18 and 1.6.0_29 - Linux CentOS release 5.6 (Final) 64 bit -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Monday, April 09, 2012 8:37 PM To: Tomcat Users List Subject: Re: tomcat

RE: tomcat asynchronous invocation problem

2012-04-10 Thread Mark Thomas
Vyacheslav Trainin vyacheslav.trai...@playtech.com wrote: I reproduced it on: - tomcat-7.0.23 and 7.0.25 - java 64 bit 1.6.0_18 and 1.6.0_29 - Linux CentOS release 5.6 (Final) 64 bit One one other question - which connector were you using? BIO, NIO, or APR/native? HTTP

RE: tomcat asynchronous invocation problem

2012-04-10 Thread Vyacheslav Trainin
I use NIO connector. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, April 10, 2012 10:52 AM To: Tomcat Users List Subject: RE: tomcat asynchronous invocation problem Vyacheslav Trainin vyacheslav.trai...@playtech.com wrote: I reproduced it on: -

Problems uploading huge files 2GB to Tomcat app.

2012-04-10 Thread 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 are less than 2GB. I did read

Tomcat7: French Chars not properly displaying

2012-04-10 Thread sandeep.kaur2
Hi, In our product, we were using the default tomcat 6 installation to store our web pages and used to get the French character displayed properly using our AGENT configuration. However, as we upgraded from tomcat 6 to tomcat 7, the French characters are not getting displayed using the

Distributing Tomcat

2012-04-10 Thread Ehsan Sadeghi
Hello, I wanted to know if it is legal to create a package (zip file) that includes Tomcat and a webapp and distribute it? Cheers, Ehsan Sadeghi

AW: FormAuthentication Valve changes fail with RequestListeners?

2012-04-10 Thread Thomas Strauß
Hi, we still see this issue. Did our test data reveal anything that you found problematic? Thank you for the support, and Happy Easter to all who celebrated! Mit freundlichen Grüßen Thomas Strauß SRS PaperDynamix® WE MAKE PAPER WORK SRS-Management GmbH Berliner Ring 93 64625 Bensheim T

Tomcat7: French Chars not properly displaying

2012-04-10 Thread sandeep.kaur2
Hi, In our product, we were using the default tomcat 6 installation to store our web pages and used to get the French character displayed properly using our AGENT configuration. However, as we upgraded from tomcat 6 to tomcat 7, the French characters are not getting displayed using the

Re: Tomcat7: French Chars not properly displaying

2012-04-10 Thread Konstantin Kolinko
2012/4/10 sandeep.ka...@rsa.com: Hi, In our product, we were using the default tomcat 6 installation to store our web pages and used to get the French character displayed properly using our AGENT configuration. What is AGENT? However, as we upgraded from tomcat 6 to tomcat 7, the French

Re: Non page pool issue will not go away, please help.

2012-04-10 Thread Doron Tsur
Switching to Blocking IO from Non Blocking IO seems to have solved the issue. I don't know why, does anybody have ideas? On Sat, Mar 10, 2012 at 2:57 AM, Doron Tsur qbal...@gmail.com wrote: This customer has two cluster nodes. This helps the server to be more available. They are identical in

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

2012-04-10 Thread Konstantin Kolinko
2012/4/10 Nick Porter nick.por...@tradar.com: 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

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

2012-04-10 Thread Nick Porter
Thanks for replying Konstantin. See my responses to your questions below. -- np -- Tradar Limited is a limited company registered in England and Wales. Registered number: 3431380. Registered office: 20-21 Jockey's Fields, London. WC1R 4BW -Original Message- From: Konstantin Kolinko

Re: Tomcat7: French Chars not properly displaying

2012-04-10 Thread André Warnier
sandeep.ka...@rsa.com wrote: ... In addition to Konstantin's comments.. Can you specify the exact platform OS on which this happens ? If you installed Tomcat from a package, make sure that there are no differences between your Tomcat6 and Tomcat7 startup scripts, in terms of the locale

Re: Tomcat6 - Context - aliases

2012-04-10 Thread Léa Massiot
Hello and thank you for your answers. Christopher Schultz-2 wrote why don't you just write a simple file-fetching servlet? They are dead-simple to write This looks very interesting. André Warnier wrote you probably do /not/ want bots to be able to point directly to the documents uploaded

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: Tomcat6 - Context - aliases

2012-04-10 Thread André Warnier
Léa Massiot wrote: ... If any of you two can post the code of the file-fetching servlet, it would be great. http://lmgtfy.com/?q=java+file+download+servlet :-) - To unsubscribe, e-mail:

Re: Bug in Tomcat AJP Connector?

2012-04-10 Thread Pid
On 09/04/2012 09:18, Ofer Israeli wrote: On 08/04/2012 23:14, Stefan Mayr ste...@mayr-stefan.de wrote: Am 08.04.2012 18:41, schrieb Ofer Israeli: 2012/4/6 Pidp...@pidster.com: On 05/04/2012 22:17, Ofer Israeli wrote: Y On 5 באפר 2012, at 18:58, Konstantin Kolinkoknst.koli...@gmail.com

Re: Non page pool issue will not go away, please help.

2012-04-10 Thread Pid
On 10/04/2012 13:11, Doron Tsur wrote: Switching to Blocking IO from Non Blocking IO seems to have solved the issue. I don't know why, does anybody have ideas? Try the latest version of Tomcat. There were patches to the Connector code in versions subsequent to 7.0.23. p -- [key:62590808]

Re: Tomcat6 - Context - aliases

2012-04-10 Thread Léa Massiot
@André Warnier: Thank you. -- View this message in context: http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678430p4762217.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail:

7.0.25 to 7.0.27 requires -Xmx32m to go to -Xmx512m

2012-04-10 Thread peter nightingale
I recently updated from 7.0.25. I was able to start with -Xmx32m. After getting 7.0.27 - I ended up needing to go all the way to -Xmx512m. Note that the OOM only occured on startup. After starting up and attaching with JConsole - Heap was very small. I was able to get 7.0.27 back to to

Problems w/ TLS (record-splitting)

2012-04-10 Thread Gregor S.
Hi guys, I know, it's actually not a Tomcat-problem, but I was wondering if one of those guru hanging around in this mailing-list could give me a hint on how to handle this problem. As some of you might be aware, Firefox (from on version 9.x) cannot handle TLS-records which are served from a

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

2012-04-10 Thread Konstantin Kolinko
2012/4/10 Nick Porter nick.por...@tradar.com: [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

Re: Distributing Tomcat

2012-04-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ehsan, On 4/10/12 6:55 AM, Ehsan Sadeghi wrote: I wanted to know if it is legal to create a package (zip file) that includes Tomcat and a webapp and distribute it? http://tomcat.apache.org/legal.html You should probably read the Apache Software

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: 7.0.25 to 7.0.27 requires -Xmx32m to go to -Xmx512m

2012-04-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 4/10/12 12:45 PM, peter nightingale wrote: I recently updated from 7.0.25. I was able to start with -Xmx32m. After getting 7.0.27 - I ended up needing to go all the way to -Xmx512m. Note that the OOM only occured on startup. After

Re: Problems w/ TLS (record-splitting)

2012-04-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gregor, On 4/10/12 1:46 PM, Gregor S. wrote: We are using Apache Tomcat 6.0.24 on Scientific Linux release 6.2 (Carbon), Tomcat is running as a demon via jsvc, and Tomcat is using the Apache Portable Runtime (APR). What version of APR are you

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

2012-04-10 Thread Konstantin Kolinko
2012/4/10 André Warnier a...@ice-sa.com: 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]

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 header

Re: Problems w/ TLS (record-splitting)

2012-04-10 Thread Gregor S.
Hi Chris, first, thanks for your answer. Since this is a *sic* managed server, I don't have root-access, so I can only guess regarding the version of the APR (it's the one from the packages, but AFAIK the APR has been stable since quite a while, so I asume it should be the latest one. As for

mod_jk - Firewall connection dropping

2012-04-10 Thread Luke Meyer
I have some questions about the documentation at http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html regarding the Firewall Connection Dropping section. I don't think it's quite right, but maybe I misunderstand. To quote the sections in question: Many firewalls will allow

Re: High CPU with Tomcat 7.0.26 6.0.35

2012-04-10 Thread B.V. Prasad
Th thread dump attached below is when the CPU was showing 55% (even after a day) even after all the incoming requests have been disabled. I tried with all latest: JDK 6.0.31, APR 1.4.6 Tomcat native library 1.22. My -Xmx is 2048M, no changes to default PermGen size. I don't have OOME. The CPU

Re: Problems w/ TLS (record-splitting)

2012-04-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gregor, On 4/10/12 3:57 PM, Gregor S. wrote: Since this is a *sic* managed server, I don't have root-access, so I can only guess regarding the version of the APR (it's the one from the packages, but AFAIK the APR has been stable since quite a

Re: Non page pool issue will not go away, please help.

2012-04-10 Thread Doron Tsur
Another conclusion to share here is that when running on windows 2003 enterprise R2 (the one we tested, but could be other windows OS) killing tomcat will not return the non page pool back to the OS. Even on systems that it isn't leaking. Usually there is no need for so much memory including our

Re: Non page pool issue will not go away, please help.

2012-04-10 Thread Pid
On 10/04/2012 23:21, Doron Tsur wrote: Another conclusion to share here is that when running on windows 2003 enterprise R2 (the one we tested, but could be other windows OS) killing tomcat will not return the non page pool back to the OS. Even on systems that it isn't leaking. Usually there is

Re: Problems w/ TLS (record-splitting)

2012-04-10 Thread Konstantin Kolinko
2012/4/10 Gregor S. rc4...@googlemail.com: Hi guys, I know, it's actually not a Tomcat-problem, but I was wondering if one of those guru hanging around in this mailing-list could give me a hint on how to handle this problem. As some of you might be aware, Firefox (from on version 9.x)

Re: 7.0.25 to 7.0.27 requires -Xmx32m to go to -Xmx512m

2012-04-10 Thread Peter
hey Christopher, the app I used that uncovered the issue is one I use exclusively to validate tomcat releases;) it is a hello world style app using spring/servlet3.0. it has simple spring aop point cutting via jamon , simple spring jms (active mq) simple spring jaxrs, simple spring jaxws,