cancel
Showing results for 
Search instead for 
Did you mean: 

Can the locked files be picked up ?

xinjiang_li
Active Participant
0 Kudos

Hi,gurus:

My sender adapter is file adapter,and I want to know whether the file which is locked will be picked up by XI? Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

former_member181985
Active Contributor
0 Kudos

Hi li,

Can you explain what you mean by Locked File?

I mean Is it locked by XI FileAdapter (or) some other application other than XI?

Thanks,

- Gujjeti.

xinjiang_li
Active Participant
0 Kudos

Hi,Praveen:

Yes,you are right.

The locked file means the file was locked by other applications.

former_member181985
Active Contributor
0 Kudos

Hi,

As far as I know,

If it is locked by some other application, XI File Adapter cannot read the file until unless the other application releases the lock.

Thanks,

- Gujjeti.

Former Member
0 Kudos

Hi.

The file has to be released by the xternal application before it gets picked up by the File Adaper.

Kiran.

xinjiang_li
Active Participant
0 Kudos

But we can see the error message about privilege in runtime workbench,is it right?

former_member181985
Active Contributor
0 Kudos

Hi,

I just simulated your requirement,

if the file is locked by some thirdparty application, the XI File Adapter cannot read the File.

The error message for this Sender File Channel(in RWB) will always be "Could not process due to error: java.io.IOException: The process cannot access the file because another process has locked a portion of the file" irrespecitve of the processing mode in File Channel configuration.

Thanks,

- Gujjeti.

Answers (4)

Answers (4)

Former Member
0 Kudos

If the file is locked by some other application, it won't be picked up by XI.

Regards,

Sarvesh

former_member192295
Active Contributor
0 Kudos

Hi,

We can't read file until locked one release. Any application locked file, the same file same time we can't read. We can read that file after release only.

Former Member
0 Kudos

Hi ,

In the sender File Adapter -> Processing Parameters....

Check the Process Read-Only Files (for transport protocol File System (NFS))

Set the indicator if you want to also transfer files that are locked by other applications.

http://help.sap.com/saphelp_nw70/helpdata/EN/8f/d906d01f77fa40a4c84683c3f8326f/frameset.htm

Regards,

Madhu

Former Member
0 Kudos

Hi,

I hope , if u keep "Delete Mode" It wont Pick the Locked File.

xinjiang_li
Active Participant
0 Kudos

Hi,I checked this link ,but it said the locked files would be picked up.