No, I think you mentioned that. :) -e
On Thu, 31 Jul 2003, Angus Mezick wrote: > Dang, I forgot to mention that we have 6 machines set up like this (or > to be set up like this). > > > -----Original Message----- > > From: Eric J. Pinnell [mailto:[EMAIL PROTECTED] > > Sent: Thursday, July 31, 2003 2:18 PM > > To: Tomcat Users List > > Subject: Re: CiscoLB jk2 problem > > > > > > Hi, > > > > This is why you want to spread your application across two or more > > tomcats. I'm not sure if you can tweak the behavior of the > > error because > > what you are getting is indeed a internal server error. If > > you are going > > to load balance you should try to load balance all the way > > down the stack. > > > > Try giving each apache two or more tomcats to send sessions > > too. JK2 will > > see that tomcat A is down and move to tomcat B. Your application > > monitoring software should then kick of an alert to notify > > someone that a > > tomcat is down and might need human intervention. > > > > -e > > > > On Thu, 31 Jul 2003, Angus Mezick wrote: > > > > > I need to let apache fail nicely when a tomcat instance has crashed, > > > been stopped or is being restarted. Right now this is what happens > > > through the jk2 connector: > > > I stop apache: 10061 - Connection refused > > > I stop one tomcat webapp: HTTP Status 404 > > > I stop the tomcat server: 500 Internal Server Error > > > Directly to tomcat: > > > I stop apache: Nothing happens, not using it :) > > > I stop one tomcat webapp: HTTP Status 404 > > > I stop the tomcat server: 10061 - Connection refused > > > > > > I would like to see apache return 10061 - Connection > > refused when I stop > > > tomcat instead of error 500 because this can cause problems with the > > > cisco load balancer noticing that a server has dropped out > > of the loop. > > > We are doing a simple one apache <-> one tomcat setup on 6 > > machines that > > > are HW load balanced. Each tomcat has multiple webapps > > each accessible > > > through a virtual host. Do I just need to switch to JNI? > > > > > > > > > My current workers2.properties: > > > only at beginnin. In production uncomment it out > > > [logger.apache2] > > > level=DEBUG > > > > > > [shm] > > > file=/ApacheGroup/Apache2/logs/jk2.shm > > > size=1048576 > > > > > > # Example socket channel, override port and host. > > > [channel.socket:localhost:8009] > > > port=8009 > > > host=wbdevweb5.guidestar.net > > > > > > # define the worker > > > [ajp13:localhost:8009] > > > channel=channel.socket:localhost:8009 > > > > > > # define the worker > > > [status:status] > > > > > > # Uri mapping > > > [uri:/jkstatus/*] > > > worker=status:status > > > > > > # Uri mapping > > > [uri:wwwwbdevweb5.guidestar.net/*] > > > worker=ajp13:localhost:8009 > > > [uri:wwwwbdevweb5/*] > > > worker=ajp13:localhost:8009 > > > > > > > > > My jk2.properties: > > > > > > handler.list=channelSocket,request > > > channelSocket.port=8009 > > > > > > --Angus > > > > > > > > --------------------------------------------------------------------- > > > 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]
