On 07/06/2011 16:21, Konstantin Kolinko wrote: > 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.
The proposed patch doesn't do that. It marks the defaultFragment as distributable which means that the main web.xml file still determines the final state of distributable. Without marking the defaultFragment as distributable, a web-app can never be distributable. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org