Sorry, there isn't enough info here to really tell.
1) does apache work on it's own?
2) do the tomcat examples work on port 8080:
http://your.host.com:8080/examples ?
If both one and two are true, I would make sure things like apache
ServerName in httpd.conf match the Host name in server.xml. Also, I notice
that your workers.properties file looks incomplete...there should be a host
name there as well.
I posted a HOWTO for a RH Linux system, it may help even though you are
running on Mandrake. Nothing in my HOWTO is OS-specific, as far as I know:
http://www.johnturner.com/howto/apache-tomcat-howto.html
John Turner
jturner@NOSPAM.aas.com
-----Original Message-----
From: Thomas Cherry [mailto:jceaser@mac.com]
Sent: Thursday, August 01, 2002 6:05 AM
To: tomcat-user@jakarta.apache.org
Subject: RE: Apache-tomcat integration
Sorry for the delay, I have been busy.
Ok, I have a mandrake system with Apache 1.3 and tomcat 4.01. I have a
copy of mod_jk from tomcat 3.x and was thinking that I could reuse the
same lib. I started configuring apache and tomcat but it does not seem
to work so I am including the content of my config files in this
letter. If someone could look at these settings and tell me what I did
wrong, that would be great. Thanks.
Last line in httpd.conf:
Include /etc/tomcat4/conf/mod_jk.conf
contents of /etc/tomcat4/conf/mod_jk.conf:
LoadModule jk_module libexec/mod_jk.so
JkWorkersFile "/etc/tomcat4/conf/jk/workers.properties"
JkLogFile "/var/tomcat4/logs/mod_jk.log"
JkLogLevel info
AddModule mod_env.c
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
JkMount /admin ajp13
JkMount /admin/* ajp13
JkMount /examples ajp13
JkMount /examples/* ajp13
JkMount /examples/servlet/* ajp13
JkMount /examples/jsp/* ajp13
#<IfModule !mod_jk.c>
#</IfModule>
contents of /etc/tomcat4/conf/jk/workers.properties:
workers.tomcat_home=/etc/tomcat4
workers.java_home=/usr/java/current
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
contents of /etc/tomcat4/conf/tomcat4.conf:
JAVA_HOME="/usr/java/current"
CATALINA_HOME="/var/tomcat4"
JASPER_HOME="/var/tomcat4"
TOMCAT_USER="tomcat"
On Friday, July 26, 2002, at 09:39 PM, tomcat-user-digest-
help@jakarta.apache.org wrote:
> From: "Turner, John" <JTurner@AAS.com>
> Date: Fri Jul 26, 2002 04:24:52 PM US/Eastern
> To: 'Tomcat Users List' <tomcat-user@jakarta.apache.org>
> Subject: RE: Apache-tomcat integration
>
>
>
> It would help if you could give us more information, such as target
> operating system, etc.
>
> In general, there are all sorts of resources available, such as this one
> from the tomcat site:
> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html
>
> and this one, also from the tomcat site:
> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/index.html
>
> Some people have found the resources here to be helpful:
> http://www.galatea.com/flashguides/index
>
> John Turner
> jturner@NOSPAM.aas.com
>
--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
|