RE: AJP communication failures

2012-05-29 Thread Roney Duilio Stein
I forgot to mention that these errors are infrequent, 6 per day on average. Usually everything works fine, sometimes these errors happens and put the worker in error state. However, system load is still very low. Thanks, Roney -Original Message- From: Roney Duilio Stein [mailto:roney.s

AJP communication failures

2012-05-29 Thread Roney Duilio Stein
Hello. Hope anyone there can help me with this issue. I'm dealing with this for the past 2 weeks and cannot solve it completely nor locate the root cause. I have an environment with 2 boxes load balanced with mod_proxy_ajp. Each box have 1 Apache HTTP and 1 Tomcat. To illustrate this: Box A:

Re: Tomcat filter behaviour

2012-05-29 Thread Konstantin Kolinko
2012/5/29 Alexander Landsnes Keül : > So my expectations contain the only bugs in this instance :) > > Thanks. I suspected it might be something like that, but I hadn't seen > anything about it. Now to work around the issue, we've been rather dependent > on how it worked in the past but I believe

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

2012-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin, On 5/29/12 3:50 PM, Kevin wrote: > On 5/29/12 11:09 AM, "Christopher Schultz" > wrote: >> It would be better to get a heap dump both before AND after the >> full GC, but that can ruin your performance if you enable those >> automated GC option

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

2012-05-29 Thread Kevin
On 5/29/12 11:09 AM, "Christopher Schultz" wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >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 noticed that

Re: command line equivalent of tomcat service manager buttons "start" and "stop"

2012-05-29 Thread Nanne van der Zijpp (Modelit)
Hello Konstantin Thanks for this info which was very helpful. I have now created a batch program that runs at startup that comes down to: Tomcat6w//MQ Tomcat6w//MR Now if the power fails long enough to drain the UPS, the machine will go down, reboot when the power comes back and restore all s

Re: For TC 7 servlets stay in memory how long?

2012-05-29 Thread Tony Anecito
Thanks Mark! I did find this tuning guide and since I am using 64-bit java and mostly read-only operations I will try the suggestions listed.   http://www.mastertheboss.com/jboss-application-server/341-jboss-as-7-performance-tuning.html   Thanks Again, -Tony --- On Tue, 5/29/12, Mark Thomas wrot

Re: jk 1.2.36 throwing 503/sendfull/cping errors

2012-05-29 Thread Mladen Turk
On 05/29/2012 07:28 PM, Anthony J. Biacco wrote: Trunk works. Cool. That confirms my findings. We have release candidate at http://people.apache.org/~mturk/tomcat-connectors/jk-1.2.37/ Hope its gonna be voted by the end of this week. Regards -- ^TM --

RE: jk 1.2.36 throwing 503/sendfull/cping errors

2012-05-29 Thread Anthony J. Biacco
Trunk works. -Tony --- Manager, IT Operations Format Dynamics, Inc. P: 303-228-7327 F: 303-228-7305 abia...@formatdynamics.com http://www.formatdynamics.com > -Original Message- > From: Anthony J. Biacco [mailto:abia...@formatdynamics.com] > Sent: Tuesday, May 29,

RE: jk 1.2.36 throwing 503/sendfull/cping errors

2012-05-29 Thread Anthony J. Biacco
Bug 53321 Checking out the trunk now. -Tony --- Manager, IT Operations Format Dynamics, Inc. P: 303-228-7327 F: 303-228-7305 abia...@formatdynamics.com http://www.formatdynamics.com > -Original Message- > From: Mladen Turk [mailto:mt...@apache.org] > Sent: Sunday,

Re: For TC 7 servlets stay in memory how long?

2012-05-29 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29/05/2012 18:05, Tony Anecito wrote: > Thanks Christopher for your prompt reply! > > I am doing some performance tuning of Tomcat and wanted to > understand if the servlet was unloaded after a period of inactivity > like an EJB is. I am using a ca

Re: For TC 7 servlets stay in memory how long?

2012-05-29 Thread Tony Anecito
Thanks Christopher for your prompt reply!   I am doing some performance tuning of Tomcat and wanted to understand if the servlet was unloaded after a period of inactivity like an EJB is. I am using a cache in the servlet and the amount of caching is small but helpful and having the servlets say

Re: fronting tomcat with reverse proxy+SSL

2012-05-29 Thread Mark Thomas
On 29/05/2012 17:30, John Renne wrote: > >> Anyone who considers AJP a secure protocol is clearly clueless when >> it comes to security. >> > Anyone that thinks he can judge security without knowing any of the > requirements is plain wrong. As I wrote in a previous answer. It all > depends on req

Re: fronting tomcat with reverse proxy+SSL

2012-05-29 Thread John Renne
> Anyone who considers AJP a secure protocol is clearly clueless when it comes > to security. > Anyone that thinks he can judge security without knowing any of the requirements is plain wrong. As I wrote in a previous answer. It all depends on requirements and what you want to accomplish. Jo

Re: For TC 7 servlets stay in memory how long?

2012-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tony, On 5/29/12 11:17 AM, Tony Anecito wrote: > For TC 7 how long do servlets stay in memory if not invoked by a > client or another servlet? How does one control the length of time? > Is the there a config setting in a file somewhere? I don't belie

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

2012-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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 noticed that for the first 5-6 hours after an > application re-load that Ful

Re: fronting tomcat with reverse proxy+SSL

2012-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Al, On 5/28/12 1:35 AM, al so wrote: > It would be nice if I can hear from someone who has done such > familiar setup. Have you seen any performance issues in setting up > SSL both at Tomcat and Apache? As Aristedes states: only you know your environ

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

2012-05-29 Thread Kevin
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. After 5-6 hours the full GC will no longer r

RE: Tomcat filter behaviour

2012-05-29 Thread Alexander Landsnes Keül
So my expectations contain the only bugs in this instance :) Thanks. I suspected it might be something like that, but I hadn't seen anything about it. Now to work around the issue, we've been rather dependent on how it worked in the past but I believe I understand why it had to change. Alex --

Re: fronting tomcat with reverse proxy+SSL

2012-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Al, On 5/27/12 2:43 PM, al so wrote: > I've used standalone Tomcat to serve as web server+SSL+web > container in the past. > > Now, I am trying to front Tomcat with apache reverse proxy+SSL. > > 1. Is it not redundant to configure the SSL in the Tom

Re: Tomcat filter behaviour

2012-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexander, On 5/29/12 10:00 AM, Alexander Landsnes Keül wrote: > 2) I moved the config from the shared web.xml and over to a > specific webapp that needs the remote user. This works like a > charm, more or less as expected. without SSO. So, both and

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

2012-05-29 Thread Christopher Schultz
-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 > and environment is win 7 home premium with servlet/jsp/jstl with > netbeans 7.01 > > I have form where in I upload the image

Re: jsvc catalina.out log wont rotate

2012-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, On 5/28/12 6:53 PM, Konstantin Kolinko wrote: > 2012/5/29 Mark Eggers : >> >> And as Chuck as mentioned, your developers should really not use >> stdout / stderr for logging. There are lots of quite nice and >> easy to use logging frameworks ava

Tomcat filter behaviour

2012-05-29 Thread Alexander Landsnes Keül
There was a copy-paste artifact on my first mail that made no sense at the end of 2). Otherwise this is identical to my previous mail. I'm seeing some behaviour from Tomcat 7 that I'd classify as "funky" when it comes to servlet filters. First off the technical setup JDK 1.7.0_03 (64-bit) Tomc

Re: Tomcat filter behaviour

2012-05-29 Thread Konstantin Kolinko
2012/5/29 Alexander Landsnes Keül : > I'm seeing some behaviour from Tomcat 7 that I'd classify as "funky" when it > comes to servlet filters. First off the technical setup > > JDK 1.7.0_03 (64-bit) > Tomcat 7.0.26 (64-bit) binaries > 4 instances of Tomcat share those binaries, each installed as a

Tomcat filter behaviour

2012-05-29 Thread Alexander Landsnes Keül
I'm seeing some behaviour from Tomcat 7 that I'd classify as "funky" when it comes to servlet filters. First off the technical setup JDK 1.7.0_03 (64-bit) Tomcat 7.0.26 (64-bit) binaries 4 instances of Tomcat share those binaries, each installed as a pretty standard windows service using service

Re: Accessing Virtual Host through load blancer

2012-05-29 Thread Reka Thirunavukkarasu
Thanks for the insight information. > Don't /plan/ to do it, /do it/.  You /must/ send a "Host:" header to Tomcat, > to allow it to pick the correct VirtualHost.  Otherwise how would it do it ? > That's the HTTP/1.1 protocol, nothing special with Tomcat. Then we will implement it. Reka. ---

Re: Accessing Virtual Host through load blancer

2012-05-29 Thread André Warnier
Please do not top-post. Answer below the respective question or comment, not on top of the message. We don't like to have to scroll up and down to see which answer related to what. Reka Thirunavukkarasu wrote: Hi, I'm using tomcat 7.0.27 and java 1.6 in ubuntu 11.10. Here I'm not using Apache

Re: Accessing Virtual Host through load blancer

2012-05-29 Thread Reka Thirunavukkarasu
Hi, I'm using tomcat 7.0.27 and java 1.6 in ubuntu 11.10. Here I'm not using Apache httpd instead the load balancer that we have developed which will balance load within tomcat instances. Obviously, the issue is with our load balancer since it is rewriting the url to one of the actual running to

Re: Accessing Virtual Host through load blancer

2012-05-29 Thread Reka Thirunavukkarasu
Hi, I'm using tomcat 7.0.27 and java 1.6 in ubuntu 11.10. Here I'm not using Apache httpd instead the load balancer that we have developed which will balance load within tomcat instances. Obviously, the issue is with our load balancer since it is rewriting the url to one of the actual running to

Re: Accessing Virtual Host through load blancer

2012-05-29 Thread Casper Wandahl Schmidt
Den 29-05-2012 13:35, Reka Thirunavukkarasu skrev: Hi I'm configuring a load balancer in front of two tomcat instances in the same machine. I wanted to access my name based virtual host which was created across those two tomcat instances through load balancer. In this case, when i send a reques

Re: Accessing Virtual Host through load blancer

2012-05-29 Thread André Warnier
Reka Thirunavukkarasu wrote: Hi I'm configuring a load balancer in front of two tomcat instances in the same machine. I wanted to access my name based virtual host which was created across those two tomcat instances through load balancer. In this case, when i send a request like the following:

Re: command line equivalent of tomcat service manager buttons "start" and "stop"

2012-05-29 Thread Konstantin Kolinko
2012/5/28 Nanne van der Zijpp (Modelit) : > > In an older reply of yours I noticed that you mentioned the //MR// option. > This is not on the manual page I have been using > (http://tomcat.apache.org/tomcat-6.0-doc/windows-service-howto.html). So I > am wondering: which documentation did you use to