Hi Chong,

I have managed to get the connectors working...
This time I downloaded the JK2 connectors from
http://jakarta.apache.org/site/sourceindex.cgi

And did an old fashioned
cd /usr/local/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2
./configure --with-apxs2=/usr/local/apache2/bin/apxs
make

And copy to apache2/modules/

So far so good...

Previously I was doing
cd /usr/local/jakarta-tomcat-connectors-4.1.29-src/jk/
cp build.properties.sample build.properties
vim build.properties
ant native
and copy...

The native method has normally worked for me no problems, I hadn't done the
configure & make with the jakarta-tomcat-connectors-4.1.29 as there isn’t a
configure command....

Thanks for your help, and I am glad you like our services.

Cheers
Tony


-----Original Message-----
From: Chong Yu Meng [mailto:[EMAIL PROTECTED]
Sent: Thursday, 6 November 2003 9:45 AM
To: Tomcat Users List
Subject: Re: jk2_init() Can't find child xxxx in none of the 1024 scoreboard
slots

Almost finished my updated mod_jk2 compilation write-up. Should be on my
site by today.

You will need the following packages installed (rpm or source):
- automake
- autoconf
- m4
- libtool

(BTW, good company you work for! I use the site quite frequently to
translate Mandarin to English and vice versa...)

Regards,
pascal chong



Tony F. White wrote:

>Hi Chong,
>
>Load balancing is just a change in the configuration file that’s all,  I
>think it has to have something to do with the compilation, what lib was it
>that you were missing? Perhaps that is our problem too.
>
>Kind Regards
>Tony F. White
>WorldLingo Technical Support
>
>
>-----Original Message-----
>From: Chong Yu Meng [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, 5 November 2003 5:23 PM
>To: Tomcat Users List
>Subject: Re: jk2_init() Can't find child xxxx in none of the 1024
scoreboard
>slots
>
>Hi Tony,
>
>I can't help you with the load balanced configuration because I'm not
>using load balancing (yet). I was using the older version of mod_jk2
>just fine too. When the rpm file disappeared from the download site, I
>had to compile using the latest version, and that is when my problems
>started.
>
> From the description of your problem, I would say that something is
>wrong either with the file you downloaded (corrupted download?) or your
>compilation failed somewhere. The bad thing about jk2's compile is that
>it doesn't give you many errors when it fails, and if you don't look too
>closely, the failure can be invisible. I spent 2 days compiling and
>re-compiling initially, because I was missing a library file (and didn't
>even know it).
>
>I'm investigating this on my end too. Has anybody else on this list
>tried and succeeded with Tomcat 4.1.29/Apache 2.0.47/mod_jk2/Linux ?
>
>Regards,
>pascal chong
>
>
>Tony F. White wrote:
>
>
>
>>Note when I change the mod_jk2.so to the old version (from tomcat 4.1.24)
>>
>>
>it
>
>
>>does log the "[error] mod_jk child init 1 -2" after the jk_init error
>>message.  Everything else stays the same the only thing I have changed is
>>the mod_jk2.so and it works.  But we need to be sure we are using the more
>>recent version cause we feel that it could be the cause of some of our
>>problems.
>>
>>Kind Regards
>>Tony F. White
>>WorldLingo Technical Support
>>
>>
>>
>>-----Original Message-----
>>From: Tony F. White [mailto:[EMAIL PROTECTED]
>>Sent: Wednesday, 5 November 2003 4:16 PM
>>To: 'Tomcat Users List'
>>Subject: RE: jk2_init() Can't find child xxxx in none of the 1024
>>
>>
>scoreboard
>
>
>>slots
>>
>>Hi,
>>
>>I don’t think the problem is on the tomcat side of things, as if I change
>>the mod_jk2.so back to the old version we have it we are able to connect.
>>I have looked over the archives and noticed that others have had this
>>message but for them it was followed by "[error] mod_jk child init 1 -2" I
>>am not getting this line...
>>I also cannot access the /jkstatus page which comes form mod_jk does it
>>
>>
>not?
>
>
>>The library compiled find apart from the usual warnings:
>>
>>apache20:
>>   [mkdir] Created dir:
>>/usr/local/jakarta-tomcat-connectors-4.1.29-src/jk/build/jk2/apache2
>>      [so] Compiling 42 out of 42
>>Compiling
>>/usr/local/jakarta-tomcat-connectors-4.1.29-src/jk/native2/server/apache2/
j
>>
>>
>k
>
>
>>_logger_apache2.c
>>Compiling
>>/usr/local/jakarta-tomcat-connectors-4.1.29-src/jk/native2/server/apache2/
m
>>
>>
>o
>
>
>>d_jk2.c
>>      [so] Warnings:
>>      [so]
>>/usr/local/jakarta-tomcat-connectors-4.1.29-src/jk/native2/server/apache2/
m
>>
>>
>o
>
>
>>d_jk2.c:294: warning: missing initializer
>>      [so]
>>/usr/local/jakarta-tomcat-connectors-4.1.29-src/jk/native2/server/apache2/
m
>>
>>
>o
>
>
>>d_jk2.c:294: warning: (near initialization for `jk2_cmds[3].func')
>>...
>>      [so] Warnings:
>>      [so]
>>/usr/local/jakarta-tomcat-connectors-4.1.29-src/jk/native2/common/jk_pool.
c
>>
>>
>:
>
>
>>In function `jk2_pool_a_strdup':
>>      [so]
>>/usr/local/jakarta-tomcat-connectors-4.1.29-src/jk/native2/common/jk_pool.
c
>>
>>
>:
>
>
>>283: warning: empty body in an if-statement
>>Compiling
>>/usr/local/jakarta-tomcat-connectors-4.1.29-src/jk/native2/jni/jk_jni_aprI
m
>>
>>
>p
>
>
>>l.c
>>Linking
>>/usr/local/jakarta-tomcat-connectors-4.1.29-src/jk/build/jk2/apache2/mod_j
k
>>
>>
>2
>
>
>>.so
>>
>>I have tried re-compiling it a couple of times but I still cannot get it
to
>>work.
>>
>>Tony
>>
>>
>>-----Original Message-----
>>From: Peter O'Reilly [mailto:[EMAIL PROTECTED]
>>Sent: Wednesday, 5 November 2003 12:49 PM
>>To: Tomcat Users List
>>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 “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]
>>
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>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]
>
>
>
>
>
>---------------------------------------------------------------------
>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