<html><head></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_1491687721971_3484"><span>The issue got resolved when i configured session affinity for the cluster.</span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 13px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Friday, April 7, 2017 8:53 AM, Prabhakara Rao Doddapaneni <dp_rao@yahoo.com> wrote:<br></font></div> <br><br> <div class="y_msg_container"><div id="yiv8715545924"><!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]--><div><div style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"><div id="yiv8715545924yui_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 rel="nofollow" target="_blank" href="https://wiki.evolveum.com/pages/viewpage.action?pageId=11075783" class="yiv8715545924enhancr2_6a1d5b90-d667-1332-fbd1-fa9c8a38fe30" id="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3332">Clustering / high availability setup - midPoint - Evolveum Confluence</a></div><div id="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3381"><br></div><div id="yiv8715545924enhancr2_6a1d5b90-d667-1332-fbd1-fa9c8a38fe30" class="yiv8715545924yahoo-link-enhancr-card yiv8715545924ymail-preserve-class yiv8715545924ymail-preserve-style" style="max-width:400px;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;" 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 rel="nofollow" target="_blank" href="https://wiki.evolveum.com/pages/viewpage.action?pageId=11075783" style="text-decoration:none;color:#000;" class="yiv8715545924yahoo-enhancr-cardlink" id="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3355"> <table class="yiv8715545924card-wrapper yiv8715545924yahoo-ignore-table" cellpadding="0" cellspacing="0" border="0" style="max-width:400px;" id="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3354"> <tbody id="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3353"><tr id="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3352"> <td width="400" id="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3351"> <table class="yiv8715545924card yiv8715545924yahoo-ignore-table" cellpadding="0" cellspacing="0" border="0" width="100%" style="max-width:400px;" id="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3350"> <tbody id="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3349"><tr id="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3348"> <td class="yiv8715545924card-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="yiv8715545924yui_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="yiv8715545924yahoo-ignore-table" cellpadding="0" cellspacing="0" border="0" style="width:100%;" id="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3346"> <tbody id="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3345"><tr id="yiv8715545924yui_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="yiv8715545924yui_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="yiv8715545924yahoo-ignore-table" height="185" style="width:100%;height:185px;min-height:185px;" id="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3342"> <tbody id="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3341"><tr id="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3340"> <td class="yiv8715545924card-richInfo2" style="text-align:left;text-align:left;padding:15px 0 0 15px;vertical-align:top;"> </td> <td class="yiv8715545924card-actions" style="text-align:right;padding:15px 15px 0 0;vertical-align:top;" id="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3339"> <div class="yiv8715545924card-share-container"></div> </td> </tr> </tbody></table><!--[if gte mso 9]></v:textbox></v:rect><![endif]--> </td> </tr> </tbody></table> </td> </tr> <tr id="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3445"> <td id="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3444"> <table class="yiv8715545924card-info yiv8715545924yahoo-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="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3443"> <tbody id="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3442"><tr id="yiv8715545924yui_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="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3440"> <h2 class="yiv8715545924card-title" style="font-size:16px;line-height:19px;margin:0 0 4px 0;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;">Clustering / high availability setup - midPoint - Evolveum Confluence</h2> <div class="yiv8715545924card-description" style="font-size:11px;line-height:15px;color:#999;"></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="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3374"><br></div><div id="yiv8715545924yui_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="yiv8715545924yui_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="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3374"><br></div><div id="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3374">Thanks,</div><div id="yiv8715545924yui_3_16_0_ym19_1_1491569202554_3374">Prabhakar.</div></div></div></div><br><br></div> </div> </div> </div></div></body></html>