<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"><head><!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]--></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1491569202554_3186" dir="ltr">I am implementing a cloud based clustered midpoint deployment with two tomcat nodes.  Followed the instructions from <a href="https://wiki.evolveum.com/pages/viewpage.action?pageId=11075783" class="enhancr2_6a1d5b90-d667-1332-fbd1-fa9c8a38fe30" id="yui_3_16_0_ym19_1_1491569202554_3332">Clustering / high availability setup - midPoint - Evolveum Confluence</a></div><div id="yui_3_16_0_ym19_1_1491569202554_3381"><br></div><div id="enhancr2_6a1d5b90-d667-1332-fbd1-fa9c8a38fe30" class="yahoo-link-enhancr-card  ymail-preserve-class ymail-preserve-style" style="max-width:400px;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;" contenteditable="false" data-url="https://wiki.evolveum.com/pages/viewpage.action?pageId=11075783" data-type="yenhancr" data-category="article" data-embed-url="" data-size="medium" dir="ltr"> <a href="https://wiki.evolveum.com/pages/viewpage.action?pageId=11075783" style="text-decoration:none !important; color: #000 !important;" class="yahoo-enhancr-cardlink" target="_blank" rel="noreferrer" id="yui_3_16_0_ym19_1_1491569202554_3355"> <table class="card-wrapper yahoo-ignore-table" cellpadding="0" cellspacing="0" border="0" style="max-width:400px;" id="yui_3_16_0_ym19_1_1491569202554_3354"> <tbody id="yui_3_16_0_ym19_1_1491569202554_3353"><tr id="yui_3_16_0_ym19_1_1491569202554_3352"> <td width="400" id="yui_3_16_0_ym19_1_1491569202554_3351"> <table class="card yahoo-ignore-table" cellpadding="0" cellspacing="0" border="0" width="100%" style="max-width:400px;" id="yui_3_16_0_ym19_1_1491569202554_3350"> <tbody id="yui_3_16_0_ym19_1_1491569202554_3349"><tr id="yui_3_16_0_ym19_1_1491569202554_3348"> <td class="card-primary-image-cell" style="background:#000 url('https://s.yimg.com/vv//api/res/1.2/T1u6gHC0zzdKU2DAiV.mnQ--/YXBwaWQ9bWFpbDtmaT1maWxsO2g9MjAwO3c9NDAw/https://wiki.evolveum.com/s/en_GB/5984/b2286f9ab2318d2461acc96e45514b4dd737af96.8/_/images/logo/confluence-logo.png.cf.jpg') no-repeat center center;background-size:cover;height:200px;position:relative;" background="https://s.yimg.com/vv//api/res/1.2/T1u6gHC0zzdKU2DAiV.mnQ--/YXBwaWQ9bWFpbDtmaT1maWxsO2g9MjAwO3c9NDAw/https://wiki.evolveum.com/s/en_GB/5984/b2286f9ab2318d2461acc96e45514b4dd737af96.8/_/images/logo/confluence-logo.png.cf.jpg" bgcolor="#000000" valign="top" id="yui_3_16_0_ym19_1_1491569202554_3347"> <!--[if gte mso 9]><v:rect fill="true" stroke="false" style="width:400px;height:218px;position:absolute;top:0;left:0;"><v:fill type="frame" color="#000000" src="https://s.yimg.com/vv//api/res/1.2/T1u6gHC0zzdKU2DAiV.mnQ--/YXBwaWQ9bWFpbDtmaT1maWxsO2g9MjAwO3c9NDAw/https://wiki.evolveum.com/s/en_GB/5984/b2286f9ab2318d2461acc96e45514b4dd737af96.8/_/images/logo/confluence-logo.png.cf.jpg"/></v:rect><![endif]--> <table class="yahoo-ignore-table" cellpadding="0" cellspacing="0" border="0" valign="top" style="width:100%;" id="yui_3_16_0_ym19_1_1491569202554_3346"> <tbody id="yui_3_16_0_ym19_1_1491569202554_3345"><tr id="yui_3_16_0_ym19_1_1491569202554_3344"> <td style="background:transparent url('https://s.yimg.com/nq/storm/assets/enhancrV2/12/overlay-tile.png') repeat left top;height:200px;" background="https://s.yimg.com/nq/storm/assets/enhancrV2/12/overlay-tile.png" bgcolor="transparent" valign="top" id="yui_3_16_0_ym19_1_1491569202554_3343"> <!--[if gte mso 9]><v:rect fill="true" stroke="false" style="width:400px;height:218px;position:absolute;top:-18px;left:0;"><v:fill type="pattern" color="#000000" src="https://s.yimg.com/nq/storm/assets/enhancrV2/12/overlay-tile.png"/><v:textbox inset="0,0,20px,0"><![endif]--> <table class="yahoo-ignore-table" height="185" style="width:100%;height:185px;min-height:185px;" id="yui_3_16_0_ym19_1_1491569202554_3342"> <tbody id="yui_3_16_0_ym19_1_1491569202554_3341"><tr id="yui_3_16_0_ym19_1_1491569202554_3340"> <td class="card-richInfo2" style="text-align:left;text-align:left;padding:15px 0 0 15px;vertical-align:top;">  </td> <td class="card-actions" style="text-align:right;padding:15px 15px 0 0;vertical-align:top;" id="yui_3_16_0_ym19_1_1491569202554_3339"> <div class="card-share-container"></div> </td> </tr> </tbody></table> <!--[if gte mso 9]></v:textbox></v:rect><![endif]--> </td> </tr> </tbody></table> </td> </tr> <tr id="yui_3_16_0_ym19_1_1491569202554_3445"> <td id="yui_3_16_0_ym19_1_1491569202554_3444"> <table class="card-info yahoo-ignore-table" align="center" cellpadding="0" cellspacing="0" border="0" style="background:#fff;position:relative;z-index:2;width:95%;max-width:380px;border:1px solid #e0e4e9;border-bottom:3px solid #000000;margin-top:-40px;margin-left:auto;margin-right:auto;" id="yui_3_16_0_ym19_1_1491569202554_3443"> <tbody id="yui_3_16_0_ym19_1_1491569202554_3442"><tr id="yui_3_16_0_ym19_1_1491569202554_3441"> <td style="background-color:#ffffff;padding:16px 0 16px 12px;vertical-align:top;">  </td> <td style="vertical-align:middle;padding:16px 12px;width:99%;" id="yui_3_16_0_ym19_1_1491569202554_3440"> <h2 class="card-title" style="font-size: 16px; line-height:19px; margin:0 0 4px 0;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;word-break:break-word;">Clustering / high availability setup - midPoint - Evolveum Confluence</h2>  <div class="card-description" style="font-size:11px;line-height:15px;color:#999;word-break:break-word;"></div> </td> <td style="text-align:right;padding:16px 12px 16px 0;">  </td> </tr> </tbody></table> </td> </tr> </tbody></table> </td> </tr> </tbody></table> </a></div><div id="yui_3_16_0_ym19_1_1491569202554_3374"><br></div><div id="yui_3_16_0_ym19_1_1491569202554_3374">Servers start up successful.  When I stop one of the two nodes, the application works good.  When I start both of them, the application fails with too many redirects.  IDM logs or catalina outs do not show errors or warns.  access logs show lot of 302s.</div><div id="yui_3_16_0_ym19_1_1491569202554_3374">I am unable to find out where i am going wrong.  Can somebody help me find the problem?</div><div id="yui_3_16_0_ym19_1_1491569202554_3374"><br></div><div id="yui_3_16_0_ym19_1_1491569202554_3374">Thanks,</div><div id="yui_3_16_0_ym19_1_1491569202554_3374">Prabhakar.</div></div></body></html>