You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Yerramsetti, Naga" <Na...@Intelliverse.com> on 2007/04/04 02:02:39 UTC
session replication
Hi,
What happens if we use session replication and we try to store in
session an object that is not serializable?
Thank you.
Naga
RE: session replication
Posted by Tim Lucia <ti...@yahoo.com>.
java.io.NotSerializableException
I wrote a session listener / filter combination that logs all session
objects which do not implement the interface. If interested, let me know...
It was step 1 in going cluster.
Tim
> -----Original Message-----
> From: Yerramsetti, Naga [mailto:Naga.Yerramsetti@Intelliverse.com]
> Sent: Tuesday, April 03, 2007 8:03 PM
> To: Tomcat Users List
> Subject: session replication
>
> Hi,
>
>
>
> What happens if we use session replication and we try to store in
> session an object that is not serializable?
>
>
>
> Thank you.
>
>
>
> Naga
>
>
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: session replication
Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
Yerramsetti, Naga wrote:
> Hi,
>
>
>
> What happens if we use session replication and we try to store in
> session an object that is not serializable?
>
throws an error, probably an IllegalArgumentException on
session.setAttribute
you can also take a look at www.terracotta.org, as they don't require
Serializable to work
Filip
>
>
> Thank you.
>
>
>
> Naga
>
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: 4/3/2007 5:32 AM
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org