webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  JavaioIOException Broken pipe

    Posted Thu October 24, 2002 11:53 PM

    Hi, everyone.

    I am posting large documents to a partner using HTTP. Occasionally, an error is thrown by the pub.client:http service:

    java.io.IOException: Broken pipe

    Google has told me that this may be because I am sending large documents and my partner may not be properly reading the InputStream in my POST.

    I am assuming Google is right because many, many webMethods developers the world over post documents larger than mine.

    Has anybody faced this issue before? Could it be on my side of the transaction? I want to be sure before I recommend that my partner takes additional action.

    Thanks.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: JavaioIOException Broken pipe

    Posted Fri October 25, 2002 12:02 AM

    Dan I have seen this error ins everal cases other than HTTP. With MQ Series, JMS, Database connections. In all of my cases the problem was on the receiving server side. But based on receioving system resolution was radically differen. Anything from restarting DB server to MQ transport channel sizes increase would resolve this for me. I would guess HTTP is same way. But I could be wrong.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 3.  RE: JavaioIOException Broken pipe

    Posted Fri October 25, 2002 01:24 AM

    We have also seen these errors being thrown by webMethods IS 4.6 whenever HTTP post on the partner fails. The failure may be due to many reasons including large doc size.
    I was unable to resolve this issue yet, as in our case; we generally do retries on failures. and eventually, the HTTP post succeeds.

    Dan, try a simple test to post to a non-existent URL or when target-server is down, and you should see these exceptions being thrown in the logs.

    I will be quite interested to know what will fix this for HTTP Post !!

    • Saurabh

    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: JavaioIOException Broken pipe

    Posted Fri October 25, 2002 04:23 AM

    Hi Dan,
    We have seen that when Target server is down. As Saurabh said, subsequent retries will fix the issue.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 5.  RE: JavaioIOException Broken pipe

    Posted Fri October 25, 2002 11:25 PM

    You guys were right.

    My business process calls for concurrent HTTP posting to a partner. The broken pipe errors surfaced only after moving from NT development environment and into Solaris for testing. I have since staggered the HTTP posts and asded some REPEAT on FAILURE capabilities to minimize the instances of this exception.

    So far, it seems to be holding. I will let you know if this work-around falls apart.


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 6.  RE: JavaioIOException Broken pipe

    Posted Mon April 28, 2003 09:20 PM

    Hi,

    I am getting following error

    Jul 25 15:50:45 aviciiactc Adapter40: Adapter40: [System] (96) Adapter “ProductSyncJdeNotifier”: could not start java.io.IOException: Too many open files
    Jul 25 15:57:59 aviciiactc Adapter40: Adapter40: [System] (96) Adapter “ProductSyncJdeNotifier”: could not start java.io.IOException: Too many open files
    Jul 25 17:19:31 aviciiactc Adapter40: Adapter40: [System] (96) Adapter “ProductSyncJdeNotifier”: could not start java.io.IOException: Too many open files

    Please let me know why this error occur


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB