manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-452) Postgresql jar not included properly in build
Date Tue, 14 Oct 2014 14:20:33 GMT

    [ https://issues.apache.org/jira/browse/CONNECTORS-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14170986#comment-14170986
] 

Karl Wright commented on CONNECTORS-452:
----------------------------------------

Hmm, the 1.7.1 distribution has no start-normal.sh either:

{code}
09/19/2014  08:29 AM    <DIR>          .
09/19/2014  08:29 AM    <DIR>          ..
09/19/2014  08:29 AM             1,014 combined-options.env.unix
09/19/2014  08:29 AM             1,019 combined-options.env.win
09/19/2014  07:21 AM             1,063 logging.ini
09/19/2014  07:21 AM    <DIR>          logs
09/19/2014  08:29 AM             2,612 properties.xml
09/19/2014  07:21 AM               859 setjavaoption.bat
09/19/2014  07:21 AM             1,461 start-combined.bat
09/19/2014  07:21 AM             1,457 start-combined.sh
09/19/2014  07:21 AM               900 start.jar
{code}

So, now I am thoroughly confused.  Are you folks using a modified version of 1.7.1 in Zaizi?



> Postgresql jar not included properly in build
> ---------------------------------------------
>
>                 Key: CONNECTORS-452
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-452
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: ManifoldCF 0.5
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>            Priority: Blocker
>             Fix For: ManifoldCF 0.5
>
>
> When you start the ManifoldCF single-process example, you get this:
> C:\release-0.5\apache-manifoldcf-0.5-incubating-bin\apache-manifoldcf-0.5-incuba
> ting\example>"c:\Program Files\Java\jdk1.5.0_22"\bin\java -jar start.jar
> Configuration file successfully read
> org.apache.manifoldcf.core.interfaces.ManifoldCFException: Unable to load databa
> se driver: org.postgresql.Driver
>         at org.apache.manifoldcf.core.database.ConnectionFactory$PoolManager.ens
> urePoolExists(ConnectionFactory.java:212)
>         at org.apache.manifoldcf.core.database.ConnectionFactory.getConnection(C
> onnectionFactory.java:55)
>         at org.apache.manifoldcf.core.database.Database.executeUncachedQuery(Dat
> abase.java:721)
>         at org.apache.manifoldcf.core.database.Database$QueryCacheExecutor.creat
> e(Database.java:1393)
>         at org.apache.manifoldcf.core.cachemanager.CacheManager.findObjectsAndEx
> ecute(CacheManager.java:144)
>         at org.apache.manifoldcf.core.database.Database.executeQuery(Database.ja
> va:185)
>         at org.apache.manifoldcf.core.database.DBInterfacePostgreSQL.createUserA
> ndDatabase(DBInterfacePostgreSQL.java:524)
>         at org.apache.manifoldcf.core.system.ManifoldCF.createSystemDatabase(Man
> ifoldCF.java:698)
>         at org.apache.manifoldcf.crawler.system.ManifoldCF.createSystemDatabase(
> ManifoldCF.java:123)
>         at org.apache.manifoldcf.jettyrunner.ManifoldCFJettyRunner.main(Manifold
> CFJettyRunner.java:224)
> Caused by: java.lang.ClassNotFoundException: org.postgresql.Driver
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:164)
>         at org.apache.manifoldcf.core.database.ConnectionFactory$PoolManager.ens
> urePoolExists(ConnectionFactory.java:208)
>         ... 9 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message