Probably not praticle, but I am curious. How about having a servlet on
each machine that all sessions to that server use. When it encounters an
unknown sessionID, it polls the other servlets on the other computers to
see if they have it.... If they do, they serialize it and send it off to
the requesting servlet. I only bring up this idea for impratical
curiousity reasons. I have little experience with serialization, and
this just made me think of it.
Don't most load balancers try to keep a session going to the same
server? It might have a timeout setting that is less than your tomcat
session timeout...
~Rob
Cam DeBuck wrote:
>
> We currenlty have a java servlet that is running on 3 machines. The only
> problem I've seen is trying to keep the session information on all three
> machines when the load balancer sends the user to another computer. I beleive
> we have hardware that is actually doing the load balancing and not software
> (the sysadmins said it was called "Bind").
>
> Are there any java hooks that I can do so I can pass the session information to
> the other computers? I've seen reference to implementing my own session
> handler, but am not sure which direction I need to go. If I had an example,
> this would definately help.
>
> It doesn't appear that Tomcat (we are using v3.2.1) has any built in hooks to
> pass this information to the other servers.
>
> Thanks.
> --Cam--
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
--
_______________________________________
Robert Wohleb
Web Applications Development Manager
Parafoil Software, Inc.
_______________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]