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 17:23:25 GMT

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

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

Great support again, Thank you very much!
{code}
 INFO 2016-04-17 19:11:58,344 (Startup thread) - Marked job 1460829266713 for startup
 INFO 2016-04-17 19:12:15,642 (Startup thread) - Job 1460829266713 is now started
 WARN 2016-04-17 19:15:19,709 (Worker thread '74') - JCIFS: Symlink detected: smb://localhost/C$/Program
Files/Java/jdk/
DEBUG 2016-04-17 19:15:42,943 (Idle cleanup thread) - Connection manager is shutting down
DEBUG 2016-04-17 19:15:42,943 (Idle cleanup thread) - http-outgoing-1: Close connection
DEBUG 2016-04-17 19:15:42,943 (Idle cleanup thread) - Connection manager shut down
{code}

> 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
>         Attachments: CONNECTORS-1297.patch
>
>
> 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