You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Thomas Cherry <jc...@mac.com> on 2002/08/01 12:04:34 UTC
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" <JT...@AAS.com>
> Date: Fri Jul 26, 2002 04:24:52 PM US/Eastern
> To: 'Tomcat Users List' <to...@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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Apache-tomcat integration
Posted by Luminous Heart <lu...@yahoo.com>.
I saw at the end of your reply this block:
contents of /etc/tomcat4/conf/tomcat4.conf:
JAVA_HOME="/usr/java/current"
CATALINA_HOME="/var/tomcat4"
JASPER_HOME="/var/tomcat4"
TOMCAT_USER="tomcat"
Why are you using tomcat4.conf? I mean I have not used
a .conf for tomcat and I guess my cluster of 3 tomcats
4.0.4 and apache2.0.39 with mod_jk are working fine.
What is the use of using tomcat.conf?
Thank you in advance.
--- Thomas Cherry <jc...@mac.com> wrote:
> 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" <JT...@AAS.com>
> > Date: Fri Jul 26, 2002 04:24:52 PM US/Eastern
> > To: 'Tomcat Users List'
> <to...@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:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>