BUG #1026: org.apache.commons.dbcp.DbcpException: The connection attempt failed because failed getting backend - Mailing list pgsql-bugs

From PostgreSQL Bugs List
Subject BUG #1026: org.apache.commons.dbcp.DbcpException: The connection attempt failed because failed getting backend
Date
Msg-id 20031223195137.6F737CF83F2@www.postgresql.com
Whole thread Raw
Responses Re: BUG #1026: org.apache.commons.dbcp.DbcpException: The
List pgsql-bugs
The following bug has been logged online:

Bug reference:      1026
Logged by:          NASA

Email address:      g.w.kimbrough@larc.nasa.gov

PostgreSQL version: 7.3.4

Operating system:   Solaris 9

Description:        org.apache.commons.dbcp.DbcpException: The connection
attempt failed because failed getting backend

Details:

We are trying to install DSPACE with POSTGRES.  When we run the ant
fresh_install command we get the following error.  What could be causing a
org.apache.commons.dbcp.DbcpException: The connection attempt failed because
failed getting backend encoding?

$ ant fresh_install
Buildfile: build.xml

update:

install_code:

setup_database:
     [java] 2003-12-23 14:09:48,719 INFO
org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
     [java] 2003-12-23 14:09:50,143 FATAL
org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:
     [java] org.apache.commons.dbcp.DbcpException: The connection attempt
failed because failed getting backend encoding
org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(Dri
     [java]     at verManagerConnectionFactory.java:101)
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnec
     [java]     at tionFactory.java:184)
     [java]     at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(Unknown Source)
     [java]     at
org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:146)
     [java]     at
java.sql.DriverManager.getConnection(DriverManager.java:512)
     [java]     at
java.sql.DriverManager.getConnection(DriverManager.java:193)
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java
     [java]     at :382)
     [java]     at
org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseManager.java:668)
     [java]     at
org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:76)
     [java] Caused by: The connection attempt failed because failed getting
backend encoding
org.postgresql.jdbc1.AbstractJdbc1Connection.openConnection(AbstractJdbc1Co
     [java]     at nnection.java:358)
     [java]     at org.postgresql.Driver.connect(Driver.java:122)
     [java]     at
java.sql.DriverManager.getConnection(DriverManager.java:512)
     [java]     at
java.sql.DriverManager.getConnection(DriverManager.java:171)
org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(Dri
     [java]     at verManagerConnectionFactory.java:95)
     [java]     ... 8 more

BUILD FAILED
file:/export/home/dspace-1.1.1-source/build.xml:220: Java returned: 1

Total time: 18 seconds

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: problem with compile cvs
Next
From: Kris Jurka
Date:
Subject: Re: BUG #1026: org.apache.commons.dbcp.DbcpException: The