cancel
Showing results for 
Search instead for 
Did you mean: 

File adapter can't connect to xi-engine

Former Member
0 Kudos

Hello,

I have a problem running the file copy scenario from tutorial. The file adapter reads the file and removes it from the source directory but the message never receives the mapping engine.

The adapter throws the error message (sorry it's a german installation):

'Fehler beim Übertragen der Message zum Endpunkt https://hpsaps01.inveos.com:8001/sap/xi/engine?type=entry über die Verbindung AFW. Grund: com.sap.aii.af.ra.ms.api.RecoverableException: java.lang.RuntimeException: Error while silently connecting: org.w3c.www.protocol.http.HttpException: java.io.EOFException: Connection closed by remote host.'

Translated to english this would mean: Error by sending message to endpoint over connection AFW.

The status of the ist wait and changed after some time to system error.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Volker,

this will fix your problem:

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Volker,

I think it is a problem with Cache refresh. SO go to SXI_CACHE and try to refresh the mapping.

Also check this

Also have a look at the following threads...

If the above doesnt work, Just try to restart AFW and AFxxx services (from Visual Admin)

Steps to restart AFW and AFxxx services are:

Start the Visual Admin tool. Connect to your XI J2EE Engine (640).

Go to Server->Services.

Try to restart such services as "SAP XI AF Messaging", "SAP XI AF Core", "SAP XI Adapter: XI", etc.

It hope it helps.

Regards,

Abhy

Former Member
0 Kudos

Hi Abhy,

my scenario was a simple one without any mapping, just transferring a file. So it could not be a cache problem of the mapping.

We did a complete restart of the server, but nothing changed. I still get the same error.

The other threads all hit hppt error 404. But that is not that what happend to my problem. I have checked that the service /sap/xi/engine works fine by sending an request with the Internet Explorer to the service. It works getting the expected result. A SOAP message from XI that an empty message has arrived.

Perhaps it is a ssl problem between Adapter an XI.

moorthy
Active Contributor
0 Kudos

Hi,

Check your Intergration Server i.e XI pipeline URL

Go to SLD->Business system-><your Integration Server>

Check the pipeline url .

It should be <i>https://<server

>:8xxx/sap/xi/engine?type=entry</i>

Check this.

Regards,

Moorthy

Former Member
0 Kudos

Hi Krishna,

the SLD entry was

https://serverhpsaps01.inveos.com:8001/sap/xi/engine?type=entry

Perhaps it is a ssl problem.

So I changed the entry to

http://hpsaps01.inveos.com:8000/sap/xi/engine?type=entry

and enabled the service /sap/xi/engine for non ssl communication. But the file adapter does not care about the change in the SLD an further tries to send the message to the https port 8001!

I still get the same error message:

'Fehler beim Übertragen der Message zum Endpunkt

https

://hpsaps01.inveos.com:

8001

/sap/xi/engine?type=entry über die Verbindung AFW. Grund: com.sap.aii.af.ra.ms.api.RecoverableException: java.lang.RuntimeException: Error while silently connecting: org.w3c.www.protocol.http.HttpException: java.io.EOFException: Connection closed by remote host.'

Former Member
0 Kudos

Hi Volker,

Please check you HTTP Port from Transaction SMICM

In the Menu, GOTO--> Services

For complete name of server

GOTO> Parameters>Display

check on paramter: icm/host_name_full

You can check the values here and then create the correct URL accordingly

Regards

Vijaya

Former Member
0 Kudos

Hi Vijaya,

my http port seem to be ok:

Services


icm/server_port_0 = PROT=HTTP,PORT=8000,TIMEOUT=9600

icm/server_port_1 = PROT=HTTPS,PORT=8001,TIMEOUT=9600

icm/server_port_2 = PROT=SMTP,PORT=1025

Misc


icm/host_name_full = hpsaps01.inveos.com

To my opinion the error message means that the adapter connected to the XI service, but server then closed the connection for some reason.

If a incorrect url was the reason i would get a different error (http error code 404)

I thing it could be a ssl problem, but i don not know how to tell the adapter to use the normal http port 8000.

I changed the pipeline URL in the SLD for the integration server and enabled non ssl communication for the service /sap/xi/engine, but the adapter uses further the ssl port 8001!