tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: NotSerializableException
Date Tue, 20 Aug 2002 14:48:20 GMT
Hi,
What code are you using to read to/from an IMAP server?

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Luminous Heart [mailto:luminousheart@yahoo.com]
>Sent: Tuesday, August 20, 2002 10:42 AM
>To: Tomcat Users List
>Subject: NotSerializableException
>
>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:164
6)
>        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(StandardSess
ion.
>java:810)
>        at
>org.apache.catalina.session.StandardManager.load(StandardManager.java:4
11)
>        at
>org.apache.catalina.session.StandardManager.start(StandardManager.java:
617)
>        at
>org.apache.catalina.core.StandardContext.reload(StandardContext.java:24
97)
>        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:1
330)
>        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
.jav
>a:1338)
>        at
>org.apache.catalina.session.StandardSession.writeObjectData(StandardSes
sion
>.java:827)
>        at
>org.apache.catalina.session.StandardManager.unload(StandardManager.java
:507
>)
>        at
>org.apache.catalina.session.StandardManager.stop(StandardManager.java:6
54)
>        at
>org.apache.catalina.core.StandardContext.reload(StandardContext.java:24
09)
>        ... 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>


Mime
View raw message