httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari Om" <hari...@hotmail.com>
Subject [users@httpd] MOD_JK --> Apache+Tomcat
Date Tue, 30 Dec 2003 15:23:27 GMT
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

_________________________________________________________________
Worried about inbox overload? Get MSN Extra Storage now!  
http://join.msn.com/?PAGE=features/es


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message