From: | "PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #1026: org.apache.commons.dbcp.DbcpException: The connection attempt failed because failed getting backend |
Date: | 2003-12-23 19:51:37 |
Message-ID: | 20031223195137.6F737CF83F2@www.postgresql.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-jdbc |
The following bug has been logged online:
Bug reference: 1026
Logged by: NASA
Email address: g(dot)w(dot)kimbrough(at)larc(dot)nasa(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Kris Jurka | 2003-12-23 21:10:25 | Re: BUG #1026: org.apache.commons.dbcp.DbcpException: The |
Previous Message | Dmitry Knyazev | 2003-12-23 15:35:35 | 7.4: FATAL: terminating connection due to administrator command |
From | Date | Subject | |
---|---|---|---|
Next Message | Tammy Jones | 2003-12-23 20:10:41 | Failed getting backend encoding |
Previous Message | Neil Murray | 2003-12-23 14:01:53 | Connection Pool Timeout |