Re: Possible race condition with mod_jk + multiple workers in recovery mode

2011-01-11 Thread Andy Wang
I'm not sure, but it looks like the service() function in jk_lb_worker.c calls puts a recovering worker into the JK_LB_STATE_PROBE state and then doesn't set it to JK_LB_STATE_OK until after the end->service() call. I think this allows a second thread to come in, and since JK_WORKER_USABLE() retur

Re: Starting Tomcat admin undeploys a web service

2011-01-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robin, On 1/10/2011 9:09 AM, Robin Capone wrote: > You can't see me but, I'm banging my head on my desk. Facepalm strikes again. :( - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://en

Re: Q? is it possible to patch an existing Tomcat server install in order to advance it 'in place' to a higher version?

2011-01-11 Thread Pid
On 1/11/11 5:08 PM, Christopher Schultz wrote: > Mark, > > On 1/11/2011 11:41 AM, Mark Thomas wrote: >> On 11/01/2011 16:37, Christopher Schultz wrote: >>> Kevin, >>> >>> On 1/10/2011 5:21 PM, Kevin Murray wrote: I currently have a functioning Tomcat 5.5.25 server installed on 64-bit Lin

Possible race condition with mod_jk + multiple workers in recovery mode

2011-01-11 Thread Andy Wang
I'm still digging, but I thought I'd send this along to the mailing list while I try to decipher the mod_jk code. We're using tomcat-connector 1.2.31 on apache 2.2.17 on a Linux system. Log file is at this URL: http://www.moonteeth.com/~dopey/tomcat/mod_jk.log

Re: FIPS mode OpenSSL under Tomcat 6.0

2011-01-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, On 1/7/2011 4:24 PM, Chris Beckey wrote: > I did find documentation on running JSSE in FIPS mode, but not > OpenSSL. Please post a reference to the JSSE setup here: https://issues.apache.org/bugzilla/show_bug.cgi?id=50570 - -chris -BEGIN

Re: Apache Process going high even after restart of backend server tomcat

2011-01-11 Thread Rainer Jung
On 10.01.2011 17:00, Amol Puglia wrote: Hello Team, I am facing very weird problem of apache porcess going high upto 259 and increasing again even after restart of backend server ie. tomcat. Apache version :- 2.0.59 Tomcat Version :- 5.5.9 Apache/Tomcat connectivity :- mod_jk when i have ch

Re: FIPS mode OpenSSL under Tomcat 6.0

2011-01-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, On 1/7/2011 4:24 PM, Chris Beckey wrote: > I need to run a FIPS 140-2 certified SSL/TLS implementation under > Tomcat 6.0.20. I have OpenSSL configured and running but I cannot > find a way to set FIPS mode in OpenSSL. I don't think there's a

Re: Q? is it possible to patch an existing Tomcat server install in order to advance it 'in place' to a higher version?

2011-01-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 1/11/2011 11:41 AM, Mark Thomas wrote: > On 11/01/2011 16:37, Christopher Schultz wrote: >> Kevin, >> >> On 1/10/2011 5:21 PM, Kevin Murray wrote: >>> I currently have a functioning Tomcat 5.5.25 server installed on 64-bit >>> Linux and my go

Re: Need help in understanding tomcat thread dump

2011-01-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Amol, On 1/11/2011 7:11 AM, Amol Puglia wrote: > The major issue is [Apache httpd] process is going very high and not > coming down. If you mean that the CPU is experiencing high load, then the thread below is unlikely to be the cause: > "TP-Process

Re: realm authentication no longer works through apache - mod_jk after upgrade still works via straight tomcat 8080

2011-01-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 1/11/2011 6:56 AM, Rainer Jung wrote: > At the moment there are no open issues about mod_jk and crashes. ... >> I tried mod_jk-1.2.28-r1 and 1.2.30 and they both give the same result. > > Wonder why you tried 1.2.30 but not the most rece

Re: Q? is it possible to patch an existing Tomcat server install in order to advance it 'in place' to a higher version?

2011-01-11 Thread Mark Thomas
On 11/01/2011 16:37, Christopher Schultz wrote: > Kevin, > > On 1/10/2011 5:21 PM, Kevin Murray wrote: >> I currently have a functioning Tomcat 5.5.25 server installed on 64-bit >> Linux and my goal is to advance to version Tomcat version 5.5.31 >> Is the a method akin to applying a patch to my ex

Re: Q? is it possible to patch an existing Tomcat server install in order to advance it 'in place' to a higher version?

2011-01-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin, On 1/10/2011 5:21 PM, Kevin Murray wrote: > I currently have a functioning Tomcat 5.5.25 server installed on 64-bit > Linux and my goal is to advance to version Tomcat version 5.5.31 > Is the a method akin to applying a patch to my existing Tom

Re: Apache Process going high even after restart of backend server tomcat

2011-01-11 Thread André Warnier
Amol Puglia wrote: Hello Andre, When i posted same message to apache users list they said the apache process is going high because there is a problem in backend server tomcat and asked me to collect thread dump and post same in tomcat users list. so i posetd thread dump sanpshot in tomcat use

Re: Apache Process going high even after restart of backend server tomcat

2011-01-11 Thread Amol Puglia
Hello Andre, When i posted same message to apache users list they said the apache process is going high because there is a problem in backend server tomcat and asked me to collect thread dump and post same in tomcat users list. so i posetd thread dump sanpshot in tomcat users list. It seems tom

Re: Apache Process going high even after restart of backend server tomcat

2011-01-11 Thread Ronald Klop
In 'the other thread' there is still the question open of why there is Thread.sleep() in the MuxServlet. Can be a reason for a lot of open connections in the httpd server. But until there is more information about the problem I don't have anything to add to this discussion anymore. Ronald.

Re: Apache Process going high even after restart of backend server tomcat

2011-01-11 Thread André Warnier
Amol Puglia wrote: Hello Andre Warnier, Thanks for the response. I am talking about apache web server whose process count is increasiing to 259 and not coming down. I would like to know why process count is increasing and not coming down. Please help me to toublleshoot this issue.Let em know

Re: Apache Process going high even after restart of backend server tomcat

2011-01-11 Thread Mark Thomas
On 11/01/2011 13:06, Amol Puglia wrote: > Hello Andre Warnier, > > Thanks for the response. I am talking about apache web server whose process > count is increasiing to 259 and not coming down. I would like to know why > process count is increasing and not coming down. Please help me to > toubl

Re: Apache Process going high even after restart of backend server tomcat

2011-01-11 Thread Amol Puglia
Hello Andre Warnier, Thanks for the response. I am talking about apache web server whose process count is increasiing to 259 and not coming down. I would like to know why process count is increasing and not coming down. Please help me to toublleshoot this issue.Let em know in case you need furt

Re: Apache Process going high even after restart of backend server tomcat

2011-01-11 Thread André Warnier
Amol Puglia wrote: Hello Andre Warnier, Thanks for the response. My main problem is apache process is increasing very fast and reaching to count 259 thereby bringing donw application. For that i took thread dump also and tried to analyze but unable to find out what is causing the issue. I ha

Re: Need help in understanding tomcat thread dump

2011-01-11 Thread André Warnier
All, may I suggest that we drop this thread, and concentrate on the other one "Apache Process going high even after restart of backend server tomcat". They are apparently related to the same issue, and it is confusing to follow 2 separate threads. Leon Rosenberg wrote: Hello, On Tue, Jan

Re: Need help in understanding tomcat thread dump

2011-01-11 Thread Leon Rosenberg
Hello, On Tue, Jan 11, 2011 at 1:11 PM, Amol Puglia wrote: > Hello Ronald, > > The major issue is apache process is goinfg very high and not coming down. what exactly is "going very high"? Do you mean that the number of apache processes increases? If so could it be, that your (or whosever) MUXS

Re: Need help in understanding tomcat thread dump

2011-01-11 Thread Amol Puglia
Hello Ronald, The major issue is apache process is goinfg very high and not coming down. I would like to know what is causing for apache process to go high. Is it porblem in a backend tomcat server or it has to do something with apache itself.? I am using apache version :- 2.0.59 tomcat versi

Re: Apache Process going high even after restart of backend server tomcat

2011-01-11 Thread Amol Puglia
Hello Andre Warnier, Thanks for the response. My main problem is apache process is increasing very fast and reaching to count 259 thereby bringing donw application. For that i took thread dump also and tried to analyze but unable to find out what is causing the issue. I have also posted some p

Re: Need help in understanding tomcat thread dump

2011-01-11 Thread André Warnier
Ronald Klop wrote: ... What is the issue? (Was there another mail that I missed?) Maybe. There is another thread from the same OP, entitled "Apache Process going high even after restart of backend server tomcat", but I am still trying to figure out what the relationship is, and what is the

Re: Apache Process going high even after restart of backend server tomcat

2011-01-11 Thread André Warnier
Amol Puglia wrote: Hello Andre Warnier, Thanks for the response. Is there anyway i can bring down this connections. I would like to know why this process id's are not getting terminated automatically. I have run the traceroute command and following is the output of the command. Hi. After y

Re: realm authentication no longer works through apache - mod_jk after upgrade still works via straight tomcat 8080

2011-01-11 Thread Rainer Jung
On 11.01.2011 10:40, David Sperling wrote: Hi- I recently upgraded tomcat, apache, apr and mod_jk. Now when I access via apache --> mod_jk on port 80 ie. www.mydomain.com/myappname/ the Velocity login page displays fine but after hitting the login button /admin/j_security_check displays in the

Re: Need help in understanding tomcat thread dump

2011-01-11 Thread Ronald Klop
Op dinsdag, 11 januari 2011 12:11 schreef Amol Puglia :> Hello Team, I have taken thread dump for tomcat. I have analyzed it using Thread dump analyzer. After reading thread dump i am unable to point which thread is exactly causing the issue. kindly guide me to read thread dumps. Followi

Need help in understanding tomcat thread dump

2011-01-11 Thread Amol Puglia
Hello Team, I have taken thread dump for tomcat. I have analyzed it using Thread dump analyzer. After reading thread dump i am unable to point which thread is exactly causing the issue. kindly guide me to read thread dumps. Following is the one of the thread from the thread dump output. "TP-

Re: RemoteIP valve and multiple X-Forwarded-For headers

2011-01-11 Thread Brett Delle Grazie
Hi, On 10 December 2010 14:42, Jim Riggs wrote: > On Dec 10, 2010, at 7:59 AM, Mark Thomas wrote: > >>> Looks like a bug, >>> >>> Please add it to bugzilla, as Mark suggested. >>> >>> BTW, I think that the following change can fix it: >>> (for current tc6.0.x, not tested!) >> >> I don't think so.

realm authentication no longer works through apache - mod_jk after upgrade still works via straight tomcat 8080

2011-01-11 Thread David Sperling
Hi- I recently upgraded tomcat, apache, apr and mod_jk. Now when I access via apache --> mod_jk on port 80 ie. www.mydomain.com/myappname/ the Velocity login page displays fine but after hitting the login button /admin/j_security_check displays in the URL and a blank page is displayed. .do and .v

Re: Apache Process going high even after restart of backend server tomcat

2011-01-11 Thread Amol Puglia
Hello Andre Warnier, Thanks for the response. Is there anyway i can bring down this connections. I would like to know why this process id's are not getting terminated automatically. I have run the traceroute command and following is the output of the command. Please let me know in case any fur

Re: Where does my stderr go?

2011-01-11 Thread Thomas Kloeber
Konstantin Kolinko wrote on 11.01.2011 08:55: 2011/1/11 Thomas Kloeber: Konstantin, Konstantin Kolinko wrote on 11.01.2011 01:03: https://issues.apache.org/bugzilla/show_bug.cgi?id=18462 thanks for sending this link. I'm surprised that this is such an old issue! So, if I understand the discus