E-Mail Receiver QPAC: javax.mail.FolderClosedException

Hi,
Recently the EmailReceiver QPAC refuses to get E-Mails. I configured it using IMAP. But lately, it sporadically refuses to get new messages and throws a
javax.mail.FolderClosedException as posted below.
ERROR [com.adobe.workflow.AWS] stalling action-instance: 3873 with message: javax.mail.FolderClosedException: * BYE Connection down
at com.sun.mail.imap.IMAPMessage.setFlags(IMAPMessage.java:751)
at javax.mail.Message.setFlag(Message.java:541)
at com.adobe.workflow.qpac.emailreceiver.MessageWrapper.setDeletedFlag(MessageWrapper.java:313)
at com.adobe.workflow.qpac.emailreceiver.EmailReceiverService.processEmail(EmailReceiverService.java:301)
at com.adobe.workflow.qpac.emailreceiver.EmailReceiverService.runTask(EmailReceiverService.java:103)
at com.adobe.workflow.tools.qde.pat.service.PATAbstractPollingServiceEx.execute(PATAbstractPollingServiceEx.java:87)
at com.adobe.workflow.engine.PEUtil.executeAction(PEUtil.java:184)
The JavaDoc is pretty weird:
This exception is thrown when a method is invoked on a Messaging object and the Folder that owns that object has died due to some reason.
What does it mean
a folder has died? Is there a bug with the EmailReceiver, which
kills folders, after getting messages? :-)
Steve

Pretty weird.
It looks like the connection to the mailbox might have closed while you were busy processing the message.
Are you:
- downloading very large message
- do you have a large number of messages in that folder
- are you connecting through a proxy server or something that might be terminating the connection
- are you using an unreliable network connection?
Any of the above might cause this problem.
Good luck...
howard
http://www.avoka.com

Similar Messages

  • Confusion in Email Receiver QPAC Configuration.

    Hi,
    I am facing problems with email receiver QPAC. We are using exchange server for Email reception(POP3/Imap).Now the problems are
    1.I have given the user name in the same format as specified in one of the forum discussions i.e.
    (nt-domain\domain-username\email-username).
    It shows the below error When configured for IMAP:
    javax.mail.MessagingException: A2 NO There is no replica for that mailbox on this server.;
    nested exception is:
    com.sun.mail.iap.CommandFailedException: A2 NO There is no replica for that mailbox on this server.
    at com.sun.mail.imap.IMAPFolder.exists(IMAPFolder.java:392)
    at com.sun.mail.imap.IMAPFolder.checkExists(IMAPFolder.java:261)
    at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:782)
    2.when i configured for pop3 the error is
    javax.mail.AuthenticationFailedException: The requested mailbox is not available on this server.
    at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:104)
    at javax.mail.Service.connect(Service.java:233)
    at javax.mail.Service.connect(Service.java:134)
    at com.adobe.workflow.qpac.emailreceiver.MailReader.retrieveMessages(MailReader.java:67)
    3. when i use pop3 and default (nt-domain\domain-username) the error is
    javax.mail.AuthenticationFailedException: Logon failure: unknown user name or bad password.
    at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:104)
    at javax.mail.Service.connect(Service.java:233)
    at javax.mail.Service.connect(Service.java:134)
    at com.adobe.workflow.qpac.emailreceiver.MailReader.retrieveMessages(MailReader.java:67)
    Please help me on this as we have our accounts existing on the exchange server for pop3.

    Hi Raghavan
    To me it looks like in your first example, you are correctly connecting to the server, but the server is configured to use referrals.
    Please see this Microsoft article:
    http://support.microsoft.com/kb/217388
    For POP3, I believe that you don't need the domain name - just the users login (or full email address), plus password.
    Good luck...
    Howard
    http://www.avoka.com

  • Email receiver qpac-SAX Parsing Error

    Hi,
    Iam working on a project which needs to receive email from an
    external person and the workflow will continue from that point.
    >>I have put a email receiver qpac to accomplish the
    above task. I use the sender's(from) email address as a
    filter for incoming mails and the starting 4 letters of the form
    name to fetch the XDP attachment. The process works just fine
    when tested by sending a mail from Outlook express. But, in
    the case of Lotus Notes, the click of email submit button in
    the form opens up a new mail with the XDP Data file as
    attachment and names it weirdly with some numbers unlike
    outlook express client where in the attachment gets named as
    the form name "_data.xdp".
    Thus, my email receiver does not pick
    this email and the process gets stalled giving some SAX
    parser error. Is there any way to customise form/ lotus notes
    clients to make it work?
    Regards,
    Raghava Kumar VSS

    Hi Raghava
    Just drop the 4 starting letters, and look for the first attachment.
    There should only ever be 1 attachment, so you shouldn't have a problem.
    Howard
    http://www.avoka.com

  • Email Receiver Qpac-test tab says no message found

    Hello,
    I want a workflow that listens email to initiate a chain process. However, I couldnt get any email with the Email Receiver Qpac. I just tested it from the test tab. It gives the mesage :
    Connecting to mail server...
    No message found
    Closing...
    I am sending a new mail for the email receiver to catch it. However, it does not. What is wrong with it ?
    Any help will be great.

    Actually I have already imported the jar files which was mentioned in another topic. I imported these files : activation.jar, dsn.jar, pop3.jar, mail.jar, mailapi.jar, imap.jar, smtp.jar. Before that, I was taking another message which was a problem about connecting. After I imported the jar files, the message changed to that one which says no message found.

  • Email receiver QPAC does not retrieve attachments other than .jar

    Hi,
    I'm currently experimenting with the email receiver QPAC. Unfortunately, I didn't succeed in convincing the QPAC to retrieve attachments. The QPAC's testing-tab indicates "Attachment Count:0" for .xml, .pdf, .xdp and even for image type files. Weirdly, .jar-attachments are retrieved indeed!
    Also the QPAC seems to mix emails using the subject of one mail and the body of another, if there are multiple emails on the server. Furthermore, the field "received date" always reads "null".
    Has anyone had the same problem using the email receiver QPAC?
    I'm quite frustrated after a week of testing. :-(
    Sincerely,
    Steve

    Apparently, I quite misunderstood the way the email receiver QPAC interacts with Workflow server. :-) Sorry for having bothered you with silly questions. Now, I got the workflow working!
    Still I get the 'cannot coerce object' exception. The example workflow stalls executing the task 'Str -> Form'.
    > com.adobe.workflow.datatype.InvalidCoercionException: Cannot coerce object: com.adobe.workflow.dom.VariableAttr@7935a1 of type:
    >
    com.adobe.workflow.dom.VariableAttr to type: com.adobe.workflow.datatype.form.FormDataTypeInstance
    >
    at com.adobe.workflow.datatype.form.FormDataHandler.coerceFrom(FormDataHandler.java:220)
    >
    at com.adobe.workflow.datatype.AbstractComplexDataTypeHandler.getNode(AbstractComplexDataTyp eHandler.java:42)
    >
    at com.adobe.workflow.dom.VariableElement.setBoundValue(VariableElement.java:72)
    >
    at com.adobe.workflow.pat.service.PATExecutionContextImpl.setProcessDataValue(PATExecutionCo ntextImpl.java:398)
    >
    at com.adobe.workflow.pat.service.PATExecutionContextImpl.setProcessDataWithExpression(PATEx ecutionContextImpl.java:310)
    >
    at com.adobe.workflow.qpac.set_value.SetValueService.execute(SetValueService.java:72)
    >
    at com.adobe.workflow.engine.PEUtil.executeAction(PEUtil.java:184)
    >
    at com.adobe.workflow.engine.ProcessEngineBMTBean.continueBranchAtAction(ProcessEngineBMTBea n.java:2320)
    >
    at com.adobe.workflow.engine.ProcessEngineBMTBean.asyncContinueBranchCommand(ProcessEngineBM TBean.java:1903)
    >
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    >
    Howard, in the forum thread
    Question about Email Receiver QPAC you told Rob to provide a patch. Does this patch solves the 'cannot coerce object' problem?

  • Initiating Workflow with Email Receiver Qpac

    Hi..
    I have a requirement where i need to open my xdp form in a portal whichwill hav ethe hyperlink to the form and on clicking it, the form should open in the same web page. After this if i submit the form, the workflow should start after receiving this form as an email.
    For this i have included an email receiver qpac as the start action of the workflow, but nothing is happening. The workflow is not gettign initiated.
    What might be the Reason?
    Please help.
    Raghava Kumar VSS

    Hi Howard,
    Thanks for the reply,
    I have seen in previous forums in which you haev given an alternate solution for including a cyclic process and initiating a workflow using a chain QPAC. Though it wokrs, it has its own limitations as far as the web service is concerned.
    What i am actually in need is that the form submitted by the user should initiate a workflow (with or without an email receiver qpac as the set start action). Is it possible?
    Regards,
    Raghava Kumar VSS

  • Email Receiver QPAC - stops receiving emails after a while

    Hello,
    I have a workflow with the first step being an Email Receiver QPAC. Next I extract out some information to set to variables and then use the Chain QPAC to go to my next workflow and loop back to the Email Receiver (thanks Howard!). It works great immediately after invoking the workflow and I even left it running for one hour and tested it again and it works and received my email properly. So, I left everything running overnight, but now none of my emails are being received. I looked in the process manager and everything in running just fine, so the nothing stalled.
    I've been waiting for over 15 minutes now for my Email Receiver to go off and nothing.
    Does anyone have insight into what is going on?
    Thank you,
    Jennifer

    Hi Jennifer
    Try turning debugging on.
    In JBoss, you do this by modifying the log4j.xml in \Adobe\LiveCycle\jboss\server\all\conf
    Change the threshold from INFO to DEBUG for the file appender, as shown below:
    This will cause the EmailReceiver (as well as a whole lot of other classes) to send debug output to the log file:
    \Adobe\LiveCycle\jboss\server\all\log\server.log
    You should see some lines in the log file each time the EmailReceiver fires. These should tell you what it's searching for, and might give some insight into what's going wrong.
    Howard
    http://www.avoka.com

  • Email Receiver QPAC - On timeout property

    Hello,
    Can anyone give a better explanation of what options for "On timeout" under the Retry tab of the Email Receiver QPAC. The documentation doesn't really explain what these happens. The options are Stall and Continue with Error.
    I assume the stall does just stall the entire Workflow, but what about Continue with Error option. Does this attempt to continue to the next step in the work flow without receiving the email or does if an error occurs, does the workflow just stay at the Email Receiver?
    The problem I am having is Connection timeouts. So, when I set On timeout to stall, of course my workflow would stall. When set On timeout to the Continue with Error option, the workflow did appear to stay at the Email Receiver QPAC, but it seemed to stop polling for emails.
    I am trying to review the JBoss server.log file now to try and figure out what is going on (I set up the DEBUG per Howard's post on my other post), but it just looks like the Email Receiver stops polling for messages and I don't see any error upon a quick glance.
    Thank you for any input.
    -Jennifer

    Hi Jennifer
    "Stall" means that the QPAC will throw an exception, which will cause the workflow to stall. It will then show up on the "Stalled Actions" in the adminui. The only option you have is to retry the action, which will cause it to "start again from the beginning".
    "Continue with Error" is perhaps a little poorly named. It really should just say "Continue". This means that if the timeout period is reached, the QPAC will just complete, which means that the workflow will continue on to the next action. (If there are multiple routes coming out of the QPAC, the first one that evaluates to true will be followed, as normal.)
    The "Continue With Error" option is useful if you want the Workflow designer to be able to handle the error, rather than causing the workflow to stall. For example, if you were waiting for a customer to send a response to your outbound email, you might design the workflow to do something like the following:
    - Wait for 2 days for a response email.
    - If the two days elapse without receiving the response, send another email, then wait for another 2 days for a response email.
    - If the additional 2 days elapse without receiving the response, assign a task to a customer support rep to call the customer to get the required information.
    In short, Continue with error allows you to set a "soft" error - it's not an error that a System administrator needs to correct, it's just something that needs to be accomodated for in the workflow. A stall, on the other hand, is a "hard" error, that can only be rectified by a system administrator fixing the underlying problem and retrying.
    I hope this explanation helps.
    Howard
    http://www.avoka.com
    PS Technically, the "Continue with error" option does actually return an error code to the workflow engine, indicating exactly what the error is. However, the workflow engine does not expose this error code to the workflow design. This would be a useful feature which we hope may arrive in the next version.

  • E-mail receiver QPAC crashes when receiving MIME/multipart messages with various subparts

    Hi,
    does the E-Mail receiver currently support MIME/multipart messages which contain various subparts?
    When receiving a mime message like
    message 34
    over here, E-Mail receiver stalls and throws the following exception:
    Exception occurred - explicitly stalling action. Exception:com.adobe.workflow.pat.PATRuntimeException: The attachment null could not be retrieved because its type cannot be handled by this qpac. Type: class javax.mail.internet.MimeMultipart
    Does e-mail receiver currently support mime/multipart messages containing various subparts or not?
    Is there anyone out there to clarify this?
    Steve

    Hmm. No unfortunately I cannot send you the original message because I didn't keep it.
    But never mind. We managed to implement a simple workaround: the Email server reformats emails before forwarding them to the workflow server. Which is quite good a solution since the workflow doesn't care about message-bodies but about attachments. So, it's safe to reformat the message body (or even throw it away).
    Steve

  • Anybody made experiences with JMS Queue Receiver (QPAC)?

    you find my question in this thread:
    http://www.adobeforums.com/cgi-bin/webx/.3bc3bd03
    regards, nico

    Made progress on this issue... reade more hear:
    http://www.adobeforums.com/cgi-bin/webx/.3bc3bd03

  • Why my servlet receives NoClassDefFoundError : javax/servlet/http/HttpSession

    I developed an application which has one servlet.
    The war context-root that has the servlet is 'workflowclient'.
    When invoking the servlet with URL "http://localhost/workflowclient/WfAgentManagerSRMIServlet, an exception with NoClassDefFoundException is raised.
    Why ?
    The fortune example operates well.
    Please let me know how to solve this problem.

    Hi,
    I would like to go through your code, if it isn't properietry, please send me the codes so that I can have a look and test at my end to provide you results.
    Thanks & Regards
    Ganesh .R
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support

  • Java Mail Problems within JSP Page

    Hi all,
    I'm encountering the following problem. I hava a jsp file named common.jsp with holds all common functions like write header and footer and also a send mail function. i include this page in all my other jsp pages. In the signup page - i need to send out 2 emails, one to the administrator and the other to the user who signed up. so i call that send mail function twice. the first call works(meaning it sends out the email) but the second call gives me a No SMTP Provider exception. Can anyone help me with this.
    thx a bunch
    p.s: i have included the sendEmail Function below
    public void sendEmail(String emailServer, String sEmail, String sName, String rEmail,
         String subject, String strmsg) throws Exception {
         java.util.Properties props = new java.util.Properties();
         props.put("mail.host", emailServer);
         javax.mail.Session mailConn = javax.mail.Session.getInstance(props, null);
         javax.mail.Message msg = new javax.mail.internet.MimeMessage(mailConn);
         javax.mail.Address sender = new javax.mail.internet.InternetAddress(sEmail, sName);
         javax.mail.Address receiver = new javax.mail.internet.InternetAddress(rEmail);
         msg.setContent(strmsg,"text/html");
         msg.setFrom(sender);
         msg.setRecipient(javax.mail.Message.RecipientType.TO, receiver);
         msg.setSubject(subject);
         javax.mail.Transport.send(msg);
    }

    This is what i use and it works just fine
    import java.io.*;
    import java.net.InetAddress;
    import java.util.Properties;
    import java.util.Date;
    import javax.mail.*;
    import javax.mail.internet.*;
    public class sendMail {
    public sendMail(String To,String Subject,String message) {
    String to = To, subject = Subject, from = null,
              cc = null, bcc = null, url = null;
         String protocol = null, host = null, user = null, password = null;
         boolean debug = false;
         try{
    Properties props = System.getProperties();
         Session session = Session.getDefaultInstance(props, null);
         Message msg = new MimeMessage(session);
         if (debug)
              session.setDebug(true);
    msg.setFrom(new InternetAddress("[email protected]"));
         msg.setRecipients(Message.RecipientType.TO,
                             InternetAddress.parse(to, false));
         msg.setSubject(subject);
    msg.setText(message);
         msg.setHeader("Mail","test.com");
         msg.setSentDate(new Date());
         Transport.send(msg);
         System.out.println("\nMail was sent successfully.");
         } catch (Exception e) {
         e.printStackTrace();

  • JSE8 and mail.jar, activation.jar

    Hey, all.
    Does anyone know if there are new mail.jar and activation.jar files for the Sun Java Studio Enterprise 8 system that support the new mail standard 1.4? I tried just putting these new jar files out in the \appserv8.1ur2\lib directory but that didn't work because apparently the JAR files that come with the server are packaged a bit differently (thank a lesser god I had saved off the old versions of the two files so I could put them back!)
    I'd like to use the new mail 1.4 standard that includes the method javax.mail.inetrnet.MimeBodyPart.attachFile(File). It seems much more straightforward than doing the old style mime attachment business.
    Thanks in advance.

    First, when the NEW (javamail 1.4) JAR files aren't there, I get a javax.servlet.ServletException: javax.mail.internet.MimeBodypart.attachFile of "noSuchMethodError". Then, I replaced the old JAR files with the new activation.jar and mail.jar files and I then receive a javax.servlet.ServletException that com/sun/mail/util/SharedByteArrayInputStream has a "NoClassDefFoundError". I think the JSE8 folks must package all the various associated "mail" files (dsn.jar, imap.jar, mailapi.jar, pop3.jar, and smtp.jar) along with the main "mail.jar" file into one big JAR repository.

  • Mail Server Shutting down

    Hi can you please tell me how to prevent folder time outing
    javax.mail.FolderClosedException: * BYE Server shutting down.
    com.sun.mail.imap.IMAPFolder.getMessageCount(IMAPFolder.java:1091)Thanks
    Surbahmanaym

    You need to access the folder at least ever 30 minutes, e.g., using Folder.getMessageCount().

  • Inbound UMS Adapter Issues with Receiving Emails from Lotus Notes

    Hi,
    I have this requirement in my project where I need to read the mails from a particular Email Account which has been created in Lotus Notes. The IMAP Host and port is enabled for the same and I am setting all these in my Server's EM Console UMS Driver settings. I have provided all the Details required for Incoming Email Driver setup like: IncomingMailID, IncomingMailServer, Port, Server Type: IMAP, IncomingMailIDs etc. I have followed all the steps mentioned in regular UMS Adapter Documentation and Blogs.
    I can see that Soa-infra is able to access all the mails from this mail Account and I can see the same in the managed server log files also. But the issue is with the BPEL Process which I have created with the Inbound UMS adapter. This process has UMS inbound adapter with the Email address same as the one defined in UMS Configuration in EM Console.
    The Process is not getting triggered at all whenever a new mail comes to the mail id. I am not sure what is the issue. If anyone has faced similar issue please let me know the solution for the same.
    Also 1 strange thing I observed is, if I go to the Soa-infra proerties-> Human Workflow Management and Test the notification by sending mail to the IncomingMailId, the Process is getting triggered, but if I send a mail from any other gmail/any other account to the IncomingMailID set in Process and server, the Process is not getting triggered.
    In the logs I see the following Error messages which I don't think would be impacting the Process to receive messages as soa-infra is able to pick the messages without any issues.
            at javax.mail.internet.MimePartDataSource.getInputStream(MimePartDataSou
    rce.java:119)
            at javax.activation.DataHandler.getInputStream(DataHandler.java:223)
            at javax.mail.internet.MimeBodyPart.getInputStream(MimeBodyPart.java:573
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.copyCo
    ntent(EmailResourceAdapter.java:998)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.copyCo
    ntent(EmailResourceAdapter.java:1023)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.create
    IncomingMessage(EmailResourceAdapter.java:593)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.onMess
    age(EmailResourceAdapter.java:440)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.onMess
    age(EmailResourceAdapter.java:394)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.fetchN
    ewMailFromStore(EmailResourceAdapter.java:357)
            at oracle.sdpinternal.messaging.driver.email.MailboxPollingWorker.run(Ma
    ilboxPollingWorker.java:49)
            at weblogic.connector.security.layer.WorkImpl.runIt(WorkImpl.java:108)
            at weblogic.connector.security.layer.WorkImpl.run(WorkImpl.java:44)
            at weblogic.connector.work.WorkRequest.run(WorkRequest.java:95)
            at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:545)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >
    <31/07/2014 5:44:06 PM EST> <Warning> <oracle.sdp.messaging.driver.email> <SDP-2
    5700> <An unexpected exception was caught.
    javax.mail.FolderClosedException
            at com.sun.mail.imap.IMAPMessage.getProtocol(IMAPMessage.java:149)
            at com.sun.mail.imap.IMAPMessage.setFlags(IMAPMessage.java:871)
            at javax.mail.Message.setFlag(Message.java:578)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.onMess
    age(EmailResourceAdapter.java:501)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.onMess
    age(EmailResourceAdapter.java:394)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.fetchN
    ewMailFromStore(EmailResourceAdapter.java:357)
            at oracle.sdpinternal.messaging.driver.email.MailboxPollingWorker.run(Ma
    ilboxPollingWorker.java:49)
            at weblogic.connector.security.layer.WorkImpl.runIt(WorkImpl.java:108)
            at weblogic.connector.security.layer.WorkImpl.run(WorkImpl.java:44)
            at weblogic.connector.work.WorkRequest.run(WorkRequest.java:95)
            at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:545)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >
    <31/07/2014 5:44:06 PM EST> <Warning> <oracle.sdp.messaging.driver.email> <SDP-2
    5700> <An unexpected exception was caught.
    javax.mail.FolderClosedException
            at com.sun.mail.imap.IMAPMessage.getProtocol(IMAPMessage.java:149)
            at com.sun.mail.imap.IMAPMessage.getHeader(IMAPMessage.java:715)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.getMes
    sageID(EmailResourceAdapter.java:1415)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.onMess
    age(EmailResourceAdapter.java:417)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.onMess
    age(EmailResourceAdapter.java:394)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.fetchN
    ewMailFromStore(EmailResourceAdapter.java:357)
            at oracle.sdpinternal.messaging.driver.email.MailboxPollingWorker.run(Ma
    ilboxPollingWorker.java:49)
            at weblogic.connector.security.layer.WorkImpl.runIt(WorkImpl.java:108)
            at weblogic.connector.security.layer.WorkImpl.run(WorkImpl.java:44)
            at weblogic.connector.work.WorkRequest.run(WorkRequest.java:95)
            at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:545)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    Hi,
    I have this requirement in my project where I need to read the mails from a particular Email Account which has been created in Lotus Notes. The IMAP Host and port is enabled for the same and I am setting all these in my Server's EM Console UMS Driver settings. I have provided all the Details required for Incoming Email Driver setup like: IncomingMailID, IncomingMailServer, Port, Server Type: IMAP, IncomingMailIDs etc. I have followed all the steps mentioned in regular UMS Adapter Documentation and Blogs.
    I can see that Soa-infra is able to access all the mails from this mail Account and I can see the same in the managed server log files also. But the issue is with the BPEL Process which I have created with the Inbound UMS adapter. This process has UMS inbound adapter with the Email address same as the one defined in UMS Configuration in EM Console.
    The Process is not getting triggered at all whenever a new mail comes to the mail id. I am not sure what is the issue. If anyone has faced similar issue please let me know the solution for the same.
    Also 1 strange thing I observed is, if I go to the Soa-infra proerties-> Human Workflow Management and Test the notification by sending mail to the IncomingMailId, the Process is getting triggered, but if I send a mail from any other gmail/any other account to the IncomingMailID set in Process and server, the Process is not getting triggered.
    In the logs I see the following Error messages which I don't think would be impacting the Process to receive messages as soa-infra is able to pick the messages without any issues.
            at javax.mail.internet.MimePartDataSource.getInputStream(MimePartDataSou
    rce.java:119)
            at javax.activation.DataHandler.getInputStream(DataHandler.java:223)
            at javax.mail.internet.MimeBodyPart.getInputStream(MimeBodyPart.java:573
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.copyCo
    ntent(EmailResourceAdapter.java:998)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.copyCo
    ntent(EmailResourceAdapter.java:1023)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.create
    IncomingMessage(EmailResourceAdapter.java:593)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.onMess
    age(EmailResourceAdapter.java:440)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.onMess
    age(EmailResourceAdapter.java:394)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.fetchN
    ewMailFromStore(EmailResourceAdapter.java:357)
            at oracle.sdpinternal.messaging.driver.email.MailboxPollingWorker.run(Ma
    ilboxPollingWorker.java:49)
            at weblogic.connector.security.layer.WorkImpl.runIt(WorkImpl.java:108)
            at weblogic.connector.security.layer.WorkImpl.run(WorkImpl.java:44)
            at weblogic.connector.work.WorkRequest.run(WorkRequest.java:95)
            at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:545)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >
    <31/07/2014 5:44:06 PM EST> <Warning> <oracle.sdp.messaging.driver.email> <SDP-2
    5700> <An unexpected exception was caught.
    javax.mail.FolderClosedException
            at com.sun.mail.imap.IMAPMessage.getProtocol(IMAPMessage.java:149)
            at com.sun.mail.imap.IMAPMessage.setFlags(IMAPMessage.java:871)
            at javax.mail.Message.setFlag(Message.java:578)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.onMess
    age(EmailResourceAdapter.java:501)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.onMess
    age(EmailResourceAdapter.java:394)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.fetchN
    ewMailFromStore(EmailResourceAdapter.java:357)
            at oracle.sdpinternal.messaging.driver.email.MailboxPollingWorker.run(Ma
    ilboxPollingWorker.java:49)
            at weblogic.connector.security.layer.WorkImpl.runIt(WorkImpl.java:108)
            at weblogic.connector.security.layer.WorkImpl.run(WorkImpl.java:44)
            at weblogic.connector.work.WorkRequest.run(WorkRequest.java:95)
            at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:545)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >
    <31/07/2014 5:44:06 PM EST> <Warning> <oracle.sdp.messaging.driver.email> <SDP-2
    5700> <An unexpected exception was caught.
    javax.mail.FolderClosedException
            at com.sun.mail.imap.IMAPMessage.getProtocol(IMAPMessage.java:149)
            at com.sun.mail.imap.IMAPMessage.getHeader(IMAPMessage.java:715)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.getMes
    sageID(EmailResourceAdapter.java:1415)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.onMess
    age(EmailResourceAdapter.java:417)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.onMess
    age(EmailResourceAdapter.java:394)
            at oracle.sdpinternal.messaging.driver.email.EmailResourceAdapter.fetchN
    ewMailFromStore(EmailResourceAdapter.java:357)
            at oracle.sdpinternal.messaging.driver.email.MailboxPollingWorker.run(Ma
    ilboxPollingWorker.java:49)
            at weblogic.connector.security.layer.WorkImpl.runIt(WorkImpl.java:108)
            at weblogic.connector.security.layer.WorkImpl.run(WorkImpl.java:44)
            at weblogic.connector.work.WorkRequest.run(WorkRequest.java:95)
            at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:545)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

Maybe you are looking for