Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 86048 invoked from network); 15 Feb 2011 20:21:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Feb 2011 20:21:12 -0000 Received: (qmail 12904 invoked by uid 500); 15 Feb 2011 20:21:09 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 12713 invoked by uid 500); 15 Feb 2011 20:21:08 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 12699 invoked by uid 99); 15 Feb 2011 20:21:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 20:21:07 +0000 X-ASF-Spam-Status: No, hits=4.3 required=5.0 tests=FREEMAIL_FROM,FS_REPLICA,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [217.146.183.248] (HELO nm13-vm0.bullet.mail.ukl.yahoo.com) (217.146.183.248) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 15 Feb 2011 20:21:01 +0000 Received: from [217.146.183.216] by nm13.bullet.mail.ukl.yahoo.com with NNFMP; 15 Feb 2011 20:20:39 -0000 Received: from [217.146.183.165] by tm9.bullet.mail.ukl.yahoo.com with NNFMP; 15 Feb 2011 20:20:39 -0000 Received: from [127.0.0.1] by omp1006.mail.ukl.yahoo.com with NNFMP; 15 Feb 2011 20:20:39 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 762757.74823.bm@omp1006.mail.ukl.yahoo.com Received: (qmail 39203 invoked by uid 60001); 15 Feb 2011 20:20:39 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1297801239; bh=/uAzyb9YlpZulAg+F6TBuAEyc3UywOd22DoP0FhwzWs=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=0HnM7m+L2zEf7qSXWH1XlzsHDT/rZyqC8T1vaDrJ6C27LJ7/VDL9Fc0TXJjMzWqFkrI8LOpO6EIQ/jREw4Y8v9wnm0yL56gO2N4ToGC6MttqqRKwpdWycKSGovwP7j0iJjgO7Qqq2Ym+A22Usfv7qBtFp/VJsj+MqlgAIdN9C7Y= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=QpgYR7DpOj3JfQEKFbR5fFo+YHMO+K7lY0DY00bMdO1UG5erhleBcvOXFO8Ee3MKk6QOmagrvzybVM5I1ep8w4nIemzapLY9JNzMkzME2CARaQUMNNFK0g8rM8YM++8IzsM8ZHsmSh58n5oUF1bMsswCoAp4dO0V0/0aIc6YSbI=; Message-ID: <638629.28297.qm@web25604.mail.ukl.yahoo.com> X-YMail-OSG: ixofUDYVM1nMwqnn2AqEhT44_msT4F1p3BQig73yJtRNwai Yq2YnFazRtfVGFkRUZdZ8MZlvsinzldABVYJZ_ozxZ.90UCNyeeIh1k1D2v. fzSKQhSDhhkwayGqH7SM0aM7FrGpPfGJOaMB73Zbui9Kd.INOWnA9dtNorUp c4ZKXxLBmHSLzsLETh_dExb4eO92MZbncqiq1FHEeBzWCU3YcGFbo0mL0KKK sHhzFkqHYkK4ZydjwFqSxFjul3LPdOua82xsuOvO_AHvCCD8QOYHNG0qfbyR Fz9074SJAPTjQgkNvoK5d0qPN5mP7Gw0iGqzgpD3GDB2Ze9hU Received: from [84.181.211.134] by web25604.mail.ukl.yahoo.com via HTTP; Tue, 15 Feb 2011 20:20:39 GMT X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.108.291010 Date: Tue, 15 Feb 2011 20:20:39 +0000 (GMT) From: Thomas Andraschko Subject: Re: Replicate session-object after values in object has been changed To: Tomcat Users List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Yep sorry, it's my ticket :D=0AIt was a 2 minute action, sorry for the bad = explanation :)=0AIf you need further details, send me a email or add a comm= ent to the issue.=0A=0A=0A=0A--- Martin Grotzke schrieb am Di, 15.2.2011:=0A=0A> Von: Martin Grotzke =0A> Betreff: Re: Replicate session-object after values in ob= ject has been changed=0A> An: "Tomcat Users List" = =0A> Datum: Dienstag, 15. Februar, 2011 21:10 Uhr=0A> On Tue, Feb 15, 2011 = at 9:04 PM,=0A> Thomas Andraschko=0A> =0A> wrote:= =0A> > Hmm not really but the tcp cluster with BackupManager=0A> would be e= nough (if it would check for modification).=0A> Not sure about BackupManage= r, but perhaps it's possible to=0A> add this=0A> specific behaviour.=0A> = =0A> >=0A> > The memcached manager is really a great idea and works=0A> gre= at!=0A> Thanx! :-)=0A> =0A> > I have only one issue. If you shutdown a memc= ached=0A> node, JSF pages can not be accessed anymore (a blank page=0A> wil= l appear) and connection refused exceptions will be=0A> printed by tomcat.= =0A> =0A> Obviously a bug. Is this=0A> =A0 http://code.google.com/p/memcach= ed-session-manager/issues/detail?id=3D83=0A> ?=0A> =0A> Cheers,=0A> Martin= =0A> =0A> =0A> >=0A> > --- Martin Grotzke = =0A> schrieb am Di, 15.2.2011:=0A> >=0A> >> Von: Martin Grotzke =0A> >> Betreff: Re: Replicate session-object after val= ues=0A> in object has been changed=0A> >> An: "Tomcat Users List" =0A> >> Datum: Dienstag, 15. Februar, 2011 20:49 Uhr=0A> >>= On Tue, Feb 15, 2011 at 11:08 AM,=0A> >> Thomas Andraschko=0A> >> =0A> >> wrote:=0A> >> > Thanks! i will give it a try!=0A> >= > > Is there also another manager available=0A> without using=0A> >> memcac= hed?=0A> >> None that I'm aware of, but perhaps google will=0A> know more= =0A> >> ;-)=0A> >>=0A> >> What do you have in mind btw? Is it especially=0A= > memcached=0A> >> that you=0A> >> would like to have replaced by another b= ackend?=0A> >>=0A> >> Cheers,=0A> >> Martin=0A> >>=0A> >>=0A> >> >=0A> >> >= =0A> >> >=0A> >> > --- Martin Grotzke =0A> >= > schrieb am Di, 15.2.2011:=0A> >> >=0A> >> >> Von: Martin Grotzke =0A> >> >> Betreff: Re: Replicate session-object=0A>= after values=0A> >> in object has been changed=0A> >> >> An: users@tomcat.= apache.org=0A> >> >> Datum: Dienstag, 15. Februar, 2011 01:27=0A> Uhr=0A> >= > >>=0A> >> >> memcached-session-manager detects=0A> session=0A> >> modific= ation as=0A> >> >> you describe it.=0A> >> >> It's a custom session manager= that keeps=0A> sessions=0A> >> >> (additionally) in=0A> >> >> memcached:= =0A> >> >> http://=0A> >> code.google.com/p/memcached-session-manager=0A> >= > >>=0A> >> >> Cheers,=0A> >> >> Martin=0A> >> >>=0A> >> >>=0A> >> >>=0A> >= > >> Thomas Andraschko wrote:=0A> >> >> >=0A> >> >> > Thanks for your answe= r.=0A> >> >> > Yep that works but it isn't really=0A> nice if=0A> >> you ar= e=0A> >> >> working with managed=0A> >> >> > beans from JSF or other DI=0A>= containers.=0A> >> >> > Does other Servlet containers=0A> support this=0A>= >> kind of=0A> >> >> replication or is it=0A> >> >> > really the only way = to put/remove=0A> the object=0A> >> to/from=0A> >> >> the session map?=0A> = >> >> > It is possible to develop a valve=0A> or=0A> >> interceptor to=0A> = >> >> check specified=0A> >> >> > entries in the session map and=0A> replic= ate them=0A> >> again?=0A> >> >> (sorry, i don't know=0A> >> >> > the archi= tecture very well)=0A> >> >> >=0A> >> >> >=0A> >> >> > --- Mark Thomas =0A> >> >> schrieb am Mo, 14.2.2011:=0A> >> >> >=0A> >> >> >>= Von: Mark Thomas =0A> >> >> >> Betreff: Re: Replicate=0A= > session-object=0A> >> after values=0A> >> >> in object has been=0A> >> >>= >> changed=0A> >> >> >> An: "Tomcat Users List" = =0A> >> >> >> Datum: Montag, 14. Februar, 2011=0A> 19:09=0A> >> Uhr=0A> >> = >> >> On 14/02/2011 15:57, Thomas=0A> >> >> >> Andraschko wrote:=0A> >> >> = >> > Is it possible that Tomcat=0A> will=0A> >> automatically=0A> >> >> che= ck=0A> >> >> >> the SessionMap entries after=0A> each request=0A> >> if any= =0A> >> >> value in a=0A> >> >> >> entry has been changed?=0A> >> >> >> No.= =0A> >> >> >>=0A> >> >> >> Tomcat adding or removing an=0A> object from=0A>= >> the=0A> >> >> session will=0A> >> >> >> trigger=0A> >> >> >> replicatio= n. Modifying the=0A> object=0A> >> directly will=0A> >> >> not trigger=0A> = >> >> >> replication.=0A> >> >> >>=0A> >> >> >> You can try re-adding the o= bject=0A> to the=0A> >> session.=0A> >> >> That=0A> >> >> >> should trigger= =0A> >> >> >> replication.=0A> >> >> >>=0A> >> >> >> Mark=0A> >> >> >>=0A> = >> >> >>=0A> >> >> >>=0A> >> >> >>=0A> >> >>=0A> >>=0A> -------------------= --------------------------------------------------=0A> >> >> >> To unsubscr= ibe, e-mail: users-unsubscribe@tomcat.apache.org=0A> >> >> >> For additiona= l commands, e-mail:=0A> users-help@tomcat.apache.org=0A> >> >> >>=0A> >> >>= >>=0A> >> >> >=0A> >> >> >=0A> >> >> >=0A> >> >> >=0A> >> >>=0A> >>=0A> --= -------------------------------------------------------------------=0A> >> = >> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org=0A> >> >> = > For additional commands, e-mail: users-help@tomcat.apache.org=0A> >> >> >= =0A> >> >> >=0A> >> >> >=0A> >> >>=0A> >> >> --=0A> >> >> View this message= in context: http://old.nabble.com/Replicate-session-object-after-values-in= -object-has-been-changed-tp30923039p30927143.html=0A> >> >> Sent from the T= omcat - User mailing list=0A> archive=0A> >> at=0A> >> >> Nabble.com.=0A> >= > >>=0A> >> >>=0A> >> >>=0A> >>=0A> ---------------------------------------= ------------------------------=0A> >> >> To unsubscribe, e-mail: users-unsu= bscribe@tomcat.apache.org=0A> >> >> For additional commands, e-mail: users-= help@tomcat.apache.org=0A> >> >>=0A> >> >>=0A> >> >=0A> >> >=0A> >> >=0A> >= > >=0A> >>=0A> ------------------------------------------------------------= ---------=0A> >> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.= org=0A> >> > For additional commands, e-mail: users-help@tomcat.apache.org= =0A> >> >=0A> >> >=0A> >>=0A> >>=0A> >>=0A> >> --=0A> >> Martin Grotzke=0A>= >> http://www.javakaffee.de/blog/=0A> >>=0A> >>=0A> ----------------------= -----------------------------------------------=0A> >> To unsubscribe, e-ma= il: users-unsubscribe@tomcat.apache.org=0A> >> For additional commands, e-m= ail: users-help@tomcat.apache.org=0A> >>=0A> >>=0A> >=0A> >=0A> >=0A> >=0A>= ---------------------------------------------------------------------=0A> = > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org=0A> > For add= itional commands, e-mail: users-help@tomcat.apache.org=0A> >=0A> >=0A> =0A>= =0A> =0A> -- =0A> Martin Grotzke=0A> http://www.javakaffee.de/blog/=0A> = =0A> ---------------------------------------------------------------------= =0A> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org=0A> For ad= ditional commands, e-mail: users-help@tomcat.apache.org=0A> =0A> =0A=0A --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org