Re: tomcat full GC every 2 minutes for first 6 hours after war reload

2012-05-30 Thread Pid
On 29/05/2012 20:50, Kevin wrote: On 5/29/12 11:09 AM, Christopher Schultz ch...@christopherschultz.net wrote: Kevin, (FYI these are always a PITA to diagnose...) On 5/29/12 11:03 AM, Kevin wrote: We have a cluster of tomcat servers being used on a very high volume website. We've

Re: tomcat full GC every 2 minutes for first 6 hours after war reload

2012-05-30 Thread Pid
On 29/05/2012 16:03, Kevin wrote: Hi We have a cluster of tomcat servers being used on a very high volume website. We've noticed that for the first 5-6 hours after an application re-load that Full GC will run every 2 minutes pausing the application for anywhere between 5 and 20 seconds.

Re: [OT] AJP communication failures

2012-05-30 Thread André Warnier
Roney Duilio Stein wrote: [lots of things related to the real issue] [Tue May 29 15:29:58 2012] [error] [client 10.45.7.225] File does not exist: E:/Apache/htdocs/favicon.ico Maybe do yourself a small favor : copy E:/Apache/manual/images/favicon.ico to E:/Apache/htdocs/favicon.ico, and

Re: AJP communication failures

2012-05-30 Thread André Warnier
Hi. Thank you for all the very detailed information provided. From what I can see in the logs, at this point I would have to say that my impression is that this is a problem buried fairly deep in the TCP/IP stack, and both Apache+mod_proxy_ajp, and Tomcat, may just be suffering the

RE: AJP communication failures

2012-05-30 Thread Roney Duilio Stein
Hello Warnier, The disablereuse=On just made things worse, maybe due to the high frequency/quantity of opened connections. I'll look on the possibility to disable the MS NLB. Thanks, Roney - To unsubscribe, e-mail:

Re: tomcat jdbc pool, creating a pool of pools, single connection memory footprint

2012-05-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ahmed, On 5/29/12 9:29 AM, S Ahmed wrote: If my requirement for a hosted application is to give each customer a separate instance of mysql, I am curious how feasible that would be. You can certainly do this. What is the memory footprint for a

org.apache.catalina.valves.RemoteHostValve does this work ???

2012-05-30 Thread N.s.Karthik
Hi Spec JDK1.6 TC : tomcat 6.26 O/s win 7 /Linux (redhat) I have configured the valve as follows in TC /conf/Context.xml *Valve className=org.apache.catalina.valves.RemoteHostValve allow=ai-itl-107 deny=192.168.8.210 /* On restart of the TC ... I am denied access

Re: AJP communication failures

2012-05-30 Thread André Warnier
Roney Duilio Stein wrote: Hello Warnier, The disablereuse=On just made things worse, maybe due to the high frequency/quantity of opened connections. I'll look on the possibility to disable the MS NLB. According to my superficial reading of a couple of MS KB pages about the NLB, it should be

Re: AJP communication failures

2012-05-30 Thread Brett Delle Grazie
On 30 May 2012 16:01, André Warnier a...@ice-sa.com wrote: Roney Duilio Stein wrote: Hello Warnier, The disablereuse=On just made things worse, maybe due to the high frequency/quantity of opened connections. I'll look on the possibility to disable the MS NLB. According to my superficial

how to test hash collision security fix in tomcat 7.1

2012-05-30 Thread manjesh
Hi , I have downloaded tomcat 7.1 for Windows OS added the following parameter (maxParameterCoun) into server.xml Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 maxParameterCount=5/ restarted the server. to test this fix , I

thread dump of Tomcat7.0.27.exe on is not working

2012-05-30 Thread Takeshi.Yoshida
Hi, I installed Tomcat7.0.27.exe on Windows7 and Windows2008R2. The Tomcat almost works fine. However, when I right click on the Tomcat service icon on system tray and select menu Thread Dump, I get a windows message and it's saying: The system can not find the file specified. Unable to open the

using CATALINA_BASE

2012-05-30 Thread Chad.Davis
I'm following the directions found in the RUNNING.txt file of the distribution, version 5.5.35. It says: you can pass a '-Dcatalina.base=$CATALINA_BASE' argument when executing the startup command This doesn't work for me. I think I kind of know why but a couple of points of clarification

Re: tomcat full GC every 2 minutes for first 6 hours after war reload

2012-05-30 Thread Kevin
On 5/30/12 2:38 AM, Pid p...@pidster.com wrote: On 29/05/2012 20:50, Kevin wrote: On 5/29/12 11:09 AM, Christopher Schultz ch...@christopherschultz.net wrote: Kevin, (FYI these are always a PITA to diagnose...) On 5/29/12 11:03 AM, Kevin wrote: We have a cluster of tomcat

Re: using CATALINA_BASE

2012-05-30 Thread Mark Eggers
From: chad.da...@emc.com chad.da...@emc.com To: users@tomcat.apache.org Sent: Wednesday, May 30, 2012 9:40 AM Subject: using CATALINA_BASE I'm following the directions found in the RUNNING.txt file of the distribution, version 5.5.35. It says: you can pass a

RE: org.apache.catalina.valves.RemoteHostValve does this work ???

2012-05-30 Thread Leo Donahue - PLANDEVX
-Original Message- From: N.s.Karthik [mailto:nskarthi...@gmail.com] Subject: org.apache.catalina.valves.RemoteHostValve does this work ??? Hi Spec JDK1.6 TC : tomcat 6.26 O/s win 7 /Linux (redhat) I have configured the valve as follows in TC /conf/Context.xml *Valve

RE: using CATALINA_BASE

2012-05-30 Thread Chad.Davis
I'm following the directions found in the RUNNING.txt file of the distribution, version 5.5.35. First of all, I'm going to assume that you're running a 5.5 version of Tomcat, since the line you quote is only present in RUNNING.txt from those versions. At least it's not present in the

Question about resetting datasources and changes to the BasicDataSource.close() method

2012-05-30 Thread Hedrick, Brooke - 43
How are others dynamically resetting/resizing their database connection pools when necessary? Background: I am running into some issues with how we manage datasources due to changes in Tomcat/commons-dbcp. We are just now beginning to move some of our applications to Tomcat 7.0.21 from Tomcat

Re: using CATALINA_BASE

2012-05-30 Thread Mark Eggers
From: chad.da...@emc.com chad.da...@emc.com To: users@tomcat.apache.org; its_toas...@yahoo.com Sent: Wednesday, May 30, 2012 11:46 AM Subject: RE: using CATALINA_BASE I'm following the directions found in the RUNNING.txt file of the distribution, version

Re: how to test hash collision security fix in tomcat 7.1

2012-05-30 Thread Konstantin Kolinko
2012/5/30 manjesh manjes...@gmail.com: Hi , I have downloaded tomcat 7.1 for Windows OS 1. There is no such version. I do not know what you are testing. added the following parameter (maxParameterCoun)  into server.xml  Connector port=8080 protocol=HTTP/1.1              

Re: org.apache.catalina.valves.RemoteHostValve does this work ???

2012-05-30 Thread André Warnier
Leo Donahue - PLANDEVX wrote: -Original Message- From: N.s.Karthik [mailto:nskarthi...@gmail.com] Subject: org.apache.catalina.valves.RemoteHostValve does this work ??? Hi Spec JDK1.6 TC : tomcat 6.26 O/s win 7 /Linux (redhat) I have configured the valve as follows in TC

Re: tomcat jdbc pool, creating a pool of pools, single connection memory footprint

2012-05-30 Thread S Ahmed
Chris, Great thanks that is exactly what I was looking for, just to get an idea at this point. And yes it was for mysql. I was thinking one could create a smarter pool, one that created more connections for sites used more often, and less for others. Much appreciated. On Wed, May 30, 2012 at

Re: tomcat jdbc pool, creating a pool of pools, single connection memory footprint

2012-05-30 Thread André Warnier
On Wed, May 30, 2012 at 10:07 AM, Christopher Schultz ch...@christopherschultz.net wrote: .. If my environment and requirements match yours, you'd need 1 * max_pool_size * 66KiB at peak usage. That's about 640MiB for each connection you want in 10k pools. For a (uniform) max pool size of

Re: tomcat jdbc pool, creating a pool of pools, single connection memory footprint

2012-05-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/30/12 6:18 PM, André Warnier wrote: Taking the same hypothetical case and figures : Assuming that you need a total of (1 * 4 connections) = 4 connections. Assuming that it takes 10ms to set up one such connection, and that

Re: using CATALINA_BASE

2012-05-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chad, On 5/30/12 12:40 PM, chad.da...@emc.com wrote: I'm following the directions found in the RUNNING.txt file of the distribution, version 5.5.35. It says: you can pass a '-Dcatalina.base=$CATALINA_BASE' argument when executing the

Re: Question about resetting datasources and changes to the BasicDataSource.close() method

2012-05-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brooke, On 5/30/12 3:31 PM, Hedrick, Brooke - 43 wrote: How are others dynamically resetting/resizing their database connection pools when necessary? Quick question about all this: why do you need to do any more dynamic-resizing than dbcp already

Re: thread dump of Tomcat7.0.27.exe on is not working

2012-05-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Takeshi, On 5/30/12 11:44 AM, Takeshi.Yoshida wrote: I installed Tomcat7.0.27.exe on Windows7 and Windows2008R2. The Tomcat almost works fine. However, when I right click on the Tomcat service icon on system tray and select menu Thread Dump, I get

Re: using CATALINA_BASE

2012-05-30 Thread Konstantin Kolinko
2012/5/31 Christopher Schultz ch...@christopherschultz.net: On 5/30/12 12:40 PM, chad.da...@emc.com wrote: I'm following the directions found in the RUNNING.txt file of the distribution, version 5.5.35. It says: you can pass a '-Dcatalina.base=$CATALINA_BASE' argument when executing the

Re: how to test hash collision security fix in tomcat 7.1

2012-05-30 Thread manjesh
Hi, The exact version of tomcat I am working with is 7.0.27 I am verifying the fix discussed here http://news.softpedia.com/news/Apache-Tomcat-Workaround-for-Hashtable-Collision-DoS-Vulnerability-243544.shtml Here is the snippet of implementation [ org.apache.tomcat.util.http.Parameters.java]

Re: Where do I store Images in tomcat structure so that I can retrive it properly in all browsers

2012-05-30 Thread Kiran Badi
On 5/29/2012 8:15 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kiran, On 5/28/12 6:38 PM, Kiran Badi wrote: I am using Tomcat 7.0.11 Upgrade. http://tomcat.apache.org/security-7.html Yup, I already have 7.0.27 and this one is tied with netbeans and I really

Re: is there anyway to check whether mod_jk is properly built or not?

2012-05-30 Thread Aman Arora
mod_jk.so is created and i copied it to /usr/local/apache2/modules. i followed the steps from http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html#s61 there they have written change directory to TOMCAT_HOME/native/mod_jk/apache1.3 but i m afraid that theres no such directory. and

RE: is there anyway to check whether mod_jk is properly built or not?

2012-05-30 Thread Caldarale, Charles R
From: Aman Arora [mailto:aman.arora...@gmail.com] Subject: Re: is there anyway to check whether mod_jk is properly built or not? i followed the steps from http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html#s61 Why in the world would anyone be looking at doc for a version of Tomcat