tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yiannis Mavroukakis <yian...@jaguarfreight.com>
Subject mod_jk2 errors: jk2_init() Can't find child xxx in scoreboard
Date Thu, 13 Nov 2003 12:11:08 GMT

Hi,

I've setup Apache2 and Tomcat 4.1.27 to communicate via JNI. I've compiled
and
installed mod_jk2 and I've hit a brick wall trying to get Apache2 started.
This is what I get in the error logs:

[Thu Nov 13 10:58:12 2003] [error] jk2_init() Can't find child 27253 in
scoreboard
[Thu Nov 13 10:58:13 2003] [error] jk2_init() Can't find child 27254 in
scoreboard
[Thu Nov 13 10:58:13 2003] [error] jk2_init() Can't find child 27255 in
scoreboard
[Thu Nov 13 10:58:13 2003] [error] jk2_init() Can't find child 27256 in
scoreboard
[Thu Nov 13 10:58:13 2003] [error] jk2_init() Can't find child 27257 in
scoreboard
[Thu Nov 13 10:58:14 2003] [error] jk2_init() Can't find child 27258 in
scoreboard
[Thu Nov 13 10:58:14 2003] [error] jk2_init() Can't find child 27259 in
scoreboard
[Thu Nov 13 10:58:14 2003] [error] jk2_init() Can't find child 27260 in
scoreboard
[Thu Nov 13 10:58:14 2003] [error] jk2_init() Can't find child 27261 in
scoreboard
[Thu Nov 13 10:58:14 2003] [error] jk2_init() Can't find child 27262 in
scoreboard
[Thu Nov 13 10:58:14 2003] [error] jk2_init() Can't find child 27263 in
scoreboard
[Thu Nov 13 10:58:14 2003] [error] jk2_init() Can't find child 27264 in
scoreboard
[Thu Nov 13 10:58:14 2003] [error] jk2_init() Can't find child 27265 in
scoreboard
[Thu Nov 13 10:58:14 2003] [error] jk2_init() Can't find child 27266 in
scoreboard
[Thu Nov 13 10:58:14 2003] [error] jk2_init() Can't find child 27267 in
scoreboard
... quite a lote more of those.

Reading through the list, the most common "solution" to this problem was
that
the shm file was not accessible, but that is not the case with my
configuration,
the shm file is readable/writable by everyone in a world readable directory.

My workers2.properties config is the following:
============
[channel.jni:jni]
info=The jni channel, used if tomcat is started inprocess
[vm:]
info=Parameters used to load a JVM in the server process
JVM=/opt/IBMJava2-141/jre/bin/classic/libjvm.so
OPT=-Djava.class.path=/usr/tomcat/bin/tomcat-jni.jar:/usr/tomcat/bin/tomcat-
bootstrap.jar:/usr/tomcat/server/lib/commons-logging.jar
OPT=-Dtomcat.home=/usr/tomcat/
OPT=-Dcatalina.home=/usr/tomcat/
OPT=-Xmx256M
disabled=0
[worker.jni:onStartup]
info=Command to be executed by the VM on startup. This one will start
tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=start
stdout=/usr/tomcat/logs/stdout.log
stderr=/usr/tomcat/logs/stderr.log
[worker.jni:onShutdown]
info=Command to be executed by the VM on shutdown. This one will stop
tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=stop
[uri:/servlets/desert/*]
info=The Desert App
[shm]
info=SHM Block
file=/tmp/jk2.shm
size=1048576
disabled=0
==========


And this is my jk2.properties
==========
handler.list=apr,request,channelJni
channelJni.disabled = 0
apr.jniModeSo=inprocess
shm.file=/tmp/jk2.shm
request.tomcatAuthentication=false
==========



Any help is greatly appreciated.

Thank you,

Yiannis.


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message