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

dist/example-proprietary doesn't work

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: ManifoldCF 0.6
    • Fix Version/s: ManifoldCF 1.0
    • Component/s: Build
    • Labels:
      None

      Description

      boot:

       
      #download
      1. http://www.apache.org/dyn/closer.cgi/manifoldcf/apache-manifoldcf-0.6-src.tar.gz
      2. http://www.apache.org/dyn/closer.cgi/manifoldcf/apache-manifoldcf-0.6-lib.tar.gz
      
      #untar and rename
      $ tar xvzf apache-manifoldcf-0.6-lib.tar.gz
      $ $ mv apache-manifoldcf-0.6 lib
      
      $ tar xvzf apache-manifoldcf-0.6-src.tar.gz
      $ mv lib/ apache-manifoldcf-0.6
      
      #build
      $ cd apache-manifoldcf-0.6
      $ ant make-deps
      $ ant buildcln
      
      #boot
      $ cd dist/example-proprietary
      $ java -jar start.jar
      

      console:

       
      Configuration file successfully read
      Successfully unregistered all output connectors
      Successfully unregistered all authority connectors
      Successfully unregistered all repository connectors
      Successfully registered output connector 'org.apache.manifoldcf.agents.output.elasticsearch.ElasticSearchConnector'
      Successfully registered output connector 'org.apache.manifoldcf.agents.output.opensearchserver.OpenSearchServerConnector'
      Successfully registered output connector 'org.apache.manifoldcf.agents.output.nullconnector.NullConnector'
      Successfully registered output connector 'org.apache.manifoldcf.agents.output.solr.SolrConnector'
      Successfully registered output connector 'org.apache.manifoldcf.agents.output.gts.GTSConnector'
      Successfully registered authority connector 'org.apache.manifoldcf.crawler.connectors.meridio.MeridioAuthority'
      Exception in thread "main" java.lang.NoClassDefFoundError: com/opentext/api/LLConnect
      	at java.lang.Class.forName0(Native Method)
      	at java.lang.Class.forName(Class.java:247)
      	at org.apache.manifoldcf.core.system.ManifoldCFResourceLoader.findClass(ManifoldCFResourceLoader.java:149)
      	at org.apache.manifoldcf.core.system.ManifoldCF.findClass(ManifoldCF.java:1155)
      	at org.apache.manifoldcf.authorities.interfaces.AuthorityConnectorFactory.getConnectorNoCheck(AuthorityConnectorFactory.java:124)
      	at org.apache.manifoldcf.authorities.interfaces.AuthorityConnectorFactory.install(AuthorityConnectorFactory.java:45)
      	at org.apache.manifoldcf.authorities.authconnmgr.AuthorityConnectorManager.registerConnector(AuthorityConnectorManager.java:180)
      	at org.apache.manifoldcf.crawler.system.ManifoldCF.registerConnectors(ManifoldCF.java:352)
      	at org.apache.manifoldcf.crawler.system.ManifoldCF.reregisterAllConnectors(ManifoldCF.java:148)
      	at org.apache.manifoldcf.jettyrunner.ManifoldCFJettyRunner.main(ManifoldCFJettyRunner.java:229)
      Caused by: java.lang.ClassNotFoundException: com.opentext.api.LLConnect
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      	at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:627)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      	... 10 more
      

      If you modify dist/connectors-proprietary.xml, it does work.

       
        <!-- comment out this -->
        <!-- <authorityconnector name="LiveLink" class="org.apache.manifoldcf.crawler.connectors.livelink.LivelinkAuthority"/> -->
      

        Attachments

          Activity

            People

            • Assignee:
              kwright@metacarta.com Karl Wright
              Reporter:
              shinichiro abe Shinichiro Abe
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: