Mika, That looks like there was not an filtering of the db properties that get added to the dspace.cfg during the mvn build process.
just to verify, you ran just 'mvn clean package' prior to the ant build? -Mark On Jan 2, 2008, at 7:30 AM, Mika Stenberg wrote: > I tried 1_5_x branch, but it gives me error when running "ant > fresh_install". > > setup_database: > [java] 2008-01-02 17:10:13,969 INFO > org.dspace.core.ConfigurationManager @ Loading system provided > config property (-Ddspace.configuration): config/dspace.cfg > [java] 2008-01-02 17:10:13,975 WARN > org.dspace.core.ConfigurationManager @ Interpolation failed in > value of property "db.driver", there is no property named > "default.db.driver" > [java] 2008-01-02 17:10:13,979 INFO > org.dspace.core.ConfigurationManager @ Using default log4j provided > log configuration,if uninitended, check your dspace.cfg for > (log.init.config) > [java] 2008-01-02 17:10:13,979 INFO > org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database > [java] 2008-01-02 17:10:13,996 WARN > org.dspace.storage.rdbms.DatabaseManager @ Exception initializing > DB pool > [java] java.lang.ClassNotFoundException: > [java] at java.lang.Class.forName0(Native Method) > [java] at java.lang.Class.forName(Class.java:164) > [java] at > org.dspace.storage.rdbms.DatabaseManager.initialize > (DatabaseManager.java:1419) > [java] at > org.dspace.storage.rdbms.DatabaseManager.getConnection > (DatabaseManager.java:512) > [java] at org.dspace.storage.rdbms.DatabaseManager.loadSql > (DatabaseManager.java:859) > [java] at org.dspace.storage.rdbms.InitializeDatabase.main > (InitializeDatabase.java:100) > [java] 2008-01-02 17:10:13,999 FATAL > org.dspace.storage.rdbms.InitializeDatabase @ Caught exception: > [java] java.sql.SQLException: java.lang.ClassNotFoundException: > [java] at > org.dspace.storage.rdbms.DatabaseManager.initialize > (DatabaseManager.java:1542) > [java] at > org.dspace.storage.rdbms.DatabaseManager.getConnection > (DatabaseManager.java:512) > [java] at org.dspace.storage.rdbms.DatabaseManager.loadSql > (DatabaseManager.java:859) > [java] at org.dspace.storage.rdbms.InitializeDatabase.main > (InitializeDatabase.java:100) > > BUILD FAILED > /usr/local/dspace-1.5-x/dspace/target/dspace-1.5-SNAPSHOT-null.dir/ > build.xml:290: Java returned: 1 > > > -Mika > >> I would recommend checking out the current 1_5_x svn branch over >> using the alpha, we need to cut a beta soon, too many fixes or >> changes to the build system have occurred since the alpha. >> -Mark >> On Jan 2, 2008, at 5:44 AM, Claudia Jürgen wrote: >>> Hi Mika, >>> >>> a Happy New Year to you and the rest of the DSpace community. >>> >>> You first run >>> mvn package >>> or >>> mvn mvn -Ddb.name=[postgres|oracle] package >>> from the download directory >>> >>> and then run ant fresh_install from the target directory >>> >>> see http://wiki.dspace.org/index.php/Building_DSpace_From_Source >>> >>> hope that helps >>> >>> Claudia >>> >>> >>> >>> >>> >>> >>> Mika Stenberg schrieb: >>>> How can I do fresh_install in Dspace 1.5-alpha. When running "mvn >>>> install" the db I created remains empty and I get "internal system >>>> error" on web ui? >>>> >>>> Thanks, >>>> -Mika >>>> >>>> ------------------------------------------------------------------- >>>> ------ >>>> This SF.net email is sponsored by: Microsoft >>>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>> _______________________________________________ >>>> DSpace-tech mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech >>> >>> -------------------------------------------------------------------- >>> ----- >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> DSpace-tech mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/dspace-tech > > > -- > Mika Stenberg > IT-asiantuntija > > Terveystieteiden Keskuskirjasto > Lääketieteellinen tdk > PL 61 (Haartmaninkatu 4) > Helsingin Yliopisto > 00290 Helsinki > > puh. +358-9-191 26807 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

