A Mule Application intermittently shows exceptions similar to the trace shown below.
java.lang.IllegalStateException: This operation is not allowed on a closed folder at com.sun.mail.imap.IMAPFolder.checkOpened(IMAPFolder.java:409) at com.sun.mail.imap.IMAPFolder.getMessage(IMAPFolder.java:1376) at javax.mail.Folder.getMessages(Folder.java:880)
A common cause of this kind of issues is that the folder is being modified concurrently using the same account and credentials thus leaving the operations in an inconsistent state.
Verify that the account and credentials being used to process e-mails in your Mule Application is not shared with any other application, process or person.
001118194

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.