tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <>
Subject RE: Cannot get Apache 1.3.26, Tomcat 3.3a to play nice via mod_jk .dll on Win2k
Date Mon, 19 Aug 2002 18:07:52 GMT

One thing I would change right off the bat is using spaces in the pathname,
double quotes or not.  Yes, the Apache installer puts things there, but the
Apache installer doesn't know that you are going to be using mod_jk and
tomcat.  I've had fewer problems ever since I moved things to places like
c:\tomcat or c:\apache on my development workstation.

Also, the file "mod_jk.conf" is generated by tomcat only if there are
Listener directives in server.xml (and I'm not even sure 3.3 does it,
perhaps it does).  Are those directives in place?

In addition, as far as I know, the correct path for an auto-generated
mod_jk.conf file is $CATALINA_HOME/conf/auto, not $CATALINA_HOME/conf/jk,
though again, I'm using Tomcat 4 on RH 7.2 with apache on my server.

John Turner

-----Original Message-----
From: Matt Partain []
Sent: Monday, August 19, 2002 2:02 PM
To: Jakarta Users List
Subject: Cannot get Apache 1.3.26, Tomcat 3.3a to play nice via
mod_jk.dll on Win2k

Per all the instructions I could find, I brought down the Apache and Tomcat
services.  I have ensured that TOMCAT_HOME and JAVA_HOME (JDK 1.3) are both
defined on my system and put the dll in Apache's "modules" folder, per the
instructions.  Added the following line to httpd.conf:

Include "C:/Program Files/Apache Group/Tomcat 3.3a/conf/jk/mod_jk.conf"

Tried it with and without the quotation marks- apache doesn't seem to like
it.  When I try to bring up the service, it dies immediately, leaving no
errors, until I comment out that line.  I also tried including the
mod_jk.conf contents in httpd.conf, skipping the include directive
altogether, with the same results (same crash).  Here are my mod_jk.conf

LoadModule jk_module modules/mod_jk.dll

<IfModule mod_jk.c>

JkWorkersFile C:/Program Files/Apache Group/Tomcat
JkLogFile  logs/jk.log
JkLogLevel error
JkMount /*.jsp ajp12
JkMount /servlet/* ajp12
JkMount /examples/* ajp12


So what do you think I might have done wrong?  Thanks in advance for your

Matt Partain

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message