You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by GOMEZ Henri <hg...@slib.fr> on 2001/10/12 10:03:14 UTC

Add JVMROUTE to TC 4.0 - WAS: DO NOT REPLY [Bug 4096] New: - Aj p13 connector does not han dle sticky sessions

After digging in TC 3.3 and 4.0, it appears that jvmroute 
should be included in TC 4.0 core.

JVMROUTE is part of SessionId generation and the SessionId
generator will need a code update.

Remy, Craig ?

Something which will be needed later also by 
WARP protocol so it could be fine to have
it included right now in TC 4.0.1 ....

In the meantimes, TC 4.0 couldn't be used in 
load-balancing configuration...

-
Henri Gomez                 ___[_]____
EMAIL : hgomez@slib.fr        (. .)                     
PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 



>-----Original Message-----
>From: GOMEZ Henri [mailto:hgomez@slib.fr]
>Sent: Thursday, October 11, 2001 12:31 PM
>To: tomcat-dev@jakarta.apache.org
>Subject: RE: DO NOT REPLY [Bug 4096] New: - Ajp13 connector 
>does not han
>dle sticky sessions
>
>
>Yes, it's a known problem since we still didn't know
>what to do with jvmroute under TC 4.0.
>
>I'll take a look at this one
>
>-
>Henri Gomez                 ___[_]____
>EMAIL : hgomez@slib.fr        (. .)                     
>PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
>PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 
>
>
>
>>-----Original Message-----
>>From: bugzilla@apache.org [mailto:bugzilla@apache.org]
>>Sent: Thursday, October 11, 2001 12:16 PM
>>To: tomcat-dev@jakarta.apache.org
>>Subject: DO NOT REPLY [Bug 4096] New: - Ajp13 connector does 
>not handle
>>sticky sessions
>>
>>
>>DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
>>RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
>><http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4096>.
>>ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
>>INSERTED IN THE BUG DATABASE.
>>
>>http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4096
>>
>>Ajp13 connector does not handle sticky sessions
>>
>>           Summary: Ajp13 connector does not handle sticky sessions
>>           Product: Tomcat 4
>>           Version: 4.0.1 Beta 1
>>          Platform: All
>>        OS/Version: Other
>>            Status: NEW
>>          Severity: Normal
>>          Priority: Other
>>         Component: Connectors
>>        AssignedTo: tomcat-dev@jakarta.apache.org
>>        ReportedBy: pvainio@sci.fi
>>
>>
>>Ajp13Connector does not take care of jvmroutes and does not 
>>append jvmroute
>>to session cookie value or url session id.
>>
>

Re: Add JVMROUTE to TC 4.0 - WAS: DO NOT REPLY [Bug 4096] New: - Ajp13 connector does not han dle sticky sessions

Posted by Remy Maucherat <rm...@home.com>.
> After digging in TC 3.3 and 4.0, it appears that jvmroute 
> should be included in TC 4.0 core.
> 
> JVMROUTE is part of SessionId generation and the SessionId
> generator will need a code update.
> 
> Remy, Craig ?
> 
> Something which will be needed later also by 
> WARP protocol so it could be fine to have
> it included right now in TC 4.0.1 ....
> 
> In the meantimes, TC 4.0 couldn't be used in 
> load-balancing configuration...

I'd like to wait for the next maintenance release (4.0.2) to add that.

Remy


Re: Add JVMROUTE to TC 4.0 - WAS: DO NOT REPLY [Bug 4096] New: - Aj p13 connector does not han dle sticky sessions

Posted by Gomez Henri <hg...@slib.fr>.
> 
> Henri, what precise behavior do you need from the container to be
> compatible with this?  Is it just a matter of saving and restoring any
> suffix that the connector adds?  What's the punctuation character you
> are
> using?

The session_id is a result of string(entropy) + jvmroute. 
I'm unsure of the encoding but all the code is in TC 3.2/3.3 ;)

-
Henri Gomez                 ___[_]____
EMAIL : hgomez@slib.fr        (. .)                     
PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 

Re: Add JVMROUTE to TC 4.0 - WAS: DO NOT REPLY [Bug 4096] New: - Aj p13 connector does not han dle sticky sessions

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Fri, 12 Oct 2001, GOMEZ Henri wrote:

> Date: Fri, 12 Oct 2001 10:03:14 +0200
> From: GOMEZ Henri <hg...@slib.fr>
> Reply-To: tomcat-dev@jakarta.apache.org
> To: tomcat-dev@jakarta.apache.org
> Subject: Add JVMROUTE to TC 4.0 - WAS: DO NOT REPLY [Bug 4096] New:  -
>     Aj p13 connector does not han dle sticky sessions
>
> After digging in TC 3.3 and 4.0, it appears that jvmroute
> should be included in TC 4.0 core.
>
> JVMROUTE is part of SessionId generation and the SessionId
> generator will need a code update.
>
> Remy, Craig ?
>

Henri, what precise behavior do you need from the container to be
compatible with this?  Is it just a matter of saving and restoring any
suffix that the connector adds?  What's the punctuation character you are
using?

Craig