tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ingmars Rubenis <ingmars.rube...@lu.lv>
Subject Re[4]: Your configuration Files
Date Thu, 04 Dec 2003 20:26:01 GMT
Hi,
So I guess load balancing  does not work.
I  think these messages shows that.
That is all.
I think this problem is not in my hands to solve.


Asif> Hi,

Asif> I looked in my log files and found the same error.
Asif> But in my case everything seems to work fine.

Asif> If you find the answer to the errors let me know.

Asif> Try testing without the Uportal.
Asif> Just the basic configuration.

Asif> Good Luck

Asif> -----Original Message-----
Asif> From: Ingmars Rubenis [mailto:ingmars.rubenis@lu.lv]
Asif> Sent: Thursday, December 04, 2003 2:51 PM
Asif> To: Tomcat Users List
Asif> Subject: Re[2]: Your configuration Files


Asif>> did you see the jkstatus page
Asif>> is the jk2.shm file created when you start apache.
Asif> Yes
Asif> Do you have such error?
Asif> here is error
Asif> [Thu Dec 04 19:13:03 2003] [error] jk2_init() Can't find child 9532 in scoreboard
Asif> [Thu Dec 04 19:13:03 2003] [error] mod_jk child init 1 -2
Asif> [Thu Dec 04 19:13:50 2003] [error] jk2_init() Can't find child 9537 in scoreboard
Asif> [Thu Dec 04 19:13:50 2003] [error] mod_jk child init 1 -2
Asif> [Thu Dec 04 19:14:22 2003] [error] jk2_init() Can't find child 9571 in scoreboard
Asif> [Thu Dec 04 19:14:22 2003] [error] mod_jk child init 1 -2
Asif> [Thu Dec 04 19:14:23 2003] [error] jk2_init() Can't find child 9572 in scoreboard
Asif> [Thu Dec 04 19:14:23 2003] [error] mod_jk child init 1 -2
Asif> [Thu Dec 04 19:14:23 2003] [error] jk2_init() Can't find child 9573 in scoreboard
Asif> [Thu Dec 04 19:14:23 2003] [error] mod_jk child init 1 -2
Asif> [Thu Dec 04 19:14:24 2003] [error] jk2_init() Can't find child 9574 in scoreboard
Asif> [Thu Dec 04 19:14:24 2003] [error] mod_jk child init 1 -2
Asif> [Thu Dec 04 19:14:24 2003] [error] jk2_init() Can't find child 9575 in scoreboard
Asif> [Thu Dec 04 19:14:24 2003] [error] mod_jk child init 1 -2
Asif> [Thu Dec 04 19:14:24 2003] [error] jk2_init() Can't find child 9576 in scoreboard
Asif> [Thu Dec 04 19:14:24 2003] [error] mod_jk child init 1 -2
Asif> [Thu Dec 04 19:14:24 2003] [error] jk2_init() Can't find child 9577 in scoreboard
Asif> [Thu Dec 04 19:14:24 2003] [error] mod_jk child init 1 -2
Asif> [Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
Asif> [Thu Dec 04 19:16:29 2003] [error]
Asif> channelSocket.receive(): Bad header
Asif> [Thu Dec 04 19:16:29 2003] [error]
Asif> workerEnv.processCallbacks() Error reading reply
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.service()
Asif> ajpGetReply recoverable error 21000
Asif> [Thu Dec 04 19:16:29 2003] [error] channelSocket.open()
Asif> connect failed localhost:8019 111 Connection refused 
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed
Asif> to connect endpoint errno=111 Connection refused
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error 
Asif> forwarding ajp13:localhost:8019 1 1
Asif> [Thu Dec 04 19:16:29 2003] [error] lb.service() worker
Asif> failed 21000 for ajp13:localhost:8019
Asif> [Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
Asif> [Thu Dec 04 19:16:29 2003] [error]
Asif> channelSocket.receive(): Bad header
Asif> [Thu Dec 04 19:16:29 2003] [error]
Asif> workerEnv.processCallbacks() Error reading reply
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.service()
Asif> ajpGetReply recoverable error 21000
Asif> [Thu Dec 04 19:16:29 2003] [error] channelSocket.open()
Asif> connect failed localhost:8019 111 Connection refused 
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed
Asif> to connect endpoint errno=111 Connection refused
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error 
Asif> forwarding ajp13:localhost:8019 1 1
Asif> [Thu Dec 04 19:16:29 2003] [error] lb.service() worker
Asif> failed 21000 for ajp13:localhost:8019
Asif> [Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
Asif> [Thu Dec 04 19:16:29 2003] [error]
Asif> channelSocket.receive(): Bad header
Asif> [Thu Dec 04 19:16:29 2003] [error]
Asif> workerEnv.processCallbacks() Error reading reply
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.service()
Asif> ajpGetReply recoverable error 21000
Asif> [Thu Dec 04 19:16:29 2003] [error] channelSocket.open()
Asif> connect failed localhost:8019 111 Connection refused 
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed
Asif> to connect endpoint errno=111 Connection refused
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error 
Asif> forwarding ajp13:localhost:8019 1 1
Asif> [Thu Dec 04 19:16:29 2003] [error] lb.service() worker
Asif> failed 21000 for ajp13:localhost:8019
Asif> [Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
Asif> [Thu Dec 04 19:16:29 2003] [error]
Asif> channelSocket.receive(): Bad header
Asif> [Thu Dec 04 19:16:29 2003] [error]
Asif> workerEnv.processCallbacks() Error reading reply
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.service()
Asif> ajpGetReply recoverable error 21000
Asif> [Thu Dec 04 19:16:29 2003] [error] channelSocket.open()
Asif> connect failed localhost:8019 111 Connection refused 
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed
Asif> to connect endpoint errno=111 Connection refused
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error 
Asif> forwarding ajp13:localhost:8019 1 1
Asif> [Thu Dec 04 19:16:29 2003] [error] lb.service() worker
Asif> failed 21000 for ajp13:localhost:8019
Asif> [Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
Asif> [Thu Dec 04 19:16:29 2003] [error]
Asif> channelSocket.receive(): Bad header
Asif> [Thu Dec 04 19:16:29 2003] [error]
Asif> workerEnv.processCallbacks() Error reading reply
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.service()
Asif> ajpGetReply recoverable error 21000
Asif> [Thu Dec 04 19:16:29 2003] [error] channelSocket.open()
Asif> connect failed localhost:8019 111 Connection refused 
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed
Asif> to connect endpoint errno=111 Connection refused
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error 
Asif> forwarding ajp13:localhost:8019 1 1
Asif> [Thu Dec 04 19:16:29 2003] [error] lb.service() worker
Asif> failed 21000 for ajp13:localhost:8019
Asif> [Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
Asif> [Thu Dec 04 19:16:29 2003] [error]
Asif> channelSocket.receive(): Bad header
Asif> [Thu Dec 04 19:16:29 2003] [error]
Asif> workerEnv.processCallbacks() Error reading reply
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.service()
Asif> ajpGetReply recoverable error 21000
Asif> [Thu Dec 04 19:16:29 2003] [error] channelSocket.open()
Asif> connect failed localhost:8019 111 Connection refused 
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed
Asif> to connect endpoint errno=111 Connection refused
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error 
Asif> forwarding ajp13:localhost:8019 1 1
Asif> [Thu Dec 04 19:16:29 2003] [error] lb.service() worker
Asif> failed 21000 for ajp13:localhost:8019
Asif> [Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
Asif> [Thu Dec 04 19:16:29 2003] [error]
Asif> channelSocket.receive(): Bad header
Asif> [Thu Dec 04 19:16:29 2003] [error]
Asif> workerEnv.processCallbacks() Error reading reply
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.service()
Asif> ajpGetReply recoverable error 21000
Asif> [Thu Dec 04 19:16:29 2003] [error] channelSocket.open()
Asif> connect failed localhost:8019 111 Connection refused 
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed
Asif> to connect endpoint errno=111 Connection refused
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error 
Asif> forwarding ajp13:localhost:8019 1 1
Asif> [Thu Dec 04 19:16:29 2003] [error] lb.service() worker
Asif> failed 21000 for ajp13:localhost:8019
Asif> [Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
Asif> [Thu Dec 04 19:16:29 2003] [error]
Asif> channelSocket.receive(): Bad header
Asif> [Thu Dec 04 19:16:29 2003] [error]
Asif> workerEnv.processCallbacks() Error reading reply
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.service()
Asif> ajpGetReply recoverable error 21000
Asif> [Thu Dec 04 19:16:29 2003] [error] channelSocket.open()
Asif> connect failed localhost:8019 111 Connection refused 
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed
Asif> to connect endpoint errno=111 Connection refused
Asif> [Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error 
Asif> forwarding ajp13:localhost:8019 1 1
Asif> [Thu Dec 04 19:16:29 2003] [error] lb.service() worker
Asif> failed 21000 for ajp13:localhost:8019
Asif> [Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00

Asif>> -----Original Message-----
Asif>> From: Asif Chowdhary 
Asif>> Sent: Thursday, December 04, 2003 10:07 AM
Asif>> To: tomcat-user@jakarta.apache.org
Asif>> Subject: RE: Your configuration Files


Asif>> Try this
Asif>> [shm]
Asif>> info=Scoreboard. Required for reconfiguration and
Asif>> status with multi process servers
Asif>> file=/var/log/httpd/jk2.shm
Asif>> size=10000

Asif>> -----Original Message-----
Asif>> From: Ingmars Rubenis [mailto:ingmars.rubenis@lu.lv]
Asif>> Sent: Thursday, December 04, 2003 7:41 AM
Asif>> To: Asif Chowdhary
Asif>> Subject: Re: Your configuration Files
Asif>> Importance: High


Asif>> Thank You, but I have
Asif>> the same errors  in error.log (apache dir)
Asif>> [Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't
Asif>> find child 3944 in scoreboard
Asif>> [Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
Asif>> [Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't
Asif>> find child 3945 in scoreboard
Asif>> [Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
Asif>> [Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't
Asif>> find child 3946 in scoreboard
Asif>> [Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
Asif>> [Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't
Asif>> find child 3947 in scoreboard
Asif>> [Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
Asif>> [Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't
Asif>> find child 3948 in scoreboard
Asif>> [Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
Asif>> [Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't
Asif>> find child 3949 in scoreboard
Asif>> [Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
Asif>> [Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't
Asif>> find child 3950 in scoreboard
Asif>> [Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
Asif>> [Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't
Asif>> find child 3951 in scoreboard
Asif>> [Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
Asif>> [Thu Dec 04 14:40:08 2003] [notice] Apache/2.0.40 (Red
Asif>> Hat Linux) configured -- resuming normal operations


Asif>>> Hi,

Asif>>> I just felt like doing a good deed.

Asif>>> Here are the modified files.

Asif>>>  <<jk2.properties>>  <<workers2.properties>> 


Asif>>> Once you have the mod_jk2 on your machine working.
Asif>>> Type: http://localhost/jkstatus. This will display the page
Asif>>> and will mean that mod_jk2 is working.

Asif>>> Next. Ensure Tomcat is working by
Asif>>> Type: http://localhost:8080/examples
Asif>>> Try the servlets and Jsp there.

Asif>>> Next: Type
Asif>>> http://localhost:80/examples
Asif>>> If you can access the Tomcat servlets and JSP page from here
Asif>>> it means that your connections are working fine.

Asif>>> Also, I have added the info in workers2.properties file that you
Asif>>> should add to the server.xml file of your tomcat.

Asif>>> The jvmRoute="localhost:8010" This is for load balancing.
Asif>>> Also the connector should be in your server.xml file.

Asif>>> Asif





Asif>> Best wishes
Asif>> Ingmars Rubenis
Asif>> LU
Asif>> University of Latvia
Asif>> Developer
Asif>> IT Department
Asif>> (371) 9227133


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



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



Asif> Best wishes
Asif> Ingmars Rubenis
Asif> LU
Asif> University of Latvia
Asif> Developer
Asif> IT Department
Asif> (371) 9227133


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



Best wishes
Ingmars Rubenis
LU
University of Latvia
Developer
IT Department
(371) 9227133
Mime
View raw message