tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Probst" <andpr...@gmx.net>
Subject Re: NotSerializableException
Date Tue, 20 Aug 2002 14:50:16 GMT
Obviously it does serialization. It loads a session from 
persistent storage. Serialization is a means to make objects 
persistent. Having written that I must confess I don't know 
about sessions in Tomcat...

> I am not asking tomcat to serialize my app, nor do I
> have any serialization in this application.  Why am I
> getting this new exception?
> 
> 2002-08-19 21:06:27 StandardManager[/NoPassApp]
> Exception loading sessions from persistent storage
> java.io.WriteAbortedException: writing aborted;
> java.io.NotSerializableException:
> com.sun.mail.imap.IMAPFolder
>         at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1278)
>         at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
>         at
> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>         at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
>         at
> org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1268)
>         at
> org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:810)
>         at
> org.apache.catalina.session.StandardManager.load(StandardManager.java:411)
>         at
> org.apache.catalina.session.StandardManager.start(StandardManager.java:617)
>         at
> org.apache.catalina.core.StandardContext.reload(StandardContext.java:2497)
>         at
> org.apache.catalina.loader.WebappContextNotifier.run(WebappLoader.java:1332)
>         at java.lang.Thread.run(Thread.java:536)
> Caused by: java.io.NotSerializableException:
> com.sun.mail.imap.IMAPFolder
>         at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
>         at
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
>         at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
>         at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
>         at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
>         at
> java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
>         at
> org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1338)
>         at
> org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:827)
>         at
> org.apache.catalina.session.StandardManager.unload(StandardManager.java:507)
>         at
> org.apache.catalina.session.StandardManager.stop(StandardManager.java:654)
>         at
> org.apache.catalina.core.StandardContext.reload(StandardContext.java:2409)
>         ... 2 more
> 
> 
> __________________________________________________
> Do You Yahoo!?
> HotJobs - Search Thousands of New Jobs
> http://www.hotjobs.com
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 



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


Mime
View raw message