You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by nyhgan <ny...@yahoo.com> on 2004/09/07 08:00:16 UTC

Help: jk2_init() Can't find child in apache error log

 
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 

Performance issue

Posted by "Bedrijven.nl" <ma...@bedrijven.nl>.
Hello all,

Maybe a rare question but it's very important for us. What's the case:

* I have a development environment running our applications (simple server,
WIN 2000 Server, Tomcat 4.0.24, struts, max memorysize appr. 320 MB)
* I have a production environment running our applications (extended server,
WIN 2000 Server, Tomcat 4.0.24, struts, max memorysize appr. 1 GB, 4
processors)

Now in our applications we have some jsp pages (i.e. searchpages). So what's
my problem. When I reload a page (submit some action the the form/actionbean
of struts) it's faster on our development system than on our production
system. So normally it's should be so that jsp files should be faster on our
production environment because the server is a lot "bigger". On the other
hand the compilation of jsp's is faster (as expected) on the production
environment. Are there some settings in server.xml (or web.xml) that causes
this???

Thx in advanced!

Maarten


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