[Dspace-tech] build.xml:253: Java returned: 1 ERROR

8 views
Skip to first unread message

Christo Romberg

unread,
Aug 24, 2015, 3:43:11 PM8/24/15
to dspac...@lists.sourceforge.net
Hi again!

I've tried to configure the PostgreSQL server, but it doesn't help.
I've put the right password and username of the PostgreSQL servers database
in the dspace.cfg file, but nothing helps.

I'm trying to install DSpace v1.3.2.

My system is Windows XP Pro. Ed. with Service Pack 2 installed.
These are the pre-requisite software:
- Sun Java Development Kit v1.5.0 Update 6 (JRE included in that package)
- PostgreSQL v8.1.3
- Apache Ant v1.6.5
- Apache Tomcat v5.5.16


The message I get when running ant fresh_install is:

*Buildfile: build.xml*

*compile:*

*install_code:*

*build_wars:*

*init_configs:*

*setup_database:
[java] 2006-04-18 19:03:39,248 INFO org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
[java] 2006-04-18 19:03:39,482 FATAL org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:
    [java] org.postgresql.util.PSQLException: FATAL: password authentication failed for user "dspace"
[java]     at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication ConnectionFactoryImpl.java:275)
[java]     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:94)
[java]     at org.postgresql.core.ConnectionFactory.openConnection (Connecti
onFactory.java:65)
[java]     at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJ
dbc2Connection.java:116)
[java]     at org.postgresql.jdbc2.Jdbc2Conne ction .<init>(
Jdbc2Connection.java:24)
[java]     at org.postgresql.Driver.makeConnection(Driver.java:369)
[java]     at org.postgresql.Driver.connect(Driver.java:245)
[java]     at java.sql.DriverManager.getConnection
(DriverManager.java
:525)
[java]     at java.sql.DriverManager.getConnection(DriverManager.java:171)
[java]     at
org.apache.commons.dbcp.DriverManagerConnectionFactory .create
Connection(DriverManagerConnectionFactory.java :48)
[java]     at
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(
PoolableConnectionFactory.java:290)
[java]     at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject( GenericObjectPool.java :771)
[java]     at org.apache.commons.dbcp .PoolingDriver.connect(PoolingDriver.java:175)
[java]     at java.sql.DriverManager.getConnection(DriverManager.java :525)
[java]     at java.sql.DriverManager.getConnection
(DriverManager.java :193)
[java]     at  org.dspace.storage.rdbms.DatabaseManager.getConnection
(DatabaseManager.java:446)
[java]     at org.dspace.storage.rdbms .DatabaseManager.loadSql
(DatabaseManager.java :777)
[java]     at org.dspace.storage.rdbms.InitializeDatabase.main
(InitializeDatabase.java:71)*

*BUILD FAILED
C:\DSpace132\build.xml:253: Java returned: 1*


Any ideas, someone?

Appreciate the effort!

Best Regards,
Christo
Reply all
Reply to author
Forward
0 new messages