Tuning BPEL SMTP Notification Service (Doc ID 757889.1)

Last updated on AUGUST 13, 2013

Applies to:

Oracle(R) BPEL Process Manager - Version 10.1.3.1 to 10.1.3.4 [Release AS10gR3]
Information in this document applies to any platform.
***Checked for relevance on 07-Oct-2010***


Symptoms

When using EMAIL notification in BPEL, with some SMTP Servers like Novell SMTP, you may receive errors like the one below in default_group~oc4j_soa~default_group~1.log. As a result, some of the email messages using this connection will not reach the destination.

08/08/08 08:05:35 javax.mail.MessagingException: Can't send command to SMTP host;
                  nested exception is:
                  java.net.SocketException: Broken pipe
08/08/08 08:05:35 at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1050)
08/08/08 08:05:35 at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1038)
08/08/08 08:05:35 at com.sun.mail.smtp.SMTPTransport.close(SMTPTransport.java:439)

or


08/09/30 15:59:41 javax.mail.MessagingException: Can't send command to SMTP host;
                  nested exception is:
                  java.net.SocketException: Connection reset
08/09/30 15:59:41 at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1050)
08/09/30 15:59:41 at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1038)
08/09/30 15:59:41 at com.sun.mail.smtp.SMTPTransport.close(SMTPTransport.java:439)


This issue can happen in following situations:

1) on Novell SMTP Server, that has a default timeout of 10 minutes after which it invalidates the SMTP connection to the server causing a "java.net.SocketException: Broken Pipe" error
2) when the network connection between SOA and SMTP server is broken unexpectedly, causing a "java.net.SocketException: Connection Reset" error

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms