dbTalk Databases Forums  

[BUGS] BUG #1026: org.apache.commons.dbcp.DbcpException: The connection attempt failed because failed getting backend

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1026: org.apache.commons.dbcp.DbcpException: The connection attempt failed because failed getting backend in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
PostgreSQL Bugs List
 
Posts: n/a

Default [BUGS] BUG #1026: org.apache.commons.dbcp.DbcpException: The connection attempt failed because failed getting backend - 12-23-2003 , 01:56 PM







The following bug has been logged online:

Bug reference: 1026
Logged by: NASA

Email address: g.w.kimbrough (AT) larc (DOT) 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.DriverManagerConnectionFac tory.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.bor rowObject(Unknown Source)
[java] at
org.apache.commons.dbcp.PoolingDriver.connect(Pool ingDriver.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.getConnec tion(DatabaseManager.java
[java] at :382)
[java] at
org.dspace.storage.rdbms.DatabaseManager.loadSql(D atabaseManager.java:668)
[java] at
org.dspace.storage.rdbms.InitializeDatabase.main(I nitializeDatabase.java:76)
[java] Caused by: The connection attempt failed because failed getting
backend encoding
org.postgresql.jdbc1.AbstractJdbc1Connection.openC onnection(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.DriverManagerConnectionFac tory.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


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.