You are now getting this error:
[java] java.sql.SQLException: The url cannot be null

Check your dspace.cfg configuration parameter for "db.url".  It looks like 
yours is null.  Here is what we have ours set to:
db.url = jdbc:postgresql://127.0.0.1:5432/dspace

Hope this helps,
Sue Walker-Thornton

________________________________
From: SANDEEP BHAVSAR [mailto:sandeep.bhav...@gmail.com]
Sent: Sunday, November 01, 2009 1:51 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Error : ant fresh_install

Respected All

AS per your suggestions I have changed the database password in dspace.cfg and 
that works for me. Now if you notice the error is not showing this line.

  [java] org.postgresql.util.
PSQLException: FATAL: password
authentication failed for user "dspace"



dsp...@sbhavsar-server:~/
dspace-1.5.2-src-release/dspace/target/dspace-1.5.2-build.dir$ ant fresh_install
Buildfile: build.xml

init_installation:

init_configs:

setup_database:
     [java] 2009-11-01 09:48:46,229 INFO  org.dspace.core.ConfigurationManager 
@ Loading system provided config property (-Ddspace.configuration): 
config/dspace.cfg
     [java] 2009-11-01 09:48:46,238 INFO  org.dspace.core.ConfigurationManager 
@ Using default log4j provided log configuration,if uninitended, check your 
dspace.cfg for (log.init.config)
     [java] 2009-11-01 09:48:46,238 INFO  
org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
     [java] 2009-11-01 09:48:46,314 FATAL 
org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:
     [java] java.sql.SQLException: The url cannot be null
     [java]     at java.sql.DriverManager.getConnection(DriverManager.java:554)
     [java]     at java.sql.DriverManager.getConnection(DriverManager.java:185)
     [java]     at 
org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:65)
     [java]     at 
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)
     [java]     at 
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:974)
     [java]     at 
org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:176)
     [java]     at java.sql.DriverManager.getConnection(DriverManager.java:582)
     [java]     at java.sql.DriverManager.getConnection(DriverManager.java:207)
     [java]     at 
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:550)
     [java]     at 
org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseManager.java:923)
     [java]     at 
org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:100)

BUILD FAILED
/home/dspace/dspace-1.5.2-src-release/dspace/target/dspace-1.5.2-build.dir/build.xml:585:
 Java returned: 1

Total time: 1 second

Simulataneously I am installing Dspace on Centos 5.3 (existing error is on 
Ubuntu 8.04) and getting the same error.


--
Thanks and Regards

Sandeep Bhavsar
Librarian
Dr.V.N.Bedekar Institute of Management Studies
Thane(W) 400601
MUMBAI. INDIA
@@@@@@@@@@@@@@@@@@@@@@@@@@
email    : sandeep.bhav...@gmail.com<mailto:sandeep.bhav...@gmail.com>
Mob     : 9987049099
elibrary :http://www.vpmthane.org/im/elib/main.htm
@@@@@@@@@@@@@@@@@@@@@@@@@@


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
  • [Dspac... SANDEEP BHAVSAR
    • R... Claudia Jürgen
      • ... SANDEEP BHAVSAR
        • ... Claudia Jürgen
          • ... SANDEEP BHAVSAR
    • R... Mark H. Wood
      • ... Patrick Etienne
        • ... Sean Carte
    • [... SANDEEP BHAVSAR
      • ... Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]

Reply via email to