tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Gokey <cgo...@gcmd.gsfc.nasa.gov>
Subject Re: mod_jk.so for TomCat 4.0
Date Wed, 17 Oct 2001 18:06:52 GMT
Hi Edward...

Here is what should go inside your httpd.conf file.  You can tailor it 
much more by looking at the docs under Tomcat 3.2.3.

---

LoadModule    jk_module  libexec/mod_jk.so
AddModule     mod_jk.c

JkWorkersFile 
/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat-4.0/conf/workers.properties
JkLogFile     /usr/local/apache-1.3.20/logs/mod_jk.log
JkLogLevel    warn

JkMount /examples/* ajp13
JkMount /servlets/* ajp13

---

Notice you will need a workers.properties file.  I attached mine as an 
example.  You can get this from the Tomcat 3.2.3 source distribution as 
well.

Chris


Quick, Edward T wrote:> Hi Henri,
> 
> I have been trying to get Tomcat 4.0 to plug into Apache 1.3.20 and due to the problems
I had with mod_webapp.so I thought I'd give mod_jk.so a go. I found your web page with the
instructions on how to compile mod_webapp.so which I followed down to a tee, but unfortunately
I'm still having problems. I wondered if you would be so kind as to answer a couple of questions
for me just to check?
> 
> 1) Do I need to make any edits to httpd.conf other than the line to LoadModule libexec/mod_jk.so?
> 2) In the following code you provide for server.xml, is the port number 8009, supposed
to be the same as the port running Tomcat? 
> 
> <!-- Define an AJP13 Connector on port 8009 -->
> <!-- connectionTimeout should be set to ZERO -->
>     <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
>                port="8009" minProcessors="5" maxProcessors="75"
>                acceptCount="10" debug="0" connectionTimeout="0" />
> 
> Regards,
> 
> Ed.
> 
> 



-- 
  __________________________________________________
/\ 
			 
	           \
\_| Christopher D. Gokey, SSAI, NASA/GCMD          |
   | 18 Martin Road, Shelburne Falls, MA  01370     |
   | Phone: Voice (413) 625-8129 / FAX 208-248-9055 |
   | cgokey@gcmd.nasa.gov / http://gcmd.nasa.gov    |
   | ICQ #52132386, AOL IM: chrisgokey              |
   |   _____________________________________________|_
    \_/______________________________________________/

Mime
View raw message