Thanks mate. Finally an answer that does not include what Serialization is ;)

-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 30 January 2004 13:52
To: Tomcat Users List
Subject: RE: IOException while loading persisted sessions continued..



Howdy,
It's funny how you got all these explanations of serialization ;)

>OK, I think TC5 has session persistence enabled by default for its
>clustering stuff. I do want to use clustering at some point, so I will
need
>to add Serializable to all my session objects - fine. But if you do not
>want clustering I cannot see why session persistence is ON by
default...

TC5 requires that session attributes be Serializable by default even
outside a cluster because TC5 persists sessions to disk by default.  If
you change the Manager used to handle sessions, you can get around the
Serializable request.  

As you noted, if you plan on clustering/distributing your webapp in the
future, you will have the requirement of Serializable session attributes
no matter what, as that's mandate by the Servlet Specification.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com";>www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to