{"id":2363,"date":"2022-08-30T15:24:14","date_gmt":"2022-08-30T15:24:14","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/01\/05\/tomcat-failover-high-availability-active-passive-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:24:14","modified_gmt":"2022-08-30T15:24:14","slug":"tomcat-failover-high-availability-active-passive-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/tomcat-failover-high-availability-active-passive-collection-of-common-programming-errors\/","title":{"rendered":"Tomcat Failover High Availability (active \/ passive)-Collection of common programming errors"},"content":{"rendered":"<p>Most likely you can use windows built in failover functionality. Im not very familiar with it, but there are questions like: Windows Service automatic failover<\/p>\n<p>But why do you want active\/passive setup rather than two (or more) tomcats working simultaneously in a load balanced setup? IMO this is much better and possibly easier to configure.<\/p>\n<p>Using tomcats session distribution any server can crash at will and no visitor notices any interruption.<\/p>\n<p>You can also easily take one server out of the load balancer, perform work like upgrades, and then reenable it again.<\/p>\n<p>Last but not least, when two servers are not enough to handle the load, you can add more, which i think is harder in a active\/passive setup<\/p>\n<p>(I would&#8217;ve just added a comment, since i dont really answer your question, but i lack points and I though I should give you this tip anyway \ud83d\ude42<\/p>\n<p id=\"rop\"><small>Originally posted 2014-01-05 22:29:19. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Most likely you can use windows built in failover functionality. Im not very familiar with it, but there are questions like: Windows Service automatic failover But why do you want active\/passive setup rather than two (or more) tomcats working simultaneously in a load balanced setup? IMO this is much better and possibly easier to configure. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2363","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2363","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2363"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2363\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2363"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2363"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}