tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jerry Ford <jf...@katzenjammer.us>
Subject Re: MOD_JK (Apache+Tomcat)
Date Tue, 30 Dec 2003 22:18:31 GMT
Here's how I did it:

http://www.katzenjammer.us/~jford/apache/tomcat/connectors/mod_jk_setup.shtml

Not exactly your setup (I use Apache 1.3.27 and Red Hat 9.0) but maybe 
it will help.

Jerry

HARI OM wrote:

>any update on this....?
>
>----- Original Message -----
>From: "HARI OM" <hari_om@hotmail.com>
>To: <tomcat-user@jakarta.apache.org>
>Sent: Tuesday, December 30, 2003 10:16 AM
>Subject: MOD_JK (Apache+Tomcat)
>
>
>Hello,
>
>I am using APache 2.0.47 and Tomcat 4.1.27 on SuSE Linux 8.1
>
>I am working on the Connector MOD_JK.SO which I build from the source and
>put in /modules directory. When I run my Tomcat first and then Apache and
>then acceess http://My.domian.name/kuki it does not work... it says "Page
>cannot be found" wonder why? I also try to see MOD_JK.LOG file but I cannot
>find this file anywhere.
>
>Can anyone help me out in connecting Apache and Tomncat. Here are my Config
>Files:
>
>-----------
>SERVER.XML
>-----------
># added following after <Server Port="8005"....>
>
><Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
>     modJk="/usr/local/apache2/modules/mod_jk.so" jkDebug="info"
>     workersConfig="/usr/local/tomcat4/conf/jk/workers.properties"
>     jkLog="/usr/local/tomcat4/logs/mod_jk.log"/>
>
><Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
>              port="8009" minProcessors="5" maxProcessors="75"
>              acceptCount="10" debug="0"/>
>
>
><Host name="my.domain.name" debug="0" appBase="webapps"
>      unpackWARs="true" autoDeploy="true">
>
>      <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
>                       append="true"  />
>
>
><Context path="/kuki" docBase="/home/kuki/kuki/webapps/kuki"
>reloadable="true">
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>~~~
>
>-------------------
>WORKERS.PROPERTIES
>-------------------
>workers.CATALINA_HOME=/usr/local/tomcat4
>workers.java_home=$(JAVA_HOME)
>ps=/
>
>worker.list=ajp13
>worker.ajp13.port=8009
>worker.ajp13.host=my.domain.name
>worker.ajp13.type=ajp13
>worker.ajp13.lbfactor=5
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>~~~
>
>-------------------------------------------
>MOD_JK.CONF <this file is AUTO GENERATED>
>-------------------------------------------
>########## Auto generated on Mon Dec 29 14:10:45 MST 2003##########
>
><IfModule !mod_jk.c>
>LoadModule jk_module /usr/local/apache2/modules/mod_jk.so
></IfModule>
>
>JkWorkersFile "/usr/local/tomcat4/conf/jk/workers.properties"
>JkLogFile "/usr/local/tomcat4/logs/mod_jk.log"
>
>JkLogLevel info
>
>
>
><VirtualHost my.domain.name>
>   ServerName my.domain.name
>
>   JkMount /kuki ajp13
>   JkMount /kuki/* ajp13
>
>   JkMount /examples ajp13
>   JkMount /examples/* ajp13
></VirtualHost>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>~~~
>
>------------
>HTTPD.CONF
>------------
>Listen My.IP.ADDR.ESS:80
>
><IfModule !mod_jk.c>
>LoadModule jk_module modules/mod_jk.so
></IfModule>
>
>ServerName my.domain.name:80
>
>JkWorkersFile "/usr/local/tomcat4/conf/jk/workers.properties"
>JkLogFile "/usr/local/apache2/logs/mod_jk.log"
>
>JkLogLevel debug
>
>JkMount /examples ajp13
>JkMount /examples/* ajp13
>
>JkMount /kuki ajp13
>JkMount /kuki/* ajp13
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>~~~
>
>Can anyone please GUIDE me on this Connection Process....?
>
>THANKS! and HAPPY NEW YEAR!
>
>HARI OM
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message