posted 10 years ago
I am working on mailing project. when i get mail list it shows folderClosedException warnings in server error logs. When i went through the debuging logs, came to know that it gives folderClosedException on calling getContentType() method on part object(message body). it means it is trying to access folders which are already closed, i dont understand why it is doing so.mail.jar debug logs are as follows
DEBUG IMAP: connection available -- size: 1
A33 EXAMINE INBOX
* 0 EXISTS
* OK [UIDVALIDITY 1365511658] UIDs valid
* OK [UIDNEXT 1000] Predicted next UID
* FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
* OK [PERMANENTFLAGS ()] Permanent flags
* 0 RECENT
A33 OK [READ-ONLY] EXAMINE completed
A34 SEARCH UNSEEN ALL
* SEARCH
A34 OK SEARCH completed
A35 LIST Trash ""
* LIST (\Noselect) "/" ""
A35 OK LIST completed
A36 CLOSE
A36 OK CLOSE completed
DEBUG IMAP: added an Authenticated connection -- size: 1
DEBUG IMAP: IMAPProtocol noop
A37 NOOP
A37 OK NOOP completed
DEBUG IMAP: IMAPProtocol noop
A38 NOOP
A38 OK NOOP completed
A39 LOGOUT
* BYE IMAP4 server terminating connection
A39 OK LOGOUT completed
DEBUG IMAP: IMAPStore connection dead
DEBUG IMAP: IMAPStore cleanup, force false
DEBUG IMAP: IMAPStore cleanup done