IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  About FTP Error

    Posted 08/13/09 10:11 AM

    Hello Everyone:

    When I Rename the FTPfile,I recevied the error “421 Timeout (120 seconds): closing control connection”

    Before Rename the file , I pass the file to TN.It will need some time.

    I find some documents that say Ftp attribute timeout the default value is wait for ever.

    I don’t know how to resolve it.Somebody help me.Thanks a lot.

    Best regards


    #webMethods
    #Integration-Server-and-ESB
    #edi


  • 2.  RE: About FTP Error

    Posted 08/13/09 04:12 PM


  • 3.  RE: About FTP Error

    Posted 08/13/09 07:24 PM

    “Before Rename the file , I pass the file to TN.It will need some time.”

    This is common in processes that can take a bit of time. The key is to not keep the FTP connection open while TN/IS is doing its work. The easiest way to do this is to configure the processing rule to be async. Here are the high-level steps:

    1. Your service wakes up and retrieves the document via FTP.
    2. Submits the document to TN.
    3. TN persists the document to the DB and then evaluates which processing rule to use.
    4. If the rule is async, it will create a thread and invoke your IS service in that thread.
    5. Control returns to your service with TN status.
    6. You can rename the file.

    The key is in having TN return control to your service as soon as the document/file has been persisted. Then you know you have safely pulled and stored the document and can tell the FTP server ‘got it’.

    HTH.


    #edi
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: About FTP Error

    Posted 08/13/09 07:39 PM

    Thanks Rob,i understood the original query differently.anyways valuable info.

    -RMG


    #webMethods
    #Integration-Server-and-ESB
    #edi


  • 5.  RE: About FTP Error

    Posted 08/14/09 12:49 AM

    Thanks a lot.
    I will try it.


    #Integration-Server-and-ESB
    #webMethods
    #edi