2011/6/7 Keiichi Fujino <kfuj...@apache.org>: > Hi All. > > Tomcat7.0.15 can not replicate session if web application defines > <distributable/> in WEB-INF/web.xml. > Tomcat7.0.14 can replicate session if web application defines > <distributable/> in WEB-INF/web.xml. > The behavior of this default was changed by rev1130618. > The cause is conf/web.xml is not distributable. > > To enable session replication by default, > I thought two plans. > > PlanA: > PlanB:
-1 IIRC configuring the webapp as <distributable/> has observable consequence that each attribute assigned to a session will be checked whether it implements of the Serializable interface. It will mean that some webapps will stop working in the default configuration. Thus we cannot assume that "distributable" flag is true by default. I suspect that specification implies that "distributable" flag defaults to false. I have not checked the text though. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org