You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Neil Aggarwal <ne...@JAMMConsulting.com> on 2009/10/15 04:43:00 UTC
JkMount for status working not getting triggered
Hello:
I am trying to enable the status page for mod_jk.
I set my workers.properties file to:
worker.list=tomcat,jkstatus
worker.tomcat.type=ajp13
worker.tomcat.host=localhost
worker.tomcat.port=8009
worker.tomcat.lbfactor=1
worker.tomcat.connection_pool_timeout=600
worker.tomcat.socket_keepalive=True
worker.tomcat.socket_timeout=60
worker.jkstatus.type=status
worker.jkstatus.read_only=True
I then added this to my httpd.conf file in the global directives:
# Mount the jk status application
<Location /jkstatus>
JkMount jkstatus
Order allow,deny
Allow from all
</Location>
When I go to http://[myserver]/jkstatus
I get an error that the page cannot be displayed.
Also, in the httpd error_log, I see this:
File does not exist: /var/www/html/jkstatus
So, it looks like the JkMount is not getting triggered and
Apache is looking for a file in the html directory.
Any idea why this is happening?
Thanks,
Neil
--
Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
Will your e-commerce site go offline if you have
a DB server failure, fiber cut, flood, fire, or other disaster?
If so, ask about our geographically redundant database system.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: JkMount for status working not getting triggered
Posted by Rainer Jung <ra...@kippdata.de>.
On 15.10.2009 17:39, Christopher Schultz wrote:
> Neil,
>
> On 10/14/2009 10:43 PM, Neil Aggarwal wrote:
>> I then added this to my httpd.conf file in the global directives:
>
>> # Mount the jk status application
>> <Location /jkstatus>
>> JkMount jkstatus
>> Order allow,deny
>> Allow from all
>> </Location>
>
> Try replacing the above with:
>
> JkMount /jkstatus jkstatus
>
> What you have is documented to work, but it's apparently not working.
I don't know what version he is using, but in general it does work.
> Another think you might need to do is move either your or my
> configuration into the VirtualHost being used when the request is
> serviced: JkMounts are not automatically copied into virtual hosts.
Assuming this is the culprit. Quick fix if people don't know about
VirtualHost: add "JkMountCopy All".
Regards,
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: JkMount for status working not getting triggered
Posted by Neil Aggarwal <ne...@JAMMConsulting.com>.
Chris:
That worked.
Thanks for the help,
Neil
--
Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
Will your e-commerce site go offline if you have
a DB server failure, fiber cut, flood, fire, or other disaster?
If so, ask about our geographically redundant database system.
> Try replacing the above with:
> JkMount /jkstatus jkstatus
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: JkMount for status working not getting triggered
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Neil,
On 10/14/2009 10:43 PM, Neil Aggarwal wrote:
> I then added this to my httpd.conf file in the global directives:
>
> # Mount the jk status application
> <Location /jkstatus>
> JkMount jkstatus
> Order allow,deny
> Allow from all
> </Location>
Try replacing the above with:
JkMount /jkstatus jkstatus
What you have is documented to work, but it's apparently not working.
Another think you might need to do is move either your or my
configuration into the VirtualHost being used when the request is
serviced: JkMounts are not automatically copied into virtual hosts.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkrXQh8ACgkQ9CaO5/Lv0PBmGQCcCxWa2hhtsmgOczCyYTNpUcYX
lzQAnR3DNMQC6RZDHNL6B3Mj0G2iXKHm
=u15T
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org