cancel
Showing results for 
Search instead for 
Did you mean: 

Sender File Adapter pulling Incomplete File - Throwing Alert with MSecsWait

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

using work around

former_member181962
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.