Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Email transport protocol - Connection reset error

Prasanna GJun 19 2017 — edited Jun 21 2017

Hi All,

I have an OSB which polls a mail box and reads the e-mails. This OSB is working fine. But whenever a server restart is done, OSB stops reading messages.

On checking the logs, I found the following error cropping up for sometime (Might be during server restart). Later although this error vanished from logs, the service is still not reading mails. 

<Error encountered while polling the resource for the service endpoint ProxyService$TestEmail$Service$ProxyService$ReadMails: com.bea.wli.sb.transports.TransportException: Error occured for the service endpoint ProxyService$TestEmail$Service$ProxyService$ReadMails: javax.mail.MessagingException: * BYE JavaMail Exception: java.net.SocketException: Connection reset;

  nested exception is:

        com.sun.mail.iap.ProtocolException: * BYE JavaMail Exception: java.net.SocketException: Connection reset

javax.mail.MessagingException: * BYE JavaMail Exception: java.net.SocketException: Connection reset;

  nested exception is:

        com.sun.mail.iap.ProtocolException: * BYE JavaMail Exception: java.net.SocketException: Connection reset

        at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:569)

        at javax.mail.Service.connect(Service.java:288)

        at com.bea.wli.sb.transports.email.util.MailInbox.<init>(MailInbox.java:49)

        at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)

        at com.bea.wli.sb.transports.poller.TransportTimerListener.run(TransportTimerListener.java:75)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

        at java.util.concurrent.FutureTask.run(FutureTask.java:262)

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

        at java.lang.Thread.run(Thread.java:745)

Caused by: com.sun.mail.iap.ProtocolException: * BYE JavaMail Exception: java.net.SocketException: Connection reset

        at com.sun.mail.imap.protocol.IMAPProtocol.capability(IMAPProtocol.java:144)

        at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:110)

        at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:538)

        ... 11 more

Following are the time out properties set at OSB level -

Connection Timeout - 0

{MsgIdNotFound:READ_TIMEOUT} - 0

Thanks in advance!!!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 19 2017
Added on Jun 19 2017
2 comments
1,175 views