Hi
Here's the whole error and success stuff :
--------------
dspace@dspace2-VirtualBox:~/Bureau/dspace-1.7.2-release/dspace/target/dspace-1.7.2-build.dir$
ant fresh_install
Unable to locate tools.jar. Expected to find it in
/usr/lib/jvm/java-6-openjdk/lib/tools.jar
Buildfile:
/home/dspace/Bureau/dspace-1.7.2-release/dspace/target/dspace-1.7.2-build.dir/build.xml
init_installation:
init_configs:
test_database:
[java] 2011-07-18 20:22:37,817 INFO org.dspace.core.ConfigurationManager
@ Loading system provided config property (-Ddspace.configuration):
config/dspace.cfg
[java] 2011-07-18 20:22:37,827 INFO org.dspace.core.ConfigurationManager
@ Using default log4j provided log configuration,if unintended, check your
dspace.cfg for (log.init.config)
[java]
[java] Attempting to connect to database:
[java] - URL: jdbc:postgresql://localhost:5432/dspace
[java] - Driver: org.postgresql.Driver
[java] - Username: dspace
[java] - Password: dspace
[java] - Schema: null
[java]
[java] Testing connection...
[java] Connected successfully!
[java]
setup_database:
[java] 2011-07-18 20:22:38,626 INFO org.dspace.core.ConfigurationManager
@ Loading system provided config property (-Ddspace.configuration):
config/dspace.cfg
[java] 2011-07-18 20:22:38,631 INFO org.dspace.core.ConfigurationManager
@ Using default log4j provided log configuration,if unintended, check your
dspace.cfg for (log.init.config)
[java] 2011-07-18 20:22:38,631 INFO
org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
[java] 2011-07-18 20:22:38,646 FATAL
org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:
[java] java.io.FileNotFoundException: database_schema.sql (No such file or
directory)
[java] at java.io.FileInputStream.open(Native Method)
[java] at java.io.FileInputStream.<init>(FileInputStream.java:137)
[java] at java.io.FileInputStream.<init>(FileInputStream.java:96)
[java] at java.io.FileReader.<init>(FileReader.java:58)
[java] at
org.dspace.storage.rdbms.InitializeDatabase.getScript(InitializeDatabase.java:119)
[java] at
org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:68)
BUILD FAILED
/home/dspace/Bureau/dspace-1.7.2-release/dspace/target/dspace-1.7.2-build.dir/build.xml:765:
Java returned: 1
--------------
Le 18 juil. 2011 à 19:48, Wendy J Bossons a écrit :
> Hi Daniel,
>
> Have you created the database prior to running the full install? You must
> have an empty database with the credentials specified in the dspace.cfg in
> order for the fresh install to create the tables, etc....
>
>
> ..\Wendy
>
> "I am putting myself to the fullest possible use, which is all I think that
> any conscious entity can ever hope to do."
>
> Wendy Bossons
> Senior Software Engineer
> MIT Libraries
> Software Analysis & Development
> Building E25-131
> 77 Massachusetts Ave.
> Cambridge, MA 02141-4307
> Phone 617-253-0770
> Fax 617-253-4462
> [email protected]
> http://libraries.mit.edu
>
>
> On Jul 18, 2011, at 5:51 AM, Daniel Bourrion wrote:
>
> Hi
> I'm trying to install dspace in order to test it (we think of using it for an
> academic OAI repository)
>
> Got that (sad) message (that I don't understand) during ant fresh_install :
>
> ---------------------------------------
> setup_database:
> [java] 2011-07-18 11:40:18,481 INFO org.dspace.core.ConfigurationManager
> @ Loading system provided config property (-Ddspace.configuration):
> config/dspace.cfg
> [java] 2011-07-18 11:40:18,486 INFO org.dspace.core.ConfigurationManager
> @ Using default log4j provided log configuration,if unintended, check your
> dspace.cfg for (log.init.config)
> [java] 2011-07-18 11:40:18,486 INFO
> org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
> [java] 2011-07-18 11:40:18,487 FATAL
> org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:
> [java] java.io.FileNotFoundException: database_schema.sql (No such file
> or directory)
> [java] at java.io.FileInputStream.open(Native Method)
> [java] at java.io.FileInputStream.<init>(FileInputStream.java:137)
> [java] at java.io.FileInputStream.<init>(FileInputStream.java:96)
> [java] at java.io.FileReader.<init>(FileReader.java:58)
> [java] at
> org.dspace.storage.rdbms.InitializeDatabase.getScript(InitializeDatabase.java:119)
> [java] at
> org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:68)
>
> BUILD FAILED
> /home/dspace/Bureau/dspace-1.7.2-release/dspace/target/dspace-1.7.2-build.dir/build.xml:765:
> Java returned: 1
>
> -------------------------------------
>
>
> Should somebdy help me ?
> Thanks a lot
> Best
> D.
>
> <ATT00001..c><ATT00002..c>
>
>
> ------------------------------------------------------------------------------
> AppSumo Presents a FREE Video for the SourceForge Community by Eric
> Ries, the creator of the Lean Startup Methodology on "Lean Startup
> Secrets Revealed." This video shows you how to validate your ideas,
> optimize your ideas and identify your business strategy.
> http://p.sf.net/sfu/appsumosfdev2dev
> _______________________________________________
> Dspace-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-general
------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide. Store less, Store more with what you own, Move data to
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
Dspace-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-general