You were absolutely right- all I did was move the whole Tomcat installation
to c:\tc33a and change the httpd.conf include (leaving off the quotes this
time), mod_jk.conf, and worker.processes to match the new directory.
Started Tomcat and then started Apache just fine!

Thank you so much for your help!

-----Original Message-----
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 19, 2002 11:08 AM
To: 'Tomcat Users List'
Subject: RE: Cannot get Apache 1.3.26, Tomcat 3.3a to play nice via
mod_jk.dll on Win2k



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
[EMAIL PROTECTED]


-----Original Message-----
From: Matt Partain [mailto:[EMAIL PROTECTED]]
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
contents:

LoadModule jk_module modules/mod_jk.dll

<IfModule mod_jk.c>

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

</IfModule>

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

Matt Partain
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to