You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2016/04/16 22:48:25 UTC

[jira] [Commented] (CONNECTORS-1297) Windows Share job stops upon a symbolic link

    [ https://issues.apache.org/jira/browse/CONNECTORS-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15244389#comment-15244389 ] 

Karl Wright commented on CONNECTORS-1297:
-----------------------------------------

Hi Konstantin,

You will need to talk with Michael Allen, the author of the jcifs library, for a fix for this problem.

Thanks!


> Windows Share job stops upon a symbolic link
> --------------------------------------------
>
>                 Key: CONNECTORS-1297
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1297
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: JCIFS connector
>    Affects Versions: ManifoldCF 2.3
>         Environment: Windows 2012, Windows 10
>            Reporter: Konstantin Avdeev
>
> Windows shares having a symbolic link cannot be crawled: the job stop with the exception:
> {code}
> Error: SmbException tossed: 0x8000002D
> {code}
> Stack trace example:
> {code}
> ERROR 2016-04-16 20:01:40,384 (Worker thread '76') - JCIFS: SmbException tossed processing smb://localhost/C$/Program Files/Java/jdk/
> jcifs.smb.SmbException: 0x8000002D
> 	at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:563)
> 	at jcifs.smb.SmbTransport.send(SmbTransport.java:640)
> 	at jcifs.smb.SmbSession.send(SmbSession.java:238)
> 	at jcifs.smb.SmbTree.send(SmbTree.java:119)
> 	at jcifs.smb.SmbFile.send(SmbFile.java:775)
> 	at jcifs.smb.SmbFile.doFindFirstNext(SmbFile.java:1989)
> 	at jcifs.smb.SmbFile.doEnum(SmbFile.java:1741)
> 	at jcifs.smb.SmbFile.listFiles(SmbFile.java:1718)
> 	at jcifs.smb.SmbFile.listFiles(SmbFile.java:1707)
> 	at org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector.fileListFiles(SharedDriveConnector.java:2295)
> 	at org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector.processDocuments(SharedDriveConnector.java:788)
> 	at org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:399)
> {code}
> jdk is a symbolic directory link
> {code}
> 02.03.2016  12:38    <SYMLINKD>     jdk [jdk1.8.0]
> {code}
> Expected behaviour: treat a link as an usual directory/file. Or at least, skip it and continue the job.
> Thanks!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)