tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: Problem with mod_jk installation
Date Thu, 08 Jan 2009 15:24:54 GMT
On 05.01.2009 13:09, samlin wrote:
> Hi
>
> I am using
> CentOS release 5.2 (Final)
> jdk1.5.0_16
> httpd-2.2.3-11.el5_2.centos.4
> tomcat-5.5.27
>
> I tried compiling mod_jk.so
> I used tomcat-connectors-1.2.27-src.tar.gz
> resultant mod_jk.so was copied to /etc/httpd/modules/ directory
>
> -----workers.properties
> worker.list=worker1
> worker.worker1.type=ajp13
> worker.worker1.host=server2.utvi.com
> worker.worker1.port=8009
> -----mod_jk.conf
> LoadModule    jk_module  modules/mod_jk.so

If /etc/httpd is not your ServerRoot, you need to use the full path to 
the file in LoadModule.

> JkWorkersFile /etc/httpd/conf/workers.properties
> JkShmFile     /var/log/httpd/mod_jk.shm
> JkLogFile     /var/log/httpd/mod_jk.log
> JkLogLevel    info
> JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
> JkMount /testapp worker1
> JkMount /testapp/*.jsp worker1
> JkMount /testapp/* worker1

If your request will be served by a VirtualHost, you need to put the 
JkMount into the VirtualHost.

You didn't tell us, what does not work (e.g. what is your test case, 
which behaviour do you exoect and which behaviour do you get instead).

Regards,

Rainer

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


Mime
View raw message