Hi Peter,

I'm using Apache 2.0.48, Tomcat 4.1.29, Jakarta-Tomcat-Connectors 4.1.29.
I'm hoping the problem it is not the mod_jk2.so module as I went to great
trouble in order to generate it on my RH9 Linux Kernal Version 2.4.20-8
platform. I had to recompile apr, apr-util code and only "ant native"
managed to build mod_jk2.so

Below are the following files:
error.log from Apache 2.0.48
jk2.properties
workers.properties
snippet from httpd.conf
snippet from server.xml

Many thanks for any help you may be able to give.

Cheers,
George


### error.log file in Apache2.0.48 log
###########################################
[Sat Jan 03 23:01:48 2004] [error] jk2_init() Can't find child 7398 in none
of the 256 scoreboard slots
[Sat Jan 03 23:01:48 2004] [error] jk2_init() Can't find child 7399 in none
of the 256 scoreboard slots
[Sat Jan 03 23:01:48 2004] [error] jk2_init() Can't find child 7400 in none
of the 256 scoreboard slots
[Sat Jan 03 23:01:48 2004] [error] jk2_init() Can't find child 7402 in none
of the 256 scoreboard slots
[Sat Jan 03 23:01:48 2004] [notice] Apache/2.0.48 (Unix) mod_jk2/2.0.3-dev
configured -- resuming normal operations
[Sun Jan 04 12:08:37 2004] [notice] caught SIGTERM, shutting down
#############################################################

####################### jk2.prorperties ###########################
## 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=/usr/local/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
##############################################################

########################## workers.properties ####################
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
############################################################

####snippet from httpd.conf - reset of file is unchanged
#####################
LoadModule jk2_module modules/mod_jk2.so
############################################################

#################### snippet from server.xml ###############################
##### PLEASE NOTE: I've alternated between both connectors still same error
in "error.log" Apache2 file and this is automatically built for ##### me
when I built Tomcat 4.1.29 from source.

<!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8009" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="0"
useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>


<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
port="8009" minProcessors="5" maxProcessors="75"
acceptCount="10" debug="0"/>
############################################################
---- Original Message ----- 

From: "Peter O'Reilly" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 05, 2003 1:49 PM
Subject: Re: jk2_init() Can't find child xxxx in none of the 1024 scoreboard
slots


> The quickest way to do this is,
>
> ( assumes testing with http://localhost )
>
> 1) copy the /WEB-INF/classes directory from the /examples/WEB-INF/classes
> to your directory.
>
> 2) Add the html code to call one of the servlets.
>
> If you can call one of the example servlets then you can backtrack and get
> ride of the example servlets and JSP and add your own.
>
> If testing on localhost make sure you have workers.properies,
property.host
> =localhost
> AND
> make sure the servlet.xml <Context = "localhost"
>
> When that's complete you'll want to clean up the web.xml file also.
>
> -Peter
>
>
>
> At 09:35 PM 11/4/2003, you wrote:
> >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 ?oCoyoteConnector 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]
>


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

Reply via email to