Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204815 - www-apache/mod_jk-1.2.26: apache doesn't see the jkMount path
Summary: www-apache/mod_jk-1.2.26: apache doesn't see the jkMount path
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: William L. Thomson Jr. (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2008-01-07 20:44 UTC by C D
Modified: 2008-01-16 21:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description C D 2008-01-07 20:44:08 UTC
After installing www-apache/mod_jk-1.2.26 apache doesn't appear to see the jkMount paths in the /etc/apache2/modules.d/88_mod_jk.conf.

P.S. You ROCK!!! :)

Reproducible: Always

Steps to Reproduce:
1.emerge apache mod_jk
2.Add " -D JK" to /etc/conf.d/apache file on the line that has "APACHE2_OPS="
3.Add jkMount /test ajp13
4.sudo /etc/init.d/apache2 start
5.Open Web Browser and type 'http://localhost/test'.
Actual Results:  
If it isn't working 'Not Found' shows up.


Expected Results:  
You should see 'Service Temporarily Unavailable' if it worked.
Comment 1 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-01-07 22:27:57 UTC
Yeah I saw some issues with this version and haven't had a chance to look into myself. Thanks for bug, will help me remind myself to look into it ;)
Comment 2 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-01-10 22:01:53 UTC
Please revert to <1.2.26 versions till I have a chance to address. I welcome any contributions here, kinda burried atm.
Comment 3 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-01-16 21:13:26 UTC
Ok, finally got time to look into this on my development server. Basically there is a new directive in 1.2.26, and the bug is a combination problem of that version of mod_jk and Apache 2.2. Since it mod_jk now respects contexts and vhosts. So by default it has to be enabled per vhosts. They did add a new directive JkMountCopy which when set to all, passes on all JkMount and other options to all vhosts/contexts. Otherwise it has to be enabled per vhosts/context. Not all directives, some are global, some are per vhost/context.

For more info see upstream documentation at

http://tomcat.apache.org/connectors-doc/reference/apache.html

Along the way I also modified the modules default conf file to specific a location for the .shm file since that was also broken with >=1.2.6. Was looking to create on in /usr/lib/apache2/logs, which does not exist :)

Also dropped default log level down to warn from info. For a bit better performance and less hd writes per request.

Closing bug as fixed, mod_jk-1.2.26-r1.ebuild is in cvs. Please allow for time to sync to mirrors, before you sync to get ebuild and files.

Thanks for reporting :)