tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <>
Subject Re: status worker
Date Tue, 01 Apr 2008 12:19:42 GMT
Nuno Manuel Martins wrote:
> Hello,
> I am new to tomcat in general and I am trying to setup jk_mod (using 1.2.25) and I have
already successfully installed it and put workers serving dynamic content from the tomcat
server with load balancing.
> Now I wanted to setup the status worker to get some statistics. I am using the default
configuration for it but probably something basic is missing:
> file:
> worker.list=lb1 , lb2 , jkstatus
> [...]
> jkstatus.port=10001
> jkstatus.username=manager
> jkstatus.password=tomcat
> jkstatus.url=http://${}:${jkstatus.port}/jkstatus
> jkstatus.testlb=lb1
> jkstatus.testworker=worker42
> file:
> /jkmanager=jkstatus
> Apache httpd.conf file:
> JkWorkersFile /usr/local/apache2/conf/
> JkMountFile /usr/local/apache2/conf/
> Include /usr/local/apache2/conf/tomcat-55.conf
> Include /usr/local/apache2/conf/tomcat-50.conf
> Apache httpd is on host rh01 and Tomcat server is on host rh02. When I try to access
http://rh01/jkmanager it just says it can't find the document... can someone say what am I
missing? The documentation doesn't provide much troubleshoot :(
> Regards,
> Nuno

Correct your

Remove all of the above lines of the form


because none of the attributes you are using makes much sense.



to let mod_jk know, when it tries to send a request to the worker with 
name jkstatus, that there is not host/port/Tomcat behind it, but instead 
it should generate its own status page.

If it works, then you should add an authentication/authorization 
mechanism inside httpd to the URL /jkmanager (e.g. a Location directive 
and inside a required user/password; this can be done with usual httpd 
procedures, nothing mod_jk specific).



To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message