Re: [Resin-interest] Question on db based distributed session

2007-01-15 Thread Jacky
o: General Discussion for the Resin application server Subject: Re: [Resin-interest] Question on db based distributed session Eric? Sam? Warm regards, Jacky Wong Software Engineer Qinetics Solution Berhad Jacky wrote: Dear all, First of all, thanks f

Re: [Resin-interest] Question on db based distributed session

2007-01-15 Thread Gary Zhu
m/view.php?id=1544.> . So, stop worrying. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jacky Sent: Monday, January 15, 2007 2:17 AM To: General Discussion for the Resin application server Subject: Re: [Resin-interest] Question on db based distribute

Re: [Resin-interest] Question on db based distributed session

2007-01-15 Thread Jacky
Eric? Sam? Warm regards, Jacky Wong Software Engineer Qinetics Solution Berhad Jacky wrote: Dear all, First of all, thanks for all the attentions. Greatly appreciated. Josh, - Please forgive me as i do not understand your "have your cake and eat it too" metaphor :S - I'm tryin

Re: [Resin-interest] Question on db based distributed session

2007-01-08 Thread Jacky
Dear all, First of all, thanks for all the attentions. Greatly appreciated. Josh, - Please forgive me as i do not understand your "have your cake and eat it too" metaphor :S - I'm trying to implement the database backed distributed sessions as shown in http://www.caucho.com/resin-3.0/config/s

Re: [Resin-interest] Question on db based distributed session

2007-01-08 Thread Gary Zhu
? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Sam > Sent: Monday, January 08, 2007 1:17 PM > To: General Discussion for the Resin application server > Subject: Re: [Resin-interest] Question on db based distributed session > > >

Re: [Resin-interest] Question on db based distributed session

2007-01-08 Thread Sam
> >1. I start server A and login to my application At this point, A will get your request and will become your primary server, and B will be your secondary server. > >2. I stop Server A and start Server B > >3. I continue to work in the browser, my session stays intact and i > >can proceed norma

Re: [Resin-interest] Question on db based distributed session

2007-01-08 Thread Josh Rehman
Hmm. I was reading: http://www.caucho.com/resin-3.1/doc/tcp-sessions.xtp Particularly the section under "recovery" which states: "When Host C restarts, possibly with an upgraded version of Resin, it needs to use the most up-to-date version of the session; its file-saved session will probably b

Re: [Resin-interest] Question on db based distributed session

2007-01-08 Thread Eric Kreiser
what are your specific session settings? does resin know about your load balanced cluster? or are you managing the load balancer outside of resin and using resin to tie them together thru the db persistence? are you using 'always-load-session"? Jacky wrote: Dear all, I have implemented r

Re: [Resin-interest] Question on db based distributed session

2007-01-08 Thread Josh Rehman
Corrections below: On 1/8/07, Josh Rehman <[EMAIL PROTECTED]> wrote: ... > While there are [[hacky]] ways to notify the "offline" server of state changes ... > How can you have your cake and eat it too? You need some way for nodes > to see if they are participating in a distributed session [[on st

Re: [Resin-interest] Question on db based distributed session

2007-01-08 Thread Josh Rehman
Hi Jacky, Please forgive my comment - I don't use distributed sessions, but I think that you are running into a theoretical limitation of the feature: offline servers participating in a cluster cannot, in general, be notified of changes to session state of online servers. This fact could cause so

[Resin-interest] Question on db based distributed session

2007-01-08 Thread Jacky
Dear all, I have implemented resin's distributed session along with apache. Apache is the entry point, which will use mod_caucho plugin to dispatch requests to resin. Now it is working fine and i'm happy about it. After a few test run on this, i found out something which i'm not sure if its