tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vitor Buitoni <>
Subject Re: IOException while loading persisted sessions
Date Tue, 27 Jan 2004 11:32:17 GMT
When tomcat persists sessions, it will try to serialize all objects 
stored in your sessions to disk. In order to be successful, all the 
objects must be serializable.
In this example, the class is not serializable 
- it does not implement the Serializable interface.


Allistair Crossley wrote:

>I quite often but not always get a huge stack trace thrown when Tomcat boots up the top
part of which is the following. I'm not sure why it thinks it needs to be loading anything
to do with my bean here from persisted sessions. Is that a setting that I have switched on
that I need to switch off? Like I say, only happens on every 3rd or 4th reboot (development
instance) and it does not stop TC5.0.18 working either.
>SEVERE: IOException while loading persisted sessions:
>ion: writing aborted;
> writing aborted;
>        at
>        at
>        at java.util.LinkedList.readObject(
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>Cheers ADC
>QAS Ltd.
>Developers of QuickAddress Software
><a href=""></a>
>Registered in England: No 2582055
>Registered in Australia: No 082 851 474
>To unsubscribe, e-mail:
>For additional commands, e-mail:


*Vitor Buitoni*
/Programador - APC/

*E-mail:* <>
*Fone:* (0xx48) 281-7314 / (0xx48) 281-7000
*Fax:* (0xx48) 281-7000
*Site:* <>

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