Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
andrew ronchi
Ranch Hand
Posts: 50
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic