Re: [Dspace-tech] different database on the same server

2007-09-12 Thread wang jiahui
When I changed the entry and run the fresh_install task, I got this exception: [java] 2007-09-12 21:56:24,493 FATAL org.dspace.administer.RegistryLoader @ anonymous::error_loading_registries: [java] org.postgresql.util.PSQLException: ERROR: duplicate key violates uni que constraint

Re: [Dspace-tech] different database on the same server

2007-09-12 Thread Christian Voelker
Hello, Am 12.09.2007 um 16:03 schrieb wang jiahui: When I changed the entry and run the fresh_install task, I got this exception: [java] 2007-09-12 21:56:24,493 FATAL org.dspace.administer.RegistryLoader @ anonymous::error_loading_registries: I remember that I had this error

Re: [Dspace-tech] different database on the same server

2007-09-12 Thread wang jiahui
I attached my dspace.cfg file. Here I want to create a database named *vom*, leaving the usename and password as *dspace*. Thanks 2007/9/12, Desmond Elliott [EMAIL PROTECTED]: Could you attach your dspace.cfg please? wang jiahui wrote: When I changed the entry and run the fresh_install

Re: [Dspace-tech] different database on the same server

2007-09-12 Thread James Rutherford
On Wed, Sep 12, 2007 at 10:45:19PM +0800, wang jiahui wrote: The dspace.cfg file is ought to be right since that the destination dir name is exactly what I set in the file. I can guarantee that one of three thigns are happening: 1. the database already exists with content in it (maybe from a

Re: [Dspace-tech] different database on the same server

2007-09-12 Thread James Rutherford
The problem is that the fresh_install is loading the wrong (old) dspace.cfg so it's trying to connect to the existing database, so it's having problems with duplicate values. Pass the correct path to the new config by calling ant -Dconfig=/path/to/new/dspace.cfg fresh_install. Jim On Wed, Sep

Re: [Dspace-tech] different database on the same server

2007-09-12 Thread wang jiahui
The dspace.cfg file is ought to be right since that the destination dir name is exactly what I set in the file. And sorry for the duplicate message. 2007/9/12, James Rutherford [EMAIL PROTECTED]: The problem is that the fresh_install is loading the wrong (old) dspace.cfg so it's trying to

Re: [Dspace-tech] different database on the same server

2007-09-12 Thread Claudia Jürgen
Hi Wang, in the config file you attached the name of the db in the db.url is wrong. Supposing you created a database called vom owned by the user dspace the line db.url = jdbc:postgresql://localhost:5432/dspace should be db.url = jdbc:postgresql://localhost:5432/vom Furthermore in the

Re: [Dspace-tech] different database on the same server

2007-09-12 Thread wang jiahui
Thank you all, and sorry for this stupid mistake. 2007/9/12, Claudia Jürgen [EMAIL PROTECTED]: Hi Wang, in the config file you attached the name of the db in the db.url is wrong. Supposing you created a database called vom owned by the user dspace the line db.url =