tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Viorel Dragomir" <vdrago...@wylog.com>
Subject Re: Clustering question
Date Fri, 01 Apr 2005 12:42:37 GMT

Not all the objects inside your class must be serializable.
Set all the objects you don't want to persist as transient.

[ For instance, I don't want to persist a data connection [in this way] or a logger ]



Viorel Dragomir

.
..
-------------------------------------------------------------------



----- Original Message ----- 
From: Dale, Matt 
To: Tomcat Users List 
Sent: Friday, April 01, 2005 13:38
Subject: RE: Clustering question


Yes this is a problem. All objects contained within a serializable object must in turn be
serializable themselves.

-----Original Message-----
From: Steven Pannell [mailto:steven.pannell@zooplus.com]
Sent: 01 April 2005 12:33
To: 'tomcat-user@jakarta.apache.org'
Subject: Clustering question


Hi,

I have setup two tomcat 5.5.7 servers which are clustered.  Everything is
working and  the basic session is replication.  However, when I add my own
custom java object to the session this is not replicated.  I have made it
Serializable but this object also contains other java objects which are not
serializable. Is this a problem?  Is there anything special I need to
consider to get my custom session objects to replicate??

Thanks,
Steve.



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


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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message