Hi,

Till recently, I have been using ManifoldCF trunk code (before 0.4 was
released) on Windows XP. I was able to index files from Windows Share
repositories successfully into Solr. Now, I have started using ManifoldCF
0.4 version on Windows 7.
With the new setup, am able to index files from File system repository with
no issue, but I have problems indexing data from Windows Share repository.

The job starts and ends with "Result Description : Authorization: Access is
denied." in Simple History. The log file has the message "JCIFS:
Authorization exception reading document/directory
smb://nhance29/TestMails/ - skipping"

Can you please tell me what needs to be done to resolve this ?

I tried enabling Debug from properties.xml and this is what I get in the
log file.

DEBUG 2012-02-10 12:34:37,869 (Startup thread) - Connecting to:
smb://GLOBAL;stgserver:<password>@nhance29/
DEBUG 2012-02-10 12:34:37,907 (Startup thread) - Seed =
'smb://nhance29/TestMails/'
DEBUG 2012-02-10 12:34:39,781 (Worker thread '1') - JCIFS: getVersions():
documentIdentifiers[0] is: smb://nhance29/TestMails/
DEBUG 2012-02-10 12:34:44,417 (Worker thread '1') - JCIFS: In checkInclude
for 'smb://nhance29/TestMails/'
DEBUG 2012-02-10 12:34:44,417 (Worker thread '1') - JCIFS: Matching
startpoint 'smb://nhance29/TestMails/' against actual
'smb://nhance29/TestMails/'
DEBUG 2012-02-10 12:34:44,417 (Worker thread '1') - JCIFS: Startpoint found!
DEBUG 2012-02-10 12:34:44,417 (Worker thread '1') - JCIFS: Startpoint:
always included
DEBUG 2012-02-10 12:34:44,417 (Worker thread '1') - JCIFS: Leaving
checkInclude for 'smb://nhance29/TestMails/'
DEBUG 2012-02-10 12:34:44,421 (Worker thread '1') - JCIFS: Processing
'smb://nhance29/TestMails/'
DEBUG 2012-02-10 12:34:44,421 (Worker thread '1') - JCIFS:
'smb://nhance29/TestMails/' is a directory
 WARN 2012-02-10 12:34:44,425 (Worker thread '1') - JCIFS: Possibly
transient exception detected on attempt 1 while listing files: Access is
denied.
jcifs.smb.SmbAuthException: Access is denied.
    at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:546)
    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:1986)
    at jcifs.smb.SmbFile.doEnum(SmbFile.java:1738)
    at jcifs.smb.SmbFile.listFiles(SmbFile.java:1715)
    at jcifs.smb.SmbFile.listFiles(SmbFile.java:1704)
    at
org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector.fileListFiles(SharedDriveConnector.java:2224)
    at
org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector.processDocuments(SharedDriveConnector.java:701)
    at
org.apache.manifoldcf.crawler.connectors.BaseRepositoryConnector.processDocuments(BaseRepositoryConnector.java:423)
    at
org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:561)

Thanks and Regards,
Swapna.

Reply via email to