Re: Replicate session-object after values in object has been changed

2011-02-16 Thread Martin Grotzke
On Wed, Feb 16, 2011 at 5:08 PM, Christopher Schultz wrote: > On 2/15/2011 3:46 PM, Martin Grotzke wrote: >> This is how it's implemented for memcached-session-manager (msm): when >> loading the session from memcached (either due to a tomcat failover or >> when loading a non-sticky session) the ha

Re: Replicate session-object after values in object has been changed

2011-02-16 Thread Filip Hanik - Dev Lists
, 15.2.2011: Von: Martin Grotzke Betreff: Re: Replicate session-object after values in object has been changed An: "Tomcat Users List" Datum: Dienstag, 15. Februar, 2011 20:49 Uhr On Tue, Feb 15, 2011 at 11:08 AM, Thomas Andraschko wrote: Thanks! i will give it a try! Is there al

Re: Replicate session-object after values in object has been changed

2011-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 2/15/2011 3:46 PM, Martin Grotzke wrote: > This is how it's implemented for memcached-session-manager (msm): when > loading the session from memcached (either due to a tomcat failover or > when loading a non-sticky session) the hash of the

Re: Replicate session-object after values in object has been changed

2011-02-15 Thread Martin Grotzke
prob, I could reproduce it, it's fixed now. @Others: sorry for posting off-topic. Cheers, Martin > > > > --- Martin Grotzke schrieb am Di, 15.2.2011: > >> Von: Martin Grotzke >> Betreff: Re: Replicate session-object after values in object has been changed >> An:

Re: Replicate session-object after values in object has been changed

2011-02-15 Thread Martin Grotzke
On Tue, Feb 15, 2011 at 6:01 PM, Christopher Schultz wrote: > On the other hand, it's very difficult for a container to determine what > the definition of "changed" is. For instance, an object may return a > different value for a method call depending on the current date and > time, yet the intern

Re: Replicate session-object after values in object has been changed

2011-02-15 Thread Thomas Andraschko
, > Martin > > > > > > --- Martin Grotzke > schrieb am Di, 15.2.2011: > > > >> Von: Martin Grotzke > >> Betreff: Re: Replicate session-object after values > in object has been changed > >> An: "Tomcat Users List" > >>

Re: Replicate session-object after values in object has been changed

2011-02-15 Thread Martin Grotzke
ode.google.com/p/memcached-session-manager/issues/detail?id=83 ? Cheers, Martin > > --- Martin Grotzke schrieb am Di, 15.2.2011: > >> Von: Martin Grotzke >> Betreff: Re: Replicate session-object after values in object has been changed >> An: "Tomcat Users List"

Re: Replicate session-object after values in object has been changed

2011-02-15 Thread Martin Grotzke
other backend? > > Cheers, > Martin > > >> >> >> >> --- Martin Grotzke schrieb am Di, 15.2.2011: >> >>> Von: Martin Grotzke >>> Betreff: Re: Replicate session-object after values in object has been >>> changed >>> An: users@

Re: Replicate session-object after values in object has been changed

2011-02-15 Thread Thomas Andraschko
) and connection refused exceptions will be printed by tomcat. --- Martin Grotzke schrieb am Di, 15.2.2011: > Von: Martin Grotzke > Betreff: Re: Replicate session-object after values in object has been changed > An: "Tomcat Users List" > Datum: Dienstag, 15. Februar, 2011 2

Re: Replicate session-object after values in object has been changed

2011-02-15 Thread Martin Grotzke
would like to have replaced by another backend? Cheers, Martin > > > > --- Martin Grotzke schrieb am Di, 15.2.2011: > >> Von: Martin Grotzke >> Betreff: Re: Replicate session-object after values in object has been changed >> An: users@tomcat.apache.org >

Re: Replicate session-object after values in object has been changed

2011-02-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 2/14/2011 2:44 PM, Thomas Andraschko wrote: > Does other Servlet containers support this kind of replication or is > it really the only way to put/remove the object to/from the session > map? I've been browsing the servlet spec and I can't

Re: Replicate session-object after values in object has been changed

2011-02-15 Thread Mark Thomas
On 14/02/2011 19:44, Thomas Andraschko wrote: > Does other Servlet containers support this kind of replication or is it > really the only way to put/remove the object to/from the session map? Don't know. It is very likely to be container dependent. > It is possible to develop a valve or intercept

Re: Replicate session-object after values in object has been changed

2011-02-15 Thread Thomas Andraschko
Thanks! i will give it a try! Is there also another manager available without using memcached? --- Martin Grotzke schrieb am Di, 15.2.2011: > Von: Martin Grotzke > Betreff: Re: Replicate session-object after values in object has been changed > An: users@tomcat.apache.org > Dat

Re: Replicate session-object after values in object has been changed

2011-02-14 Thread Martin Grotzke
velop a valve or interceptor to check specified > entries in the session map and replicate them again? (sorry, i don't know > the architecture very well) > > > --- Mark Thomas schrieb am Mo, 14.2.2011: > >> Von: Mark Thomas >> Betreff: Re: Replicate session-obje

Re: Replicate session-object after values in object has been changed

2011-02-14 Thread Thomas Andraschko
le to develop a valve or interceptor to check specified entries in the session map and replicate them again? (sorry, i don't know the architecture very well) --- Mark Thomas schrieb am Mo, 14.2.2011: > Von: Mark Thomas > Betreff: Re: Replicate session-object after values in object

Re: Replicate session-object after values in object has been changed

2011-02-14 Thread Mark Thomas
On 14/02/2011 15:57, Thomas Andraschko wrote: > Is it possible that Tomcat will automatically check the SessionMap entries > after each request if any value in a entry has been changed? No. Tomcat adding or removing an object from the session will trigger replication. Modifying the object direct

Replicate session-object after values in object has been changed

2011-02-14 Thread Thomas Andraschko
Hi, i have a simple Tomcat (7.0.8) cluster (org.apache.catalina.ha.tcp.SimpleTcpCluster without other options) with a simple Myfaces2.0.3 App for testing purpose. If JSF creates a SessionBean or i manually put an object to the SessionMap, Tomcat replicates this bean/object to all nodes. The pr