Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
ManifoldCF 0.4
-
Windows 2003 R2 SE SP2
PostgreSQL8.4
Java 1.6.0_24-b07
Tomcat 6.0.33
ManifoldCF (from trunk | 2012-03-01)
Description
I am using ManifoldCF(from trunk build. 0.5?) for crawling Windows Share Folder for our application. When I run ManifoldCF sometimes I am getting SmbException. SmbException occur more often around crawling 70,000 files over. I try to reduce this JCIFS connection(2-5). However, SmbException will occur.
I read ManifoldCF Source Code.
SharedDriverConnector.java
+processSMBException()
This method don't handle "No process is on the other end of the pipe." I want to continue the job even in the exception. Therefore, I modified the source code(SharedDriverConnector.java/Line number 1176). As a result, a job continue without stopping.
Source Code
http://hb2.sakura.ne.jp/manifoldcf/SharedDriveConnector.java
Source Code Parts
+++++++++++++++++++++
else if(se.getMessage().indexOf("No process is on the other end of the pipe") != -1)
+++++++++++++++++++++