cancel
Showing results for 
Search instead for 
Did you mean: 

SMTP Receiver Communication Channel error: connection refused

Former Member
0 Kudos

Dear all.

When migrating processes from XI 3.0 to PI 7.1 we run into the problem that we can't get the SMTP Receiver Communication Channel working on PI. We get the following error in Communication Channel Monitoring:

Message processing failed. Cause: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint [null "null"]; nested exception caused by: java.net.ConnectException: Connection refused: connect

(The NetWeaver Administrator log shows the following:

unable to call the mailer: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint [null "null"]; nested exception caused by: java.net.ConnectException: Connection refused: connect)

- We copied all configuration settings 1-on-1 from XI to PI, and double-checked we made no mistakes.

- We confirmed the PI system can in fact reach the mailserver by successfully sending Email from the ABAP stack of the PI system (transactions SOST and SCOT)

- When deliberately mistyping the mailserver URL, we get the error: java.net.UnknownHostException. This makes me believe that the 'connection refused' error we get (after re-entering the correct mailserver URL) is indeed coming from the mailserver. But why would it refuse the connection if it allows the connection from the ABAP stack of the same server? And why didn't we run into any such problems on XI?

Any help is much appreciated!

Kind regards,

Eddy Driessen.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi all.

Eventually we found the cause by accident:

it turned out the Virusscanner on our PI system was blocking the attempts to connect to our Exchange Server. We discovered this by investigating the Virusscanner's logfiles, which showed the following:

Blocked by port blocking rule D:\usr\sap\PID\DVEBMGS00\exe\jstart.EXE Anti-virus Standard Protection:Prevent mass mailing worms from sending mail

We solved this by configuring the Virusscanner software to exclude the jstart.exe.

Hope this is usefull to others.

Kind regards,

Eddy.

Former Member
0 Kudos

Hi All,

We have upgraded our XI3.0 system to PI7.1 and currently performing testing for different adapters. We are also facing similar problem for a scenario File to Mail

19.11.2010 11:31:56 Error Mail: error occured: java.net.UnknownHostException: [url]

19.11.2010 11:31:56 Error Mail: error occured: com.sap.aii.af.lib.mp.module.ModuleException

19.11.2010 11:31:56 Error Adapter Framework caught exception: Failed to call the endpoint

19.11.2010 11:31:56 Error Delivering the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint [null " null"]; nested exception caused by: java.net.UnknownHostException: [url].

19.11.2010 11:31:56 Information The message status was set to WAIT.

*[url] = Mail server

Can anyone suggest the steps to solve this error

Thanks

Varun