Hi folks As of now I've completed base implementation support for HTTP Session persistence for Appserver. Therefore we can define Persistent Manager element [1] <http://tomcat.apache.org/tomcat-7.0-doc/config/manager.html> as follows in global context.xml.
*FileStore support * <Manager className=' org.wso2.carbon.webapp.mgt.CarbonTomcatSessionPersistentManager' saveOnRestart='false' maxActiveSessions='5' minIdleSwap='0' maxIdleSwap='1' maxIdleBackup='0'> <Store className='org.apache.catalina.session.FileStore' directory='<location>'/> </Manager> *Completed tasks * - Preliminary testing for CarbonTomcatSessionPersistentManager can be found here [2] <https://docs.google.com/a/wso2.com/spreadsheets/d/1XVlYOp6grJKX4qPbk96QlyUN6VlCrPf1xo2fnE4gzvY/edit#gid=0>, but tests were conducted for FileStore (org.apache.catalina.session.FileStore) support only - CarbonTomcatSessionPersistentManager element support for context.xml, As of now we only support CarbonTomcatSessionManager. *TODOs* - Tenant-aware PersistentManager support for CarbonTomcatSessionPersistentManager - JDBC implementation (org.apache.catalina.session.JDBCStore) support - Perform thorough test scenarios on session persistence vs session replication. [1] http://tomcat.apache.org/tomcat-7.0-doc/config/manager.html [2] https://docs.google.com/a/wso2.com/spreadsheets/d/1XVlYOp6grJKX4qPbk96QlyUN6VlCrPf1xo2fnE4gzvY/edit#gid=0 <http://tomcat.apache.org/tomcat-7.0-doc/config/manager.html> On Mon, Nov 17, 2014 at 12:01 PM, Pubudu Dissanayake <pubu...@wso2.com> wrote: > > 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, we can configure it by editing global context.xml > > > -- *Pubudu Dissanayake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware Mob: + 94 775 503 304 Blog: http://geekdetected.wordpress.com/ Linkedin: *http://lk.linkedin.com/in/pubududissanayake* <http://lk.linkedin.com/in/pubududissanayake> Flickr : https://www.flickr.com/photos/pubudufx/ Twitter: https://twitter.com/GeekInAction
_______________________________________________ Architecture mailing list Architecture@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture