Shinichiro Abe created CONNECTORS-494:
-----------------------------------------

             Summary: dist/example-proprietary doesn't work
                 Key: CONNECTORS-494
                 URL: https://issues.apache.org/jira/browse/CONNECTORS-494
             Project: ManifoldCF
          Issue Type: Bug
          Components: Build
    Affects Versions: ManifoldCF 0.6
            Reporter: Shinichiro Abe


boot:
{noformat} 
#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
{noformat} 

console:
{noformat} 
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
{noformat} 

If you modify dist/connectors-proprietary.xml, it does work.
{code:xml} 
  <!-- comment out this -->
  <!-- <authorityconnector name="LiveLink" 
class="org.apache.manifoldcf.crawler.connectors.livelink.LivelinkAuthority"/> 
-->
{code} 

--
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

        

Reply via email to