0

SEVERE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.sun.mail.pop3.POP3Message

I am not getting why this exception has occurred.It throws the exception when i starts tomcat server.
I have used recieve() method in LoginAction which is used to recieved mails using POP3 protocol.
I am using JAVAMAIL 1.4

2
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by __avd
0

You are adding reference of an object of a class which is not Serializable. Tomcat is trying to serialize the session, which
fails as soon as any non-serializable attribute is found.

0

You are adding reference of an object of a class which is not Serializable. Tomcat is trying to serialize the session, which
fails as soon as any non-serializable attribute is found.

What I do now?? Any change in web.xml? or server.xml?
I used pop3store class for attachment.

0

You have to implement java.io.Serializable interface for those classes whose objects are to be added/used with session object.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.