{"id":3711,"date":"2014-11-06T08:25:20","date_gmt":"2014-11-06T00:25:20","guid":{"rendered":"http:\/\/rmohan.com\/?p=3711"},"modified":"2014-11-06T08:25:20","modified_gmt":"2014-11-06T00:25:20","slug":"allowing-longer-web-session-going-through-apache-to-websphere-application-server","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=3711","title":{"rendered":"Allowing longer web session going through Apache to Websphere Application Server"},"content":{"rendered":"<p>Had a tough one last month when migrating the system to WAS. I&#8217;m still new to WAS, hit a few problems and take this chance to document down so that this form my reference and hopefully it help you too.<\/p>\n<p>Users has been complaining that the web service keep getting time out, returning a 500 error.<\/p>\n<p>What i found out was that i can actually, tune the &#8220;ServerIOTimeout&#8221; parameter in the WAS plugin for Apache beyond the default. i used 900, which is 15min in seconds.<\/p>\n<p>In addition,a little performance fine tuning was done using &#8220;LoadBalanceWeight&#8221; to keep the application servers from being &#8216;hit&#8217; random when they are just started up, especially when i have a cluster of them. As recommended by IBM specialist, i used some numbers, with one of the application server assigned to an odd number, different from the rest.<\/p>\n<p>The idea is to make one of the application server the first one to serve, instead of randomising it.<\/p>\n<p>      Server CloneID=&#8221;179d3la&#8221; ConnectTimeout=&#8221;5&#8243; ExtendedHandshake=&#8221;false&#8221; LoadBalanceWeight=&#8221;20&#8243; MaxConnections=&#8221;-1&#8243; Name=&#8221;Node1&#8243; ServerIOTimeout=&#8221;900&#8243; WaitForContinue=&#8221;false&#8221;<br \/>\n&#8230;<br \/>\n&#8230;<br \/>\n     Server CloneID=&#8221;179d5sb&#8221; ConnectTimeout=&#8221;5&#8243; ExtendedHandshake=&#8221;false&#8221; LoadBalanceWeight=&#8221;20&#8243; MaxConnections=&#8221;-1&#8243; Name=&#8221;Node2&#8243; ServerIOTimeout=&#8221;900&#8243; WaitForContinue=&#8221;false&#8221;<br \/>\n&#8230;<br \/>\n&#8230;<br \/>\n      Server CloneID=&#8221;179d8gc&#8221; ConnectTimeout=&#8221;5&#8243; ExtendedHandshake=&#8221;false&#8221; LoadBalanceWeight=&#8221;21&#8243; MaxConnections=&#8221;-1&#8243; Name=&#8221;Node3&#8243; ServerIOTimeout=&#8221;900&#8243; WaitForContinue=&#8221;false&#8221;<br \/>\n&#8230;<br \/>\n&#8230; <\/p>\n<p>Do let me know if you have better ideas of solving it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Had a tough one last month when migrating the system to WAS. I&#8217;m still new to WAS, hit a few problems and take this chance to document down so that this form my reference and hopefully it help you too.<\/p>\n<p>Users has been complaining that the web service keep getting time out, returning a 500 [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3711"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3711"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3711\/revisions"}],"predecessor-version":[{"id":3712,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3711\/revisions\/3712"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3711"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}