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=100
[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 Scienceemail: [EMAIL PROTECTED]
Masaryk University http://www.ics.muni.cz/~makub/
Botanicka 68a, 60200 Brno, CZ mobil: +420-603-533775
--
smime.p7s
Description: S/MIME Cryptographic Signature