I am using Manifoldcf , with windows shares connector to crawl samba serverSMBv2 to crawl and index documents in Elastic Search. , and thus using jcifs-ng(version 2.14) jar file. After checking all the network connection already with server, we get these two error very often.
1) WARN 2022-08-19T17:17:05,175 (Worker thread '7') - JCIFS: Possibly transient exception detected on attempt 3 while getting share security: Disconnecting during tree connect
jcifs.smb.SmbException: Disconnecting during tree connect-- in what case it can come
2) WARN 2019-08-25T15:02:27,416 (Worker thread '11') - Service interruption reported for job 1565115290083 connection 'fs_vwoaahvp319': Timeout or other service interruption: The process cannot access the file because it is being used by another process.
What can be the reason for this?. Can anybody please help how we can handle this error so that whole process should not be aborted(as it leads to job abortion), every time.
could occur when a "hard" error occurs during connection/session establishment, is there any other error indicated?
sounds like a regular sharing violation, the file being accessed by another client. Potentially this can be made less likely by adjusting the sharing your client allows, but ultimately this is an expected error condition that needs to be handled by the client.
I am using Manifoldcf , with windows shares connector to crawl samba serverSMBv2 to crawl and index documents in Elastic Search. , and thus using jcifs-ng(version 2.14) jar file. After checking all the network connection already with server, we get these two error very often.
1) WARN 2022-08-19T17:17:05,175 (Worker thread '7') - JCIFS: Possibly transient exception detected on attempt 3 while getting share security: Disconnecting during tree connect jcifs.smb.SmbException: Disconnecting during tree connect-- in what case it can come
2) WARN 2019-08-25T15:02:27,416 (Worker thread '11') - Service interruption reported for job 1565115290083 connection 'fs_vwoaahvp319': Timeout or other service interruption: The process cannot access the file because it is being used by another process.
What can be the reason for this?. Can anybody please help how we can handle this error so that whole process should not be aborted(as it leads to job abortion), every time.