You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ronald Klop <ro...@base.nl> on 2006/01/05 13:10:08 UTC

How stable is 5.5.15?

Hello,  Sorry for pushing, but how stable can I expect Tomcat 5.5.15 to be in a clustered server? (4 nodes) We are running 5.0.28 now and it has some issues which seem to be solved in 5.5.x. Are there people running 5.5.15 in a production environment already?  Ronald.  

Re: How stable is 5.5.15?

Posted by Dennis <de...@muhlesteins.com>.
Peter Rossbach wrote:

> This seems more that your application code access session attributes 
> after
> the session is invalid. Review your application page flow!

Well, I have a filter to catch invalid sessions before any other logic
is executed.  If that passes, then I assume that the rest of the request
is going to have a valid session.  The only place that invalidates the
session is a log out action. 

I'll look into it further as well.

-Dennis

>
> Peter
>
> Am 05.01.2006 um 17:27 schrieb Dennis:
>
>> Peter Rossbach wrote:
>>
>>> Hey Dennis,
>>>
>>> can you please, send your log information of the
>>> SessionAlreadyInvalidation errors?
>>> Every hint is welcome...
>>
>>
>> It's actually an IllegalStateException:
>>
>> java.lang.IllegalStateException: getAttribute: Session already 
>> invalidated
>>         at
>> org.apache.catalina.session.StandardSession.getAttribute
>> (StandardSession.java:1009)
>>         at
>> org.apache.catalina.session.StandardSessionFacade.getAttribute
>> (StandardSessionFacade.java:109)
>>
>> The rest of the stack trace is simply the trace of the thread that
>> executes that request.  It is different depending on where I called
>> session.getAttribute from.  It seems to be able to happen pretty much
>> anywhere I call the getAttribute method though.
>>
>> I'm using the default cluster configuration except I'm still on the
>> SimpleTcpReplicationManager and I changed the multicast addess and  port
>> for our production cluster.  I'm thinking of trying out the 
>> DeltaManager
>> but I don't have any reason to suspect the Manager has anything to do
>> with this exception.
>>
>> -Dennis
>>
>>>
>>>
>>> thanks for testing
>>> Peter
>>>
>>> Am 05.01.2006 um 17:09 schrieb Dennis:
>>>
>>>> Ronald Klop wrote:
>>>>
>>>>> Hello,  Sorry for pushing, but how stable can I expect Tomcat  5.5.15
>>>>> to be in a clustered server? (4 nodes) We are running 5.0.28 now  and
>>>>> it has some issues which seem to be solved in 5.5.x. Are there 
>>>>> people
>>>>> running 5.5.15 in a production environment already?  Ronald.
>>>>
>>>>
>>>>
>>>> We are.  It does seem to be much more stable than the previous
>>>> revisions
>>>> in term of clustering.  (The older revisions printed thousands of
>>>> warning messages about various cluster and socket issues.  We do get
>>>> some SessionAlreadyInvalidated errors that I haven't tracked down 
>>>> yet.
>>>> (I think it is when a browser submits something twice perhaps...  like
>>>> the IE double click maybe.)
>>>>
>>>> The only issue I noticed is that the trimSpaces setting in web.xml
>>>> isn't
>>>> acting the way it did before.  (It's not trimming spaces.)
>>>>
>>>> -Dennis
>>>>
>>>> -------------------------------------------------------------------- -
>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: How stable is 5.5.15?

Posted by Peter Rossbach <pr...@objektpark.de>.
This seems more that your application code access session attributes  
after
the session is invalid. Review your application page flow!

Peter

Am 05.01.2006 um 17:27 schrieb Dennis:

> Peter Rossbach wrote:
>
>> Hey Dennis,
>>
>> can you please, send your log information of the
>> SessionAlreadyInvalidation errors?
>> Every hint is welcome...
>
> It's actually an IllegalStateException:
>
> java.lang.IllegalStateException: getAttribute: Session already  
> invalidated
>         at
> org.apache.catalina.session.StandardSession.getAttribute 
> (StandardSession.java:1009)
>         at
> org.apache.catalina.session.StandardSessionFacade.getAttribute 
> (StandardSessionFacade.java:109)
>
> The rest of the stack trace is simply the trace of the thread that
> executes that request.  It is different depending on where I called
> session.getAttribute from.  It seems to be able to happen pretty much
> anywhere I call the getAttribute method though.
>
> I'm using the default cluster configuration except I'm still on the
> SimpleTcpReplicationManager and I changed the multicast addess and  
> port
> for our production cluster.  I'm thinking of trying out the  
> DeltaManager
> but I don't have any reason to suspect the Manager has anything to do
> with this exception.
>
> -Dennis
>
>>
>>
>> thanks for testing
>> Peter
>>
>> Am 05.01.2006 um 17:09 schrieb Dennis:
>>
>>> Ronald Klop wrote:
>>>
>>>> Hello,  Sorry for pushing, but how stable can I expect Tomcat  
>>>> 5.5.15
>>>> to be in a clustered server? (4 nodes) We are running 5.0.28 now  
>>>> and
>>>> it has some issues which seem to be solved in 5.5.x. Are there  
>>>> people
>>>> running 5.5.15 in a production environment already?  Ronald.
>>>
>>>
>>> We are.  It does seem to be much more stable than the previous
>>> revisions
>>> in term of clustering.  (The older revisions printed thousands of
>>> warning messages about various cluster and socket issues.  We do get
>>> some SessionAlreadyInvalidated errors that I haven't tracked down  
>>> yet.
>>> (I think it is when a browser submits something twice perhaps...  
>>> like
>>> the IE double click maybe.)
>>>
>>> The only issue I noticed is that the trimSpaces setting in web.xml
>>> isn't
>>> acting the way it did before.  (It's not trimming spaces.)
>>>
>>> -Dennis
>>>
>>> -------------------------------------------------------------------- 
>>> -
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: How stable is 5.5.15?

Posted by Dennis <de...@muhlesteins.com>.
Peter Rossbach wrote:

> Hey Dennis,
>
> can you please, send your log information of the 
> SessionAlreadyInvalidation errors?
> Every hint is welcome...

It's actually an IllegalStateException:

java.lang.IllegalStateException: getAttribute: Session already invalidated
        at
org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:1009)
        at
org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:109)

The rest of the stack trace is simply the trace of the thread that
executes that request.  It is different depending on where I called
session.getAttribute from.  It seems to be able to happen pretty much
anywhere I call the getAttribute method though.

I'm using the default cluster configuration except I'm still on the
SimpleTcpReplicationManager and I changed the multicast addess and port
for our production cluster.  I'm thinking of trying out the DeltaManager
but I don't have any reason to suspect the Manager has anything to do
with this exception.

-Dennis

>
>
> thanks for testing
> Peter
>
> Am 05.01.2006 um 17:09 schrieb Dennis:
>
>> Ronald Klop wrote:
>>
>>> Hello,  Sorry for pushing, but how stable can I expect Tomcat 5.5.15
>>> to be in a clustered server? (4 nodes) We are running 5.0.28 now and
>>> it has some issues which seem to be solved in 5.5.x. Are there people
>>> running 5.5.15 in a production environment already?  Ronald.
>>
>>
>> We are.  It does seem to be much more stable than the previous 
>> revisions
>> in term of clustering.  (The older revisions printed thousands of
>> warning messages about various cluster and socket issues.  We do get
>> some SessionAlreadyInvalidated errors that I haven't tracked down yet.
>> (I think it is when a browser submits something twice perhaps... like
>> the IE double click maybe.)
>>
>> The only issue I noticed is that the trimSpaces setting in web.xml 
>> isn't
>> acting the way it did before.  (It's not trimming spaces.)
>>
>> -Dennis
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: How stable is 5.5.15?

Posted by Peter Rossbach <pr...@objektpark.de>.
Hey Dennis,

can you please, send your log information of the  
SessionAlreadyInvalidation errors?
Every hint is welcome...


thanks for testing
Peter

Am 05.01.2006 um 17:09 schrieb Dennis:

> Ronald Klop wrote:
>
>> Hello,  Sorry for pushing, but how stable can I expect Tomcat 5.5.15
>> to be in a clustered server? (4 nodes) We are running 5.0.28 now and
>> it has some issues which seem to be solved in 5.5.x. Are there people
>> running 5.5.15 in a production environment already?  Ronald.
>
> We are.  It does seem to be much more stable than the previous  
> revisions
> in term of clustering.  (The older revisions printed thousands of
> warning messages about various cluster and socket issues.  We do get
> some SessionAlreadyInvalidated errors that I haven't tracked down yet.
> (I think it is when a browser submits something twice perhaps... like
> the IE double click maybe.)
>
> The only issue I noticed is that the trimSpaces setting in web.xml  
> isn't
> acting the way it did before.  (It's not trimming spaces.)
>
> -Dennis
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: How stable is 5.5.15?

Posted by Dennis <de...@muhlesteins.com>.
Ronald Klop wrote:

> Hello,  Sorry for pushing, but how stable can I expect Tomcat 5.5.15
> to be in a clustered server? (4 nodes) We are running 5.0.28 now and
> it has some issues which seem to be solved in 5.5.x. Are there people
> running 5.5.15 in a production environment already?  Ronald.  

We are.  It does seem to be much more stable than the previous revisions
in term of clustering.  (The older revisions printed thousands of
warning messages about various cluster and socket issues.  We do get
some SessionAlreadyInvalidated errors that I haven't tracked down yet. 
(I think it is when a browser submits something twice perhaps... like
the IE double click maybe.)

The only issue I noticed is that the trimSpaces setting in web.xml isn't
acting the way it did before.  (It's not trimming spaces.)

-Dennis

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: How stable is 5.5.15?

Posted by Peter Rossbach <pr...@objektpark.de>.
Hey,

we now start the testing phase of 5.5.15 release. I have some  
customer that used a 5.5.14 with the 5.5.15 cluster patches at  
production system.

regards,
Peter

Am 05.01.2006 um 13:10 schrieb Ronald Klop:

> Hello,  Sorry for pushing, but how stable can I expect Tomcat  
> 5.5.15 to be in a clustered server? (4 nodes) We are running 5.0.28  
> now and it has some issues which seem to be solved in 5.5.x. Are  
> there people running 5.5.15 in a production environment already?   
> Ronald.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org