Hi Vince, I don't recall ever hitting this before, actually. Could you open a Jira ticket? It should be straightforward to fix this; it will need to recognize the SmbException and issue a ServiceInterruption for that document.
Thanks, Karl On Mon, Apr 25, 2016 at 7:50 AM, Vince McNamara <[email protected]> wrote: > Hi, > > I’m trying to crawl/index a large Windows file share using the JCIFS > 1.3.18 library (MCF version 2.0.1 in Datafari 2.2). > > The MCF job quits with this error :- > > Error: SmbException thrown: The process cannot access the file because it > is being used by another process. > > Looking at the exception handling in SharedDriveConnector.java, it looks > like this particular error case is not handled, but I would expect it to > arise fairly frequently when crawling over Windows shares - it is not > possible to know in advance which files are going to be held open by users > when the crawl tries to access them. > > Before trying to change the code, can I check if this is a known issue and > if there’s an existing work-around? > > Thanks a lot > > Vince > >
