What's you operating system and how exactly did you configure and make
mod_jk?

What JK directives do you use in your httpd configuration?

If you set JkLogLevel to info, are there any log messages during startup?

Regards,

Rainer

On 25.10.2009 15:18, Mohit Anchlia wrote:
> I posted this earlier to old thread. I am posting it with new thread.
> 
> Apache 2.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". I even tried using wget but that
> doesn't work either. And I still see traffic being sent
> to that worker.
> 
> wget:
> 
> http://host2535.pharos.in.com/JkStatus?cmd=update&from=list&w=tc&sw=host2532&vwa=2&wf=1&wn=host2532&wr=&wc=&wd=0&mime=txt";
> 
> I have even tried vwa=s. I also tried opening one browser session
> stopping the worker (jkStatus) and then opening a new session to check
> the status. The status still keeps going back and forth. It shows
> "ACT" and then you refresh it shows "STP" and then you refresh again
> it shows "ACT". Nothing seems to be working.
> 
> 
> Is this a known bug?
> 
> 
> Earlier when we were on previous version of mod_jk this used to work
> fine. Attached is the screen shot
> 
> worker.properties
> 
> worker.list=jkstatus,tc
> worker.jkstatus.type=status
> 
> worker.tc.type=lb
> worker.tc.balance_workers=host2532,host2533
> worker.tc.sticky_session=true
> 
> worker.host2532.type=ajp13
> worker.host2532.port=8009
> worker.host2532.host=host2532
> worker.host2532.socket_timeout=5
> worker.host2532.socket_keepalive=true
> worker.host2532.prepost_timeout=5
> worker.host2532.connect_timeout=5000
> worker.host2532.retries=3
> worker.host2532.recycle_timeout=900
> 
> worker.host2533.type=ajp13
> worker.host2533.port=8009
> worker.host2533.host=host2533
> worker.host2533.socket_timeout=5
> worker.host2533.socket_keepalive=true
> worker.host2533.prepost_timeout=5
> worker.host2533.connect_timeout=5000
> worker.host2533.retries=3
> worker.host2533.recycle_timeout=900
> 
> httpd conf in VirtualHosts
> 
>    JkMount /JkStatus jkstatus

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to