You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Suvendu Sekhar Mondal <su...@gmail.com> on 2018/05/18 13:39:14 UTC

Does Tomcat supports serialize session access?

Hello Everyone,

We recently migrate our apps from Websphere(WAS) to Tomcat. We are
using httpd 2.4.10 in front of multiple Tomcat 7.0.55.

There is one feature of WAS that I am interested about and I am
looking for it everywhere in Tomcat world but could not found any
source. Feature called "serialize session access". If you turn that
"on", then it prohibits concurrent session access in a given JVM. It
ensures that only one request can access the session data at a time.

My questions are:
Is there any similar feature exists in Tomcat?
Does Tomcat works like that way - by default?
Is there any setting in Tomcat web container which can make processing
synchronized?


WAS feature: https://www.ibm.com/support/knowledgecenter/en/SSAW57_8.5.5/com.ibm.websphere.nd.multiplatform.doc/ae/tprs_serializing_access.html

Thanks!
Suvendu

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Does Tomcat supports serialize session access?

Posted by Mark Thomas <ma...@apache.org>.

On 18/05/2018 14:39, Suvendu Sekhar Mondal wrote:
> Hello Everyone,
> 
> We recently migrate our apps from Websphere(WAS) to Tomcat. We are
> using httpd 2.4.10 in front of multiple Tomcat 7.0.55.
> 
> There is one feature of WAS that I am interested about and I am
> looking for it everywhere in Tomcat world but could not found any
> source. Feature called "serialize session access". If you turn that
> "on", then it prohibits concurrent session access in a given JVM. It
> ensures that only one request can access the session data at a time.
> 
> My questions are:
> Is there any similar feature exists in Tomcat?
No.

> Does Tomcat works like that way - by default?
No.

> Is there any setting in Tomcat web container which can make processing
> synchronized?
No.

You could implement equivalent behaviour (within a single JVM) if you 
sync'd on the session object.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org