manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Avdeev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-1297) Windows Share job stops upon a symbolic link
Date Sun, 17 Apr 2016 05:02:25 GMT

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

Konstantin Avdeev commented on CONNECTORS-1297:
-----------------------------------------------

ok, make sense, but in the meantime, couldn't we just catch that particular exception in order
to process the job further?
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)

Mime
View raw message