tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kuba <ma...@ics.muni.cz>
Subject Re: Integrating Apache + Tomcat 5 + jk2
Date Wed, 10 Dec 2003 10:01:43 GMT
Mike Nguyen wrote:
> Hi, I am trying to integrating Apache + Tomcat5+ jk2 on Solaris 9. Does 
> anyone have an example of jk2.properties and workers2.properties file 
> for this configuration? I appreciate it. Thanks.
> Mike

This information is not sufficient, as you can connect mod_jk2
and Tomact in several ways: TCP sockets, unix sockets and JNI.
A basic guide is available in JK documentation:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/confighowto.html

I am using TCP sockets (easiest option).
I have following in httpd.conf:

LoadModule jk2_module libexec/mod_jk2.so
<IfModule mod_jk2.c>
   JkSet config:file /etc/httpd/workers2.properties
</IfModule>

and following in workers2.properties:

[logger.file:]
level=DEBUG
file=/var/log/httpd/mod_jk2.log
[shm:]
file=/var/log/httpd/jk2.shm
size=1000000
[channel.socket:localhost:8009]
[uri:/mywebapp/*]
info=maps mywebapp to default channel


I hope this helps ...

Martin
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Supercomputing Center Brno             Martin Kuba
Institute of Computer Science    email: makub@ics.muni.cz
Masaryk University             http://www.ics.muni.cz/~makub/
Botanicka 68a, 60200 Brno, CZ     mobil: +420-603-533775
--------------------------------------------------------------

Mime
View raw message