Re: Tomcat session replicator

2000-12-27 Thread [EMAIL PROTECTED]
On Fri, 22 Dec 2000, Jason Brittain wrote: > Craig R. McClanahan wrote: > > > "[EMAIL PROTECTED]" wrote: > > > >> why not do iot in shared storage and implement SSI ? thats what the > >> mod_jserv shm file was for...a shared hunk of disk store. > >> -Ys- > >> [EMAIL PROTECTED] > > > > > > T

Re: Tomcat session replicator

2000-12-27 Thread [EMAIL PROTECTED]
On Fri, 22 Dec 2000, Craig R. McClanahan wrote: > "[EMAIL PROTECTED]" wrote: > > > why not do iot in shared storage and implement SSI ? thats what the > > mod_jserv shm file was for...a shared hunk of disk store. > > -Ys- > > [EMAIL PROTECTED] > > This is certainly one valid approach. It wor

Re: [PATCH] Tomcat session replicator - Pathces for phase I

2000-12-25 Thread cmanolache
Hi Shai, Thanks for your patch, it's a very good start and I think it'll be useful for many users. I think it needs some more work - I'm not talking about the main functionality you are implementing, which I'm sure will be tested and improved and will have a nice evolution. I'm talking as a p

RE: [PATCH] Tomcat session replicator - Pathces for phase I

2000-12-24 Thread Nacho
] [mailto:[EMAIL PROTECTED]] > Enviado el: lunes 25 de diciembre de 2000 1:16 > Para: [EMAIL PROTECTED] > Asunto: RE: [PATCH] Tomcat session replicator - Pathces for phase I > > > Hi, > > I'm not sure about that. > Jon wants to override session's read/write object. He

RE: [PATCH] Tomcat session replicator - Pathces for phase I

2000-12-24 Thread shai
stream.writeObject(new Hashtable()); } } --Shai -Original Message- From: Nacho [mailto:[EMAIL PROTECTED]] Sent: Monday, December 25, 2000 02:07 To: '[EMAIL PROTECTED]' Subject: RE: [PATCH] Tomcat session replicator - Pathces for phase I Hola Shai: for

Re: [PATCH] Tomcat session replicator - Pathces for phase I

2000-12-24 Thread Jon Stevens
on 12/24/2000 3:58 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Ahh... > > The patches I have sent were written originally to 3.2. > Jon's code was part of 3.2 (and I have used it) but is not included in 3.3. > > Thanks to Jon having my attention to that. I'll fix that soon. > > --Shai

RE: [PATCH] Tomcat session replicator - Pathces for phase I

2000-12-24 Thread Nacho
[EMAIL PROTECTED]] > Enviado el: lunes 25 de diciembre de 2000 0:32 > Para: [EMAIL PROTECTED] > Asunto: RE: [PATCH] Tomcat session replicator - Pathces for phase I > > > Where is the piece of code you have written for jserv??? > > --Shai > > -Original Message

RE: [PATCH] Tomcat session replicator - Pathces for phase I

2000-12-24 Thread shai
nt: Monday, December 25, 2000 01:38 To: [EMAIL PROTECTED] Subject: Re: [PATCH] Tomcat session replicator - Pathces for phase I on 12/24/2000 3:31 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Where is the piece of code you have written for jserv??? > > --Shai

Getting people to contribute [Was: Re: [PATCH] Tomcat session replicator - Pathces for phase I]

2000-12-24 Thread Hans Bergsten
Jon, I believe that you want people to contribute to this project, but comments like the ones you made in this thread are more likely to scare people away. I'm afraid many would-be contributors read these mails and think "if this is the way my contributions will be received, I'm out of here".

Re: [PATCH] Tomcat session replicator - Pathces for phase I

2000-12-24 Thread Jon Stevens
on 12/24/2000 3:31 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Where is the piece of code you have written for jserv??? > > --Shai Now that is a really funny question. Think about it for a second. -jon

RE: [PATCH] Tomcat session replicator - Pathces for phase I

2000-12-24 Thread shai
Where is the piece of code you have written for jserv??? --Shai -Original Message- From: Jon Stevens [mailto:[EMAIL PROTECTED]] Sent: Monday, December 25, 2000 00:47 To: [EMAIL PROTECTED] Subject: Re: [PATCH] Tomcat session replicator - Pathces for phase I on 12/24/2000 1:26 PM

Re: [PATCH] Tomcat session replicator - Pathces for phase I

2000-12-24 Thread Jon Stevens
on 12/24/2000 1:26 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > try { > + fStream = new FileOutputStream(f); > + oStream = new ObjectOutputStream(fStream); > + // Serialize to file all active session > + Enumeration ids = sessions.keys(); > + ServerSession session = null; > +

Re: [PATCH] Tomcat session replicator - Pathces for phase I

2000-12-24 Thread Jon Stevens
on 12/24/2000 1:26 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > + while (ids.hasMoreElements()) { > +session = > findSession(ids.nextElement().toString()); > +if (!session.getTimeStamp().isValid()) > + continue; > +oStream.writeObject(session); > + } > + oStream.fl

Re: [PATCH] Tomcat session replicator - Pathces for phase I

2000-12-24 Thread Jon Stevens
on 12/24/2000 1:26 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > + try { > + fStream = new FileOutputStream(f); > + oStream = new ObjectOutputStream(fStream); > + // Serialize to file all active session > + Enumeration ids = sessions.keys(); > + ServerSession session = null; > +

FW: [PATCH] Tomcat session replicator - Pathces for phase I

2000-12-24 Thread shai
Again, with patches as attachment. --Shai -Original Message- From: Shai Fultheim (BRM IL) Sent: Sunday, December 24, 2000 23:27 To: [EMAIL PROTECTED] Subject: [PATCH] Tomcat session replicator - Pathces for phase I Hi, These patches will allow you to add serialize="true&qu

[PATCH] Tomcat session replicator - Pathces for phase I

2000-12-24 Thread shai
Hi, These patches will allow you to add serialize="true" to you context and having your context saved to disk. Index: src/share/org/apache/tomcat/core/Context.java === RCS file: /home/cvspublic/jakarta-tomcat/src/share/org/apache/t

RE: Tomcat session replicator - more thoughts !!!

2000-12-24 Thread Kief Morris
[EMAIL PROTECTED] typed the following on 10:35 AM 12/22/2000 +0200 ... >Mod_jk on each machine forward requests based on sessionID to the right >tomcat (this is my patch to 3.2b7). ... >THE NEW IDEA is, assuming all of what I have stated above is working. We can >take apache out of the picture. >H

Re: VOTE: New Commiter Shai Fultheim (was:RE: Tomcat session replicator)

2000-12-23 Thread Glenn Nielsen
+1 Nacho wrote: > > Shai has contributed great bug fixes ( one specially difficult in 3.2, > thanks Shai ) and he wants to contribute a distributed session manager > > > It has been proposed as committer by Craig in a informal way, now it's > proposed in a formal way :-) > > it has my +1

Re: Tomcat session replicator

2000-12-22 Thread Jason Brittain
Craig R. McClanahan wrote: > "[EMAIL PROTECTED]" wrote: > >> why not do iot in shared storage and implement SSI ? thats what the >> mod_jserv shm file was for...a shared hunk of disk store. >> -Ys- >> [EMAIL PROTECTED] > > > This is certainly one valid approach. It works for cases where the s

Re: Tomcat session replicator - more thoughts !!!

2000-12-22 Thread Dan Milstein
Shai, I don't fully understand what you're proposing, and I want to make sure I do. It kind of sounds like you're saying that the web server would be configured to point to a single TC instance, and that that instance would then do load-balancing (and could also have enough information to sen

Re: Tomcat session replicator

2000-12-22 Thread Craig R. McClanahan
"[EMAIL PROTECTED]" wrote: > why not do iot in shared storage and implement SSI ? thats what the > mod_jserv shm file was for...a shared hunk of disk store. > -Ys- > [EMAIL PROTECTED] This is certainly one valid approach. It works for cases where the servers are all on the same machine. But yo

Re: VOTE: New Commiter Shai Fultheim (was:RE: Tomcat session replicator)

2000-12-22 Thread Dan Milstein
+1 Nacho wrote: > > Shai has contributed great bug fixes ( one specially difficult in 3.2, > thanks Shai ) and he wants to contribute a distributed session manager > > > It has been proposed as committer by Craig in a informal way, now it's > proposed in a formal way :-) > > it has my +1

Re: VOTE: New Commiter Shai Fultheim (was:RE: Tomcat session replicator)

2000-12-22 Thread cmanolache
e diciembre de 2000 20:14 > Para: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Asunto: Re: Tomcat session replicator > > > Shai, > I apologize for not responding to you earlier ... substantive > discussions are getting a little lost in the noise at

Re: VOTE: New Commiter Shai Fultheim (was:RE: Tomcat session replicator)

2000-12-22 Thread Hans Bergsten
Nacho wrote: > > Shai has contributed great bug fixes ( one specially difficult in 3.2, > thanks Shai ) and he wants to contribute a distributed session manager > > > It has been proposed as committer by Craig in a informal way, now it's > proposed in a formal way :-) > > it has my +1 as w

Re: Tomcat session replicator

2000-12-22 Thread [EMAIL PROTECTED]
On Thu, 21 Dec 2000 [EMAIL PROTECTED] wrote: > > Two weeks ago I posted note here saying I'm going to write patch for Tomcat > > 3.2 to support redundancy, in manner of having session information stored > > between reloads and shared between tomcat instances. > > In order to support tomcat redu

RE: Tomcat session replicator - more thoughts !!!

2000-12-22 Thread shai
icer BRM Seed E-Mail: [EMAIL PROTECTED] Mobile: 972-53-866-459 Office: 972-2-5891-459 -Original Message- From: GOMEZ Henri [mailto:[EMAIL PROTECTED]] Sent: Friday, December 22, 2000 14:39 To: [EMAIL PROTECTED] Subject: RE: Tomcat session replicator Interesting subject, a farm of Apache behind a

Re: VOTE: New Commiter Shai Fultheim (was:RE: Tomcat session replicator)

2000-12-22 Thread Pierre Delisle
+1 for Shai Fultheim -- Pierre

VOTE: New Commiter Shai Fultheim (was:RE: Tomcat session replicator)

2000-12-22 Thread Nacho
n the message below. Votes , please. Saludos , Ignacio J. Ortega -Mensaje original- De: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Enviado el: jueves 21 de diciembre de 2000 20:14 Para: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Asunto: Re: Tomcat session replicator Sha

RE: Tomcat session replicator

2000-12-22 Thread GOMEZ Henri
Interesting subject, a farm of Apache behind a larger farm of Tomcats ? Let me develop : Could we have say a farm of X Apache connected to a farm of Y Tomcat where Y = 2 * X or Y = 3 * X ? Also could the session replicator be compatible with eventuals ACL/Crypto in mod_jk/ajp protocols ? "

RE: Tomcat session replicator

2000-12-22 Thread shai
]] Sent: Thursday, December 21, 2000 21:14 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Tomcat session replicator   Shai, I apologize for not responding to you earlier ... substantive discussions are getting a little lost in the noise at the moment. For some reason

Re: Tomcat session replicator

2000-12-21 Thread Jason Brittain
Craig R. McClanahan wrote: > At ApacheCon Europe (it was also presented in Orlando last March, but I missed > it then), there was a very interesting session by Theo Schlossnagle > <[EMAIL PROTECTED]> about the Backhand Project, which is focused on providing > load balancing support for Apache as

Re: Tomcat session replicator

2000-12-21 Thread Craig R. McClanahan
Jason Brittain wrote: > Hi guys.. > > I'm one of the other folks that have voiced some desire to implement > distributed sessions and distributed servlet container functionality in > Tomcat (although I only want to work on 4.0!). I'd love to collaborate > with others on the design and implementa

Re: Tomcat session replicator

2000-12-21 Thread Jason Brittain
Hi guys.. I'm one of the other folks that have voiced some desire to implement distributed sessions and distributed servlet container functionality in Tomcat (although I only want to work on 4.0!). I'd love to collaborate with others on the design and implementation. More below: Craig R. McCl

Re: Tomcat session replicator

2000-12-21 Thread cmanolache
> Two weeks ago I posted note here saying I'm going to write patch for Tomcat > 3.2 to support redundancy, in manner of having session information stored > between reloads and shared between tomcat instances. > In order to support tomcat redundancy I thought on implementing that in two > phases:

Re: Tomcat session replicator

2000-12-21 Thread Craig R. McClanahan
Shai, I apologize for not responding to you earlier ... substantive discussions are getting a little lost in the noise at the moment. For some reason, my Netscape mail reader won't let me intersperse comments -- so I've put them at the end. I think I read into your earlier comment that you'd be

Tomcat session replicator

2000-12-21 Thread shai
Hi,   Two weeks ago I posted note here saying I’m going to write patch for Tomcat 3.2 to support redundancy, in manner of having session information stored between reloads and shared between tomcat instances. In order to support tomcat redundancy I thought on implementing that in two pha