Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-429

A job is stopped by SmbException(No process is on the other end of the pipe).

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • ManifoldCF 0.4
    • ManifoldCF 0.5
    • JCIFS connector
    • 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)

      { 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); }

      +++++++++++++++++++++

      Attachments

        Activity

          People

            kwright@metacarta.com Karl Wright
            takagig takagi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified