tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: JSESSIONID doesn't contain the port
Date Thu, 19 Jun 2008 16:04:12 GMT

Pid wrote:
> André Warnier wrote:
>> Leon Rosenberg wrote:
>>> On Thu, Jun 19, 2008 at 4:51 PM, André Warnier <> wrote:
>>>> Now, maybe the issue is whether the session of one application can 
>>>> or cannot
>>>> be valid for the other.  If they just shared a session (and a 
>>>> cookie), then
>>>> there would be harmony again.
>>> Or the OP just renames one of his application and all is settled 
>>> again :-)
>> But that would not change the name of the cookie, or would it ?
> The problem is that the TC1 sets a value of JSESSIONID that does not 
> exist in TC2.  So when it visits the 2nd app, the session id it presents 
> is not valid.
> Changing the cookie name, value or adding a port number will make no 
> difference.
> AFAIK the only way to resolve this is to set up synchronous clustering 
> on the two instances, so that they start sharing session data.
I am newbie-level and beg for forgiveness, but why is one talking of 
"instances" of Tomcat and clustering if, as I understand the original 
post, this is one Tomcat with two Connector ports ?
Does each <Connector> generate one instance of Tomcat ?

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message