Re: [Architecture] [Progress] HTTP Session Persistence for WSO2 Application Server

2014-11-19 Thread Gayashan Amarasinghe
Hi Pubudu, Also please test with GD enabled. We ran into issues in session replication when GD was enabled in the following scenario. Enable GD in node 1 and 2 - Start node1 - update session attributes by sending requests to node 1 - start node 2 (make sure during this startup the ghost webapp

[Architecture] [Progress] HTTP Session Persistence for WSO2 Application Server

2014-11-16 Thread Pubudu Dissanayake
Hi Azeez/Sameera and et al. I'm currently undergoing development of $subject [1] https://redmine.wso2.com/issues/3417 In the current implementation of embedded tomcat in appserver doesn't supports Manager[2] http://tomcat.apache.org/tomcat-7.0-doc/config/manager.html attributes defines in

Re: [Architecture] [Progress] HTTP Session Persistence for WSO2 Application Server

2014-11-16 Thread Afkham Azeez
On Mon, Nov 17, 2014 at 8:53 AM, Pubudu Dissanayake pubu...@wso2.com wrote: CarbonTomcatSessionManager What if you simply improve CarbonTomcatSessionManager to support persistence as well, rather than writing a new class? If you want to turn off persistence, you can have a parameter. --

Re: [Architecture] [Progress] HTTP Session Persistence for WSO2 Application Server

2014-11-16 Thread Pubudu Dissanayake
On Mon, Nov 17, 2014 at 10:06 AM, Afkham Azeez az...@wso2.com wrote: On Mon, Nov 17, 2014 at 8:53 AM, Pubudu Dissanayake pubu...@wso2.com wrote: ​​ CarbonTomcatSessionManager What if you simply improve CarbonTomcatSessionManager to support persistence as well, rather than writing a new

Re: [Architecture] [Progress] HTTP Session Persistence for WSO2 Application Server

2014-11-16 Thread Afkham Azeez
So globally switching the SessionManager can be done by editing the global context.xml file? On Mon, Nov 17, 2014 at 11:41 AM, Pubudu Dissanayake pubu...@wso2.com wrote: On Mon, Nov 17, 2014 at 10:06 AM, Afkham Azeez az...@wso2.com wrote: On Mon, Nov 17, 2014 at 8:53 AM, Pubudu Dissanayake

Re: [Architecture] [Progress] HTTP Session Persistence for WSO2 Application Server

2014-11-16 Thread Afkham Azeez
Ok, go ahead with your implementation. On Mon, Nov 17, 2014 at 11:49 AM, Afkham Azeez az...@wso2.com wrote: So globally switching the SessionManager can be done by editing the global context.xml file? On Mon, Nov 17, 2014 at 11:41 AM, Pubudu Dissanayake pubu...@wso2.com wrote: On Mon,

Re: [Architecture] [Progress] HTTP Session Persistence for WSO2 Application Server

2014-11-16 Thread Pubudu Dissanayake
On Mon, Nov 17, 2014 at 11:52 AM, Afkham Azeez az...@wso2.com wrote: Ok, go ahead with your implementation. ​Noted​ On Mon, Nov 17, 2014 at 11:49 AM, Afkham Azeez az...@wso2.com wrote: So globally switching the SessionManager can be done by editing the global context.xml file? Indeed,