How do I configure Tomcat 4.0 with the Apache 2.0 web server on a Windows 2000 server?

Detlev Beutner

If you like to use mod_jk, you will find some help on this page: Apache 2.0.x running with Tomcat 4.0.3 via mod_jk. (especially for windows, because there is no binary distribution of mod_jk on tomcat-sites till now).

To run them together, use the following minimal hints:

In httpd.conf, add (for example)


### Section EXTRA: Tomcat-Binding
# Using mod_jk.dll to redirect dynamic calls to Tomcat
<IfModule !mod_jk.c>
LoadModule jk_module modules/mod_jk.dll
JkWorkersFile "[...]/tomcat4.0.3/conf/workers.properties"
JkLogFile "[...]/tomcat4.0.3/logs/mod_jk.log"
JkMount /servlet/* ajp13
JkMount /*.jsp ajp13


In workers.properties (you can take the on from Tomcat 3.3.1), have as a minimum:


workers.tomcat_home=[...] omcat4.0.3


This works. Additionally, have a look at the docs (and edit server.xml and web.xml to meet your needs).

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.