apaches 2.0.43 doesn't seems to communicate with tomcat 4.1.2. I am
using jk2 (2.2.0.1)as the web connector.  Apache2 in run on server #1 
and Tomcat4.1.2 run on server #2.

I am wondering if my setting are correct?  Could you some please let me 
know if I miss something here.


Are these setting correct??

*** on server #1,  start of workers2.properties file ***
# Shared memory handling. Needs to be set.
[shm]
file=/etc/httpd/logs/shm.file
size=1048576

# A List of tomcat workers
#worker.list=tomcat1

# Example socket channel, explicitly set port and host.
[channel.socket:209.104.159.91:8009]
port=8009
host=209.104.159.91

# define the worker
[ajp13:209.104.159.91:8009]
channel=channel.socket:209.104.159.91:8009

# Uri mapping
[uri:/examples/*]
[uri:/*.jsp]
worker=ajp13:209.104.159.91:8009

# Announce a "status" worker
[status:status]

[uri:/jkstatus/*]
worker=status:status
****  end of workers2.properties   ***




*** on server, #1 start of httpd.conf file *******
LoadModule jk2_module modules/mod_jk2.so
AddModule mod_jk2.c
JkWorkersFile /etc/httpd/conf/workers2.properties
JkLogFile /etc/httpd/logs/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "

#First Virtual Host access through port 80.
<VirtualHost 209.104.159.90:80>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /var/www/dev
ServerName www.test.com
ServerAlias gratiotonline.com
ErrorLog /var/www/dev/logs/error_log
</VirtualHost>
#
#First Virtual Host access through port 443.
<VirtualHost 209.104.259.90:443>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /var/www/dev
ServerName www.dev.com
SSLEngine On
ErrorLog /var/www/dev/logs/error_log
</VirtualHost>
********** end of httpd.conf file *******


**** on server #2, start of jk2.properties *****
handler.list=apr,channelSocket,channelUnix,request
channelSocket.port=8009
serverRoot=/etc/httpd
apr.NativeSo=/db2/tomcat/emarkets/common/libjkjni.so
apr.jniModeSo=/etc/httpd/modules/mod_jk2.s
************* end of jk2.properties ********


thanks, Yoom



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to