tomcat webapp failover

烈酒焚心 提交于 2019-12-11 09:33:26

问题


I am working on the high availability aspect of a webapp deployed in tomcat. I require a mechanism for failover such that it should not be apparent to the webapp user and have am looking at tomcat clustering as a solution for the same.

If I am looking only at failover and not on load balancing(not required at this point) , how should I configure the tomcat cluster ?

EDIT

I am aware about the mechanism but am looking at the configuration aspect.


回答1:


looking for this myself, I finally found https://tomcat.apache.org/connectors-doc/common_howto/loadbalancers.html, look for "configure hot spare workers" under "Advanced Load Balancer Worker Properties"



来源:https://stackoverflow.com/questions/11465714/tomcat-webapp-failover

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!