javax.mail.FolderClosedException: * BYE JavaMail Exception: java.io.IOException: Connection dropped by server?

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 843834, 1 year ago
* BYE JavaMail Exception: java.net.SocketException: Connection reset
via Oracle Community by 843834, 1 year ago
* BYE Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1 closing connection due to timeout.
javax.mail.FolderClosedException: * BYE JavaMail Exception: java.io.IOException: Connection dropped by server?
at com.sun.mail.imap.IMAPFolder.throwClosedException(IMAPFolder.java:2447)
at com.sun.mail.imap.IMAPFolder.idle(IMAPFolder.java:2249)
at org.springframework.integration.mail.ImapMailReceiver.waitForNewMessages(ImapMailReceiver.java:84)
at org.springframework.integration.mail.ImapIdleChannelAdapter$IdleTask.run(ImapIdleChannelAdapter.java:106)
at java.lang.Thread.run(Thread.java:637)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.