On 13.03.2009 10:54, Toni Menendez Lopez wrote:
Here is the trace with the error, from mod_jk.log with DEBUG mode, but I suspect where is the error... The thing is that I have 2 workers working one for JBOSS (MCDP) and one for TOMCAT(izonetv), and the thing is that in the call I do redirect from JBOSS to TOMCAT, and it seems that in the second request for tomcat the mod_jk still is trying to send the call to the MCDP worker. Any idea how can I do the configuration ? This is my worker : # Automatically Generated workers.properties file worker.list=MCDP,izonetv,status # MCDP LoadBalancer Definition worker.MCDP.balance_workers=MCDP-mifeas01_data,MCDP-mifeas02_data worker.MCDP.method=Session worker.MCDP.retries=1 worker.MCDP.sticky_session=1 worker.MCDP.sticky_session_force=1 worker.MCDP.type=lb # MCDP-mifeas01_data Node Definition worker.MCDP-mifeas01_data.connect_timeout=10000 worker.MCDP-mifeas01_data.fail_on_status=404 worker.MCDP-mifeas01_data.host=mifeas01_data worker.MCDP-mifeas01_data.lbfactor=1 worker.MCDP-mifeas01_data.port=8109 worker.MCDP-mifeas01_data.reply_timeout=30000 worker.MCDP-mifeas01_data.type=ajp13 # MCDP-mifeas02_data Node Definition worker.MCDP-mifeas02_data.connect_timeout=10000 worker.MCDP-mifeas02_data.fail_on_status=404 worker.MCDP-mifeas02_data.host=mifeas02_data worker.MCDP-mifeas02_data.lbfactor=1 worker.MCDP-mifeas02_data.port=8109 worker.MCDP-mifeas02_data.reply_timeout=30000 worker.MCDP-mifeas02_data.type=ajp13 # izonetv LoadBalancer Definition worker.izonetv.balance_workers=izonetv-mifeas01_data,izonetv-mifeas02_data worker.izonetv.method=Session worker.izonetv.retries=1 worker.izonetv.sticky_session=True worker.izonetv.sticky_session_force=1 worker.izonetv.type=lb # izonetv-mifeas01_data Node Definition worker.izonetv-mifeas01_data.connect_timeout=10000 worker.izonetv-mifeas01_data.fail_on_status=404 worker.izonetv-mifeas01_data.host=mifeas01_data worker.izonetv-mifeas01_data.lbfactor=1 worker.izonetv-mifeas01_data.port=8009 worker.izonetv-mifeas01_data.reply_timeout=30000 worker.izonetv-mifeas01_data.type=ajp13 # izonetv-mifeas02_data Node Definition worker.izonetv-mifeas02_data.connect_timeout=10000 worker.izonetv-mifeas02_data.fail_on_status=404 worker.izonetv-mifeas02_data.host=mifeas02_data worker.izonetv-mifeas02_data.lbfactor=1 worker.izonetv-mifeas02_data.port=8009 worker.izonetv-mifeas02_data.reply_timeout=30000 worker.izonetv-mifeas02_data.type=ajp13 # Status worker for managing load balancer worker.status.type=status Toni.
You are confusing me. I thought you wanted to discuss a problem related to shutting down a passive cluster node. Not you are talking about a problem, whether a request gets send to the right Tomcat.
The log says that the redirect goes to a URL starting with http://159.23.98.22/CDP311/...
and everything that matches /CDP311/ is mounted to izonetv. So mod_jk tries to send via izonetv, but all members of this node are in error state. We don't know why, because those nodes seem to have gone into error earlier and you didn't include those parts of the log file.
BTW: Please first update your mod_jk, because 1.2.23 is 2 years old, and when trying to help it's much easier to assume the latest stable behaviour.
Regards, Rainer --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org