Re: mod_jk not working !!

2012-05-27 Thread Aman Arora
Dear All, Thanks for your suggestions and your valuable time... next time i post questions,i ll take care of the proper things . i ll try to work on your suggestions and then come back to you people . Thanks Aman Arora > >

Re: mod_jk not working !!

2012-05-25 Thread Pid *
On 25 May 2012, at 19:21, Mark Eggers wrote: >> >> From: Christopher Schultz >> To: Tomcat Users List >> Sent: Friday, May 25, 2012 9:57 AM >> Subject: Re: mod_jk not working !! >> >> -BEGIN PGP SIGNED MESSAGE

Re: mod_jk not working !!

2012-05-25 Thread Mark Eggers
> > From: Christopher Schultz >To: Tomcat Users List >Sent: Friday, May 25, 2012 9:57 AM >Subject: Re: mod_jk not working !! > >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >Chuck, > >On 5/25/12 12:41 PM, Caldarale, Ch

Re: mod_jk not working !!

2012-05-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 5/25/12 12:41 PM, Caldarale, Charles R wrote: >> From: Mark Eggers [mailto:its_toas...@yahoo.com] Subject: Re: >> mod_jk not working !! > > >> I'll try to give a few general directions. > > >

RE: mod_jk not working !!

2012-05-25 Thread Caldarale, Charles R
> From: Mark Eggers [mailto:its_toas...@yahoo.com] > Subject: Re: mod_jk not working !! > I'll try to give a few general directions. > Again, start simply. > 1. Stock Apache HTTPD installation (and verify) > 2. Stock Apache Tomcat installation (and verify) > 3

Re: mod_jk not working !!

2012-05-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 5/25/12 12:26 PM, Mark Eggers wrote: > . . . just my three cents (since this is long) More like twelve bucks: you should send this guy a bill for the message you just put together for him. - -chris -BEGIN PGP SIGNATURE- Version: Gnu

Re: mod_jk not working !!

2012-05-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aman, On 5/25/12 1:25 AM, Aman Arora wrote: > I'm trying to do a setup of tomcat clustering in which one tomcat > is on port 8080 and other one is on 8081. Sounds reasonable. > i have downloaded the tomcat-connector in the modules folder of my > apa

Re: mod_jk not working !!

2012-05-25 Thread Mark Eggers
> > From: Aman Arora >To: users@tomcat.apache.org >Sent: Thursday, May 24, 2012 10:25 PM >Subject: mod_jk not working !! > >m trying to do a setup of tomcat clustering in which one tomcat is on port >8080 and other one is on 8081. >i have downloaded the tomcat-conn

Re: mod_jk not working !!

2012-05-25 Thread André Warnier
That's strange. It's working fine for many other people, on thousands of websites. Maybe it is your configuration that is not working ? " is not working !!" is about the best subject that can be imagined, if your intention was to not get any response at all. The only missing parts are ca

Re: mod_jk not working as expected - is there a bug??

2009-10-24 Thread Mohit Anchlia
Resending with more information and attachment: Apache 2.11, mod_jk/1.2.28: There seems to be a problem with activation of status worker JkStatus. Even after explicitly saying "stopped" for one of the workers the "Act" keeps going back and forth. When I refresh that page it keeps switching betwee

Re: mod_jk not working as expected - is there a bug??

2009-10-24 Thread Mohit Anchlia
Apache 2.11, mod_jk/1.2.28: There seems to be a problem with activation of status worker JkStatus. Even after explicitly saying "stopped" for one of the workers the "Act" keeps going back and forth. When I refresh that page it keeps switching between "OK" and "STP". And I still see traffic being s

Re: mod_jk not working as expected - is there a bug??

2009-03-10 Thread Rainer Jung
Hi, On 10.03.2009 19:47, Mohit Anchlia wrote: I am currently testing this. Hoping this will help us achieve 0 customer impact when we upgrade our system. Is it possible for mod_jk to check 2 ports to determine if that worker should be out of service? For eg: if 8010 is down but 8009 port is up

Re: mod_jk not working as expected - is there a bug??

2009-03-10 Thread Mohit Anchlia
I am currently testing this. Hoping this will help us achieve 0 customer impact when we upgrade our system. Is it possible for mod_jk to check 2 ports to determine if that worker should be out of service? For eg: if 8010 is down but 8009 port is up then bring that worker out of service? But the da

Re: mod_jk not working as expected - is there a bug??

2009-03-06 Thread Rainer Jung
On 06.03.2009 21:42, Mohit Anchlia wrote: In addition to questions that I have in below email, I have couple of question. 1. activation property disable - Does it first turn off new requests to that worker and then disable the worker after finishing old requests. So is this the best way to see 0

Re: mod_jk not working as expected - is there a bug??

2009-03-06 Thread Rainer Jung
On 06.03.2009 19:41, Mohit Anchlia wrote: Thanks ..I got following URL from the browser, which is different then what you suggested. Does this look ok? http://10.10.80.55/JkStatus?cmd=update&from=list&w=tc&sw=appfe1&wa=0&wf=1&wn=appfe1&wr=&wc=&wd=0 If it comes from the Browser, it is OK. I gu

Re: mod_jk not working as expected - is there a bug??

2009-03-06 Thread Mohit Anchlia
In addition to questions that I have in below email, I have couple of question. 1. activation property disable - Does it first turn off new requests to that worker and then disable the worker after finishing old requests. So is this the best way to see 0 customer impact? 2. activation propery stop

Re: mod_jk not working as expected - is there a bug??

2009-03-06 Thread Mohit Anchlia
Thanks ..I got following URL from the browser, which is different then what you suggested. Does this look ok? http://10.10.80.55/JkStatus?cmd=update&from=list&w=tc&sw=appfe1&wa=0&wf=1&wn=appfe1&wr=&wc=&wd=0 so it look like when I want one node out of service I do the following: Execute GET http

Re: mod_jk not working as expected - is there a bug??

2009-03-06 Thread Rainer Jung
On 06.03.2009 18:57, Mohit Anchlia wrote: So I created new JkMount /JkStatus status under VirtualHost. Went to the page and saw different properties, it looks like I need to change the Activation on individual worker. When I click "E" in front of that worker it takes me to the page where I can ed

Re: mod_jk not working as expected - is there a bug??

2009-03-06 Thread Mohit Anchlia
So I created new JkMount /JkStatus status under VirtualHost. Went to the page and saw different properties, it looks like I need to change the Activation on individual worker. When I click "E" in front of that worker it takes me to the page where I can edit the activation property. I think if I set

Re: mod_jk not working as expected - is there a bug??

2009-03-06 Thread Mohit Anchlia
I was looking at the manual and didn't see a way to automatically set the worker to stop. I'll test it today with the way you suggested and post more questions .. On Fri, Mar 6, 2009 at 12:35 AM, Rainer Jung wrote: > On 06.03.2009 09:27, Mohit Anchlia wrote: >> >> Is there a way to dynamically mo

Re: mod_jk not working as expected - is there a bug??

2009-03-06 Thread Rainer Jung
On 06.03.2009 09:27, Mohit Anchlia wrote: Is there a way to dynamically move workers in and out of service using status worker. Please first have a look at the status worker and get some experience with it before posting more basic questions. Regards, Rainer ---

Re: mod_jk not working as expected - is there a bug??

2009-03-06 Thread Mohit Anchlia
Is there a way to dynamically move workers in and out of service using status worker. On Thu, Mar 5, 2009 at 10:34 PM, Rainer Jung wrote: > On 06.03.2009 01:44, Mohit Anchlia wrote: >> >> Thanks ..But how do I tie the status worker to the list of nodes that >> I have. For eg in below config how d

Re: mod_jk not working as expected - is there a bug??

2009-03-05 Thread Rainer Jung
On 06.03.2009 01:44, Mohit Anchlia wrote: Thanks ..But how do I tie the status worker to the list of nodes that I have. For eg in below config how do I say that appfe1 is now "stopped" and still keep servicing appfe2,3 and 4 worker.status.type=status worker.tc.type=lb worker.tc.balance_workers=

Re: mod_jk not working as expected - is there a bug??

2009-03-05 Thread Mohit Anchlia
Thanks ..But how do I tie the status worker to the list of nodes that I have. For eg in below config how do I say that appfe1 is now "stopped" and still keep servicing appfe2,3 and 4 worker.status.type=status worker.tc.type=lb worker.tc.balance_workers=appfe1,appfe2,appfe3,appfe4 worker.tc.sticky

Re: mod_jk not working as expected - is there a bug??

2009-03-05 Thread Rainer Jung
On 05.03.2009 23:57, Mohit Anchlia wrote: So I tested again and it looks like Jboss accepts new connection when it already undeployed the service. Do you have any advice of how I can handle this scenario. I need to cleanly take that node out of service from mod_jk with no customer impact. Is ther

Re: mod_jk not working as expected - is there a bug??

2009-03-05 Thread Mohit Anchlia
So I tested again and it looks like Jboss accepts new connection when it already undeployed the service. Do you have any advice of how I can handle this scenario. I need to cleanly take that node out of service from mod_jk with no customer impact. Is there anyway in apache to do that so that it det

Re: mod_jk not working as expected - is there a bug??

2009-03-02 Thread Rainer Jung
On 03.03.2009 01:45, Mohit Anchlia wrote: Is there a way to configure ping in workers.properties to also check for 503 in addition to cping/cpong? I am sure you are going to laugh at me. No I'm not laughing, but as I wrote, at the time Tomcat returns the cpong, there is no http status. There i

Re: mod_jk not working as expected - is there a bug??

2009-03-02 Thread Mohit Anchlia
Is there a way to configure ping in workers.properties to also check for 503 in addition to cping/cpong? I am sure you are going to laugh at me. On Mon, Mar 2, 2009 at 1:26 PM, Rainer Jung wrote: > On 02.03.2009 20:28, Mohit Anchlia wrote: >> >> I will change the JkLogLevel and post the results. I

Re: mod_jk not working as expected - is there a bug??

2009-03-02 Thread Rainer Jung
On 02.03.2009 20:28, Mohit Anchlia wrote: I will change the JkLogLevel and post the results. I have a question though: Does prepost_timeout also detect if it received http code such as 503 from app server. prepost_timeout activates Cping/Cpong before each request. mod_jk will send a tiny test

Re: mod_jk not working as expected - is there a bug??

2009-03-02 Thread Mohit Anchlia
I will change the JkLogLevel and post the results. I have a question though: Does prepost_timeout also detect if it received http code such as 503 from app server. On Wed, Feb 25, 2009 at 9:05 AM, Rainer Jung wrote: > On 25.02.2009 17:10, Mohit Anchlia wrote: >> >> you are right there is a mod-jk

Re: mod_jk not working as expected - is there a bug??

2009-02-25 Thread Rainer Jung
On 25.02.2009 17:10, Mohit Anchlia wrote: you are right there is a mod-jk.conf. So given my workers.properties file what should I change so that mod_jk detects that app server is down before attempting to send the request. Shouldn't "retries" in workers.properties try to connect to some other app

Re: mod_jk not working as expected - is there a bug??

2009-02-25 Thread Rainer Jung
On 25.02.2009 16:50, János Löbb wrote: I am not sure the stickiness should be attached to the tc worker. I would rather do it for the the real workers level, that is at appfe[1234]. Consider also worker.appfe[1234].sticky_session_force = False for each appfe[1234] worker. The page http://t

Re: mod_jk not working as expected - is there a bug??

2009-02-25 Thread Mohit Anchlia
you are right there is a mod-jk.conf. So given my workers.properties file what should I change so that mod_jk detects that app server is down before attempting to send the request. Shouldn't "retries" in workers.properties try to connect to some other app server instead. Here is mod-jk.conf # Whe

Re: mod_jk not working as expected - is there a bug??

2009-02-25 Thread János Löbb
I am not sure the stickiness should be attached to the tc worker. I would rather do it for the the real workers level, that is at appfe[1234]. Consider also worker.appfe[1234].sticky_session_force = False for each appfe[1234] worker. János On Feb 24, 2009, at 8:47 PM, Mohit Anchlia wrote

Re: mod_jk not working as expected - is there a bug??

2009-02-25 Thread Rainer Jung
On 25.02.2009 02:47, Mohit Anchlia wrote: In httpd conf I just see JkMount and no other directive. I searched for Jk. There should be others as well, for instance JkWorkersFile to point to your workers.properties. The names of the directives are case insensitive, they can also be in files inc

Re: mod_jk not working as expected - is there a bug??

2009-02-24 Thread Mohit Anchlia
In httpd conf I just see JkMount and no other directive. I searched for Jk. Here is workers.properties file: ## worker.list=status,tc ## Worker Configuration## # All entries in this section take the form: # worker..= # Worker names are defined in the worker.list directive above. # Config

Re: mod_jk not working as expected - is there a bug??

2009-02-24 Thread Rainer Jung
On 25.02.2009 00:00, Mohit Anchlia wrote: Reposting: Apache Server - 2.2 Tomcat server 6 Jboss - 4.2 We have Web Servers talking to Jboss App Servers over mod_jk. When we do our patch or upgrade of software we do it in rolling fashion so that there is "0" customer impact. But it looks like mod_