cancel
Showing results for 
Search instead for 
Did you mean: 

TCP_NODELAY

javier_alcubilla
Contributor
0 Kudos

Hi colleagues

We are facing the error trying to send a 23Mb file through SOAP receiver adapter.

SOAP: Error occurred: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.net.SocketException: Broken pipe


We have checked the oss note 1405895 and our system is up to date.


My doubts are:


Do you know if it is possible to set the TCP_NODELAY property at the java system properties menu o elsewhere?

In the other side, we have developed a java application through NWDS that is facing the same problem.

Do you know how to set the TCP_NODELAY (tcp-nodelay in java) property in a generated proxy from a given wsdl?

https://help.sap.com/saphelp_nwpi71/helpdata/en/45/b41c7a83da2e78e10000000a155369/content.htm?frames...

Thanks in advance

Javi

Accepted Solutions (1)

Accepted Solutions (1)

javier_alcubilla
Contributor
0 Kudos

I've solved the java application problem by adding the next property:

httpControl.enableChunkedRequest(true);

(httpControl from the lib

com.sap.engine.services.webservices.espbase.client.api.HTTPControlInterface)

Do you know any property in PI that give the same solution?

Thanks in advance

javier_alcubilla
Contributor
0 Kudos

Ideas?

javier_alcubilla
Contributor
0 Kudos

Finally, after some test scenarios, we have found that the proxy was "cutting" the connection.

Thanks

Answers (1)

Answers (1)

iaki_vila
Active Contributor
0 Kudos

Hi Javier.

AFAIK that parameter is about OS level and the JVM lets to use it a socket level. I think, you can test to modify the parameter in the HTTP provider section (HTTP Provider Service - Administration Manual - SAP Library), obviously your problem is in the client side, but you can try to change this in order to know if it changes for all http socket communication.

Regards.