A job is stopped by SmbException(No process is on the other end of the pipe). -----------------------------------------------------------------------------
Key: CONNECTORS-429 URL: https://issues.apache.org/jira/browse/CONNECTORS-429 Project: ManifoldCF Issue Type: Bug Components: JCIFS connector Affects Versions: ManifoldCF 0.4 Environment: Windows 2003 R2 SE SP2 PostgreSQL8.4 Java 1.6.0_24-b07 Tomcat 6.0.33 ManifoldCF (from trunk | 2012-03-01) Reporter: takagi Fix For: ManifoldCF 0.5 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) { Logging.connectors.warn("JCIFS: 'No process is on the other end of the pipe' response when "+activity+" for "+documentIdentifier+": retrying...",se); // 'No process is on the other end of the pipe' skip the document and keep going throw new ServiceInterruption("Timeout or other service interruption: "+se.getMessage(),se,currentTime + 300000L, currentTime + 3 * 60 * 60000L,-1,false); } +++++++++++++++++++++ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira