Hi everyone!
 
My apache2.0.26 + Tomcat5.0.19 integration is almost done. Actually, the servlets and 
jsp pages are working properly. But there are some error messages in the apache's 
error log. I am wondering what causes these errors.  Maybe there is some configuration 
problems in my jk2.properties and workers2.properties. 
 
Below is the error message and the config files I used.
 
 

--------------------- apache error log ----------------

[Mon Sep 06 23:52:11 2004] [notice] Digest: done
[Mon Sep 06 23:52:12 2004] [notice] httpdmon: httpdmon_init
[Mon Sep 06 23:52:12 2004] [notice] bandwidth monitoring enabled (mapping file: 
/etc/virtualhosting/mappings/apache.domainmap)
[Mon Sep 06 23:52:12 2004] [error] jk2_init() Can't find child 31533 in none of the 
256 scoreboard slots
[Mon Sep 06 23:52:12 2004] [error] jk2_init() Can't find child 31534 in none of the 
256 scoreboard slots
[Mon Sep 06 23:52:12 2004] [error] jk2_init() Can't find child 31536 in none of the 
256 scoreboard slots
[Mon Sep 06 23:52:12 2004] [error] jk2_init() Can't find child 31537 in none of the 
256 scoreboard slots
[Mon Sep 06 23:52:12 2004] [error] jk2_init() Can't find child 31538 in none of the 
256 scoreboard slots
[Mon Sep 06 23:52:12 2004] [error] jk2_init() Can't find child 31539 in none of the 
256 scoreboard slots
[Mon Sep 06 23:52:12 2004] [notice] Apache configured -- resuming normal operations

-------------- jk2 properties ------------------
# list of needed handlers.
handler.list=channelSocket,request
# Override the default port for the channelSocket
channelSocket.port=8009
#Dynamic library
serverRoot=/etc/httpd
# This will enable the starting of the Tomcat from mod_jk2
apr.jniModeSo=/etc/httpd/modules/mod_jk2.so
 
--------------------- workers2.properties -------------------
# workers2.properties
# Shared memory handling. Needs to be set.
[shm]
info=Scoreboard. Required for reconfiguration and status with multiprocess servers
file=/var/tomcat5/logs/jk2.shm
size=1048576
debug=0
disabled=0

# Example socket channel, override port and host.
[channel.socket:localhost:8009]
tomcatId=localhost:8009
# define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
# Uri mapping
[uri:127.0.0.1/*.jsp]
worker=ajp13:localhost:8009

------------------ httpd.conf ----------
LoadModule jk2_module      modules/mod_jk2.so
JkSet config.file /etc/httpd/conf/workers2.properties

 
 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to