Hi., My environements are., Windows 2000 Tomcat 5.x + Apache 2.X + Mod_JK2
I have three tomcat instances and Apache server in a single machine.. Clusterring and load balancing is working fine. But i'm getting this error in Apache error.log file. 1.Can you please check my Apache logs and worker properties file and give me your suggestion. 2.My main tomcat instance prints the nomal log information with the symbol warning..why this is happeneing? 3.In tomcat I'm not able to set the docBase value for the context as a Absolute path.I'm using like ../webapps/appfolder. so i have to copy the appfolder to all instances. How do i access the appfolder from common place? -----------Tomcat log---------------- Apr 2, 2004 9:09:07 AM org.apache.jk.common.HandlerRequest decodeRequest WARNING: Error registering request -------------------------------------------------- -----------------------------Apache log----------------- [Thu Apr 01 16:54:28 2004] [error] env.createBean2(): Error getting factory for [worker.list] (null) [Thu Apr 01 16:54:28 2004] [error] config.update(): Can't create worker.list [Thu Apr 01 16:54:28 2004] [notice] Parent: Created child process 2232 [Thu Apr 01 16:54:28 2004] [error] env.createBean2(): Error getting factory for [worker.list] (null) [Thu Apr 01 16:54:28 2004] [error] config.update(): Can't create worker.list [Thu Apr 01 16:54:28 2004] [notice] Child 2232: Child process is running [Thu Apr 01 16:54:28 2004] [error] mod_jk child init 1 0 [Thu Apr 01 16:54:28 2004] [notice] Child 2232: Acquired the start mutex. [Thu Apr 01 16:54:28 2004] [notice] Child 2232: Starting 250 worker threads. [Thu Apr 01 17:07:32 2004] [error] ajp13.service() error sending, reconnect channel.socket:localhost:8019 -1 0 No error [Thu Apr 01 17:07:33 2004] [error] ajp13.service() error sending, reconnect channel.socket:localhost:8019 -1 0 No error [Thu Apr 01 17:10:45 2004] [error] ajp13.service() error sending, reconnect channel.socket:localhost:8019 -1 0 No error [Thu Apr 01 17:10:46 2004] [error] ajp13.service() error sending, reconnect channel.socket:localhost:8009 -1 0 No error [Thu Apr 01 17:10:46 2004] [error] ajp13.service() error sending, reconnect channel.socket:localhost:8009 -1 0 No error [Thu Apr 01 17:10:59 2004] [error] ajp13.service() error sending, reconnect channel.socket:localhost:8019 -1 0 No error ------------------------------------------------------ ------------------worker.properties------------------ #---- workers2.properties # Define the TCP socket communication channel #ps=/ worker.list=tomcat,tomcatA,tomcatB loadbalancer #worker.tomat. [channel.socket:localhost:8009] worker.tomcat.port=8009 worker.tomcat.host=localhost worker.tomcat.lbfactor=2 #-- #worker.tomat. [channel.socket:localhost:8019] worker.tomcatA.port=8019 worker.tomcatA.host=localhost worker.tomcatA.lbfactor=2 #-- #worker.tomat. [channel.socket:localhost:8029] worker.tomcatB.port=8029 worker.tomcatB.host=localhost worker.tomcatB.lbfactor=2 #-- worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=tomcat,tomcatA,tomcatB # Map the Tomcat webapp to the Web server uri space [uri:/*] info=Map the entire "examples" webapp debug=0 # Configure the shared memory file [shm] file=C:\$Java\3_AS\Apache2\logs\jk2.shm size=1048576 debug=0
