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 Mon, 13 Oct 2014 15:30:34 GMT

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

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

In the dev_1x branch, it is certainly present in the war.  Let me try to figure out if I get
the same error with Postgresql.

Karl


> 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