This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes WARNING [mail.beans.PartBean] javax.mail.FolderClosedException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "WARNING [mail.beans.PartBean] javax.mail.FolderClosedException" Watch "WARNING [mail.beans.PartBean] javax.mail.FolderClosedException" New topic
Author

WARNING [mail.beans.PartBean] javax.mail.FolderClosedException

andrew ronchi
Ranch Hand

Joined: Nov 03, 2011
Posts: 38

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
 
jQuery in Action, 2nd edition
 
subject: WARNING [mail.beans.PartBean] javax.mail.FolderClosedException
 
Similar Threads
Hashtable entrySet() method
Generics {probably wrong forum}
Generic casting
finally block does not completely normally..
war task gives warnings