tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: [PROPOSAL] Enable session replication by default.
Date Tue, 07 Jun 2011 15:21:50 GMT
2011/6/7 Keiichi Fujino <kfujino@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message