You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (Commented) (JIRA)" <ji...@apache.org> on 2012/04/05 19:32:22 UTC
[jira] [Commented] (CONNECTORS-452) Postgresql jar not included
properly in build
[ https://issues.apache.org/jira/browse/CONNECTORS-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13247401#comment-13247401 ]
Karl Wright commented on CONNECTORS-452:
----------------------------------------
r1309962 (trunk)
> 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
> 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 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