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 12, 2007 at 04:34:46PM +0200, Christian Voelker wrote:
> 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 once as well.
> I cant remember what the problem was but it was
> probably something too stupid to write down
> because I dont have it in my records. I guess
> I just removed the db, created again and ran
> fresh_install again, but thats not sure.
> 
> Now for what I actually wanted to tell: There
> is a quite elaborate page in the wiki with a
> subject like "Installing a test and a live
> instance on the same server" or such, which
> describes several ways to do so with various
> degrees of separation (for one developer or
> several developers and so on), but which
> basically all rely on the same procedure that
> you try to use. I guess you will find more
> valuable details there.
> 
> Bye, Christian
> 
> 
> -------------------------------------------------------------------------
> 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
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
James Rutherford          |  Hewlett-Packard Limited registered Office:
Research Engineer         |  Cain Road,
HP Labs                   |  Bracknell,
Bristol, UK               |  Berks
+44 117 312 7066          |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as "HP CONFIDENTIAL".

-------------------------------------------------------------------------
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to