{"action":"created","issue":{"url":"https://api.github.com/repos/payara/Payara/issues/455","labels_url":"https://api.github.com/repos/payara/Payara/issues/455/labels{/name}","comments_url":"https://api.github.com/repos/payara/Payara/issues/455/comments","events_url":"https://api.github.com/repos/payara/Payara/issues/455/events","html_url":"https://github.com/payara/Payara/issues/455","id":108172377,"number":455,"title":"Rolling application upgrades - Anybody had any success?","user":{"login":"lprimak","id":1002484,"avatar_url":"https://avatars.githubusercontent.com/u/1002484?v=3","gravatar_id":"","url":"https://api.github.com/users/lprimak","html_url":"https://github.com/lprimak","followers_url":"https://api.github.com/users/lprimak/followers","following_url":"https://api.github.com/users/lprimak/following{/other_user}","gists_url":"https://api.github.com/users/lprimak/gists{/gist_id}","starred_url":"https://api.github.com/users/lprimak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lprimak/subscriptions","organizations_url":"https://api.github.com/users/lprimak/orgs","repos_url":"https://api.github.com/users/lprimak/repos","events_url":"https://api.github.com/users/lprimak/events{/privacy}","received_events_url":"https://api.github.com/users/lprimak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/payara/Payara/labels/question","name":"question","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-09-24T17:05:08Z","updated_at":"2015-11-15T06:45:45Z","closed_at":"2015-09-29T15:50:39Z","body":"I am struggling to get rolling app upgrades working with Payara (and GlassFish)\r\nbut hitting a snag after snag.\r\nHas anyone successfully gotten rolling upgrades to work?\r\n\r\nWhat do I mean by rolling upgrades?\r\n- Apache load-balancer (example) front-end with AJP links to Payara\r\n- Clustering environment, where one node failure results in no visible downtime\r\n- Application upgrades do not result in downtime or session loss\r\n\r\nIn my understanding, this is what's required:\r\n- Versioned application deployment to a cluster\r\n- instances are removed from the cluster, upgraded, and re-enable on the cluster on-by-one\r\n- as versions get upgraded, session flows from one Payara instance to another, thus users don't notice and their session doesn't get lost\r\n\r\nHere are some problems that I encountered so far:\r\n- Session loss.  When upgrading all servers one-by-one, the session gets lost,\r\neven when upgrading to the exact same WAR file, just with a different version.\r\nThis is with stock GF, haven't tried it on Payara with Hazelcast-based clustering\r\n- EclipseLink errors such as \"cannot cast com.my.Entity to com.my.Entity\" after upgrades,\r\nindicating some class loading issues with the in-place versioned upgrades\r\n- ManagedEexcutor and Batch APIs don't work in versioned applications\r\n- There is generally poor stability with enabling different versions of an app on an individual\r\ncluster instance.\r\n\r\nSo my question is: Has anybody out there got the rolling upgrades to work?\r\nIf not this way I described above, Has anybody had success with rolling upgrades in JavaEE, no matter how specifically it's done?  And if yes, can you describe it?"},"comment":{"url":"https://api.github.com/repos/payara/Payara/issues/comments/156786398","html_url":"https://github.com/payara/Payara/issues/455#issuecomment-156786398","issue_url":"https://api.github.com/repos/payara/Payara/issues/455","id":156786398,"user":{"login":"lprimak","id":1002484,"avatar_url":"https://avatars.githubusercontent.com/u/1002484?v=3","gravatar_id":"","url":"https://api.github.com/users/lprimak","html_url":"https://github.com/lprimak","followers_url":"https://api.github.com/users/lprimak/followers","following_url":"https://api.github.com/users/lprimak/following{/other_user}","gists_url":"https://api.github.com/users/lprimak/gists{/gist_id}","starred_url":"https://api.github.com/users/lprimak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lprimak/subscriptions","organizations_url":"https://api.github.com/users/lprimak/orgs","repos_url":"https://api.github.com/users/lprimak/repos","events_url":"https://api.github.com/users/lprimak/events{/privacy}","received_events_url":"https://api.github.com/users/lprimak/received_events","type":"User","site_admin":false},"created_at":"2015-11-15T06:45:45Z","updated_at":"2015-11-15T06:45:45Z","body":"Commit for Weld 2.2.16.Final (the version used tor latest Payara release is here)\r\nhttps://github.com/flowlogix/core/commit/0ef9ea071008addd2ce822db237e6efb2accf3e7\r\n"}}