Hello,

Here is the workers2.properties, note we normally have a load balance setup
hence the tomcatID stuff...

--------------------------------------------------------------------- 
#************ Begin workers2.properties **************

[logger.file]
#level=DEBUG
level=ERROR
file=/webapps/worldlingo/logs/mod_jk2.log

[shm]
file=/usr/local/apache2/logs/shm.file
size=1048576

[channel.socket:testsocket]
host=test
port=8009
group=lb_1
tomcatId=test
lbfactor=1

[ajp13:testsocket]
tomcatId=test
route=test
#group=lb_1
level=1
max_connections=177

# define the worker
[status:status]

# Uri mapping
[uri:/jkstatus/*]
group=status:status

# Uri mapping
[uri:/wl/*]
group=lb_1

[lb:lb_1]
#timeout=0
#attempts=3
#recovery=60
#worker=?
#noWorkerMsg=?
#noWorkerCode=503
#hwBalanceErr=?
---------------------------------------------------------------------

Here is the jk2.properties

---------------------------------------------------------------------

## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
## WHEN YOU EDIT THE FILE.

## COMMENTS WILL BE _LOST_

## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.

# Set the desired handler list
# handler.list=apr,request,channelJni
#
# Override the default port for the socketChannel
# channelSocket.port=8019
# Default:
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config  is working
# shm.file=${jkHome}/work/jk2.shm

# In order to enable jni use any channelJni directive
# channelJni.disabled = 0
# And one of the following directives:

# apr.jniModeSo=/opt/apache2/modules/mod_jk2.so

# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
# apr.jniModeSo=inprocess
request.tomcatAuthentication=false

---------------------------------------------------------------------

Thanks
Tony


-----Original Message-----
From: Chong Yu Meng [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 5 November 2003 12:35 PM
To: Tomcat Users List
Subject: Re: jk2_init() Can't find child xxxx in none of the 1024 scoreboard
slots

I'm having the same problems, Tony. I got mod_jk2 compiled and tried to
setup the connection between Apache 2.0.47 and Tomcat 4.1.29. I get the
missing child (children ? ;)) errors,  but I was able to get the
servlets and JSPs working, though they spit out errors occasionally. Can
you post your jk2.properties and workers2.properties? I'm trying to
update my HOWTO (http://cymulacrum.net/tomcat/tomcat_toc.html) because
it is obviously unusable now.

Regards,
pascal chong



Tony F. White wrote:

>Hello,
>
>
>
>I am hoping someone might be able to help me work out what on earth is going
on here, we have just updated tomcat to 4.1.29 and we are having problems
getting the connectors from apache to tomcat to work.  I am using the
connectors from 4.1.29 to compile the mod_jk2.so but every time I try to start
apache with it I get the following (child numbers change each time):
>
>
>
>[Wed Nov 05 11:54:07 2003] [error] jk2_init() Can't find child 28446 in none
of the 1024 scoreboard slots
>
>[Wed Nov 05 11:54:07 2003] [error] jk2_init() Can't find child 28449 in none
of the 1024 scoreboard slots
>
>[Wed Nov 05 11:54:07 2003] [error] jk2_init() Can't find child 28452 in none
of the 1024 scoreboard slots
>
>[Wed Nov 05 11:54:07 2003] [error] jk2_init() Can't find child 28455 in none
of the 1024 scoreboard slots
>
>[Wed Nov 05 11:54:07 2003] [error] jk2_init() Can't find child 28458 in none
of the 1024 scoreboard slots
>
>[Wed Nov 05 11:54:07 2003] [error] jk2_init() Can't find child 28461 in none
of the 1024 scoreboard slots
>
>[Wed Nov 05 11:54:07 2003] [error] jk2_init() Can't find child 28463 in none
of the 1024 scoreboard slots
>
>[Wed Nov 05 11:54:07 2003] [error] jk2_init() Can't find child 28464 in none
of the 1024 scoreboard slots
>
>[Wed Nov 05 11:54:07 2003] [error] jk2_init() Can't find child 28467 in none
of the 1024 scoreboard slots
>
>[Wed Nov 05 11:54:07 2003] [error] jk2_init() Can't find child 28470 in none
of the 1024 scoreboard slots
>
>[Wed Nov 05 11:54:07 2003] [error] jk2_init() Can't find child 28473 in none
of the 1024 scoreboard slots
>
>[Wed Nov 05 11:54:07 2003] [error] jk2_init() Can't find child 28476 in none
of the 1024 scoreboard slots
>
>
>
>The connection to tomcat fails, I get a 404 whenever it tries to access the
servlets, there are no other errors logged.  On the tomcat side every time I
restart it I get "CoyoteConnector Coyote can't register jmx for protocol" not
sure what that means. but if I use the mod_jk2 from our old install it can
connect to tomcat no problems.
>
>
>
>Thanks in advance!
>
>
>
>Cheers
>
>Tony
>
>
>
>
>
>


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





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

Reply via email to