Skip to Content
avatar image
Former Member

Sender File Adapter pulling Incomplete File - Throwing Alert with MSecsWait

Hi,

<br>We have sender File communication channel which is polling every 600 Secs. The directory where the files are available is basically an FTP Server directory. Vendors are putting file in this directory and PI is picking up from there.

<br>

Sometimes File CC is picking up incomplete files.

<br>

So, I set up Advanced Mode, additional parameter 'Msecs to Wait Before Modification Check' to 10000 (10Secs)

<br>

Now, it is not picking up incomplete files.

<br>

But, sometimes PI is trying to process files which are being written by Vendors and stopping the process because of 'Msecs to Wait Before Modification Check' and throwing an error and retrying to process in next polling. As far as stopping the process it si fine.

<br>

But, the problem is whenever it does this, PI is triggering an alert. We have bunch of Vendor Services and set up an alert rule for all Runtime errors.

<br>

My question is:

1) Is there any way we can stop sending alerts for this error and keep the generic alert rule ?

<br>

2) Or, is there any other way not to generate error and at the same time not to process incomplete files.?

<br>

The error we get is:

2009-11-11 13:10:12 Error Channel CC_XYZ_SENDER: Attempt to send file 'VendorXYZ.xml' failed because file was modified during processing. 2383872 bytes expected, 2678784 bytes found. Trying to resend file

Any pointers are really appreciated.

Regards,

Ramesh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 12, 2009 at 04:07 PM

    Hi,

    An alternative approach would be to have the vendors write the fles to a temporary ftp directory and have an OS script scheduled to move the files from the temporary directory to the directory from where XI picks the files.

    This way, XI will not pick up partially written files.

    Regards,

    Ravi Kanth Talagana

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks for your replay Ravi. We thought about that option. But, client doesn't like the idea of OS program controlling the process.<br> And also ,Vendors doesn't have capability of writing tmp file and renaming it after completion.<br>I am trying to explore for options with these restrictions.<br>Any pointers are really appreciated.

  • avatar image
    Former Member
    Nov 25, 2009 at 09:05 PM

    using work around

    Add comment
    10|10000 characters needed characters exceeded