First off, some encouragement — I have Mac OS X 10.1.5, Apache 2.0.43,
mod_jk.so (the latest), and Tomcat 4.1.12, and it works for me!
There may be differences with OS X 10.2, plus I installed Tomcat in
/usr/local so my workers.properties file looks like this:
# BEGIN workers.properties
#
# Setup for apache system
#
# (optional) make this equal to CATALINA_HOME
workers.tomcat_home=/usr/local/tomcat
#
# (optional) make this equal to JAVA_HOME
workers.java_home=/usr
#
ps=/
worker.list=ajp13
# Definition for Ajp13 worker
#
worker.ajp13.port=8009
# change this line to match apache ServerName and Host name in server.xml
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
#
# END workers.properties
I didn't notice any problem with your server.xml file, but anyway,
here's the beginning of mine...
<Server port="8005" shutdown="SHUTDOWN" debug="0">
<Service name="Tomcat-with JK">
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
port="8009"
minProcessors="5"
maxProcessors="75"
acceptCount="10"
debug="0"
/>
I don't use the auto-generation feature, as I am using SSL on some/most
of the pages, so I have the following in httpd.conf for the non-SSL part...
<VirtualHost localhost>
ServerName localhost
#################### localhost:/drs ####################
# Redirect Tomcat's http:.../login request to https:.../login
#
Redirect /drs/login https://localhost/drs/login
Redirect /drs/private/home https://localhost/drs/private/home
# Static files
Alias /drs "/usr/local/tomcat/webapps/drs"
<Directory "/usr/local/tomcat/webapps/drs">
Options Indexes FollowSymLinks
DirectoryIndex web/index.html
</Directory>
# Deny direct access to WEB-INF and META-INF
#
<Location "/drs/WEB-INF/*">
AllowOverride None
deny from all
</Location>
<Location "/drs/META-INF/*">
AllowOverride None
deny from all
</Location>
JkMount /drs/home ajp13
JkMount /drs/auth_error ajp13
JkMount /drs/login_error ajp13
</VirtualHost>
I should add that I was unable to build mod_jk.so successfully (it built
without error, but didn't work - probably my incompetance!), so I'm
using the pre-built one from the jakarta site.
I hope this helps! Please feel free to ask for more info.
Martin
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
- RE: MBeans exception and mod_jk Turner, John
- Re: MBeans exception and mod_jk Mark Diana
- RE: MBeans exception and mod_jk Turner, John
- Re: MBeans exception and mod_jk Mark Diana
- Re: MBeans exception and mod_jk Mark Diana
- Re: MBeans exception and mod_jk Jeff Tulley
- RE: MBeans exception and mod_jk Turner, John
- RE: MBeans exception and mod_jk Aryeh Katz
- Re: MBeans exception and mod_jk Mark Diana
- Re: MBeans exception and mod_jk Mark Diana
- Re: MBeans exception and mod_jk Martin Jacobson
- Re: MBeans exception and mod_jk Mark Diana
- RE: MBeans exception and mod_jk Turner, John
- Re: MBeans exception and mod_jk Mark Diana
- RE: MBeans exception and mod_jk Turner, John
- Re: MBeans exception and mod_jk Mark Diana
- RE: MBeans exception and mod_jk Turner, John
- RE: MBeans exception and mod_jk Jeff Tulley