[Dspace-tech] different database on the same server

2007-09-12 Thread wang jiahui
Hi, I want to setup two dspace instances on the same server. These two instances should use different database, and this claims that one of the databases should not be called *dspace*. If I want to create a database with a name rather than *dspace*, which is still used by an instance of dspace,

Re: [Dspace-tech] Problem with indexing 1.4.2 (update)

2007-09-12 Thread Bernadette Schlonsok
Hi George, you should remove /usr/local/tomcat/webapps/dspace/WEB-INF/classes /usr/local/tomcat/webapps/dspace-oai/WEB-INF/classes from your CLASSPATH. dsrun sets its java environment itself, see FULLPATH=$CLASSPATH:$JARS:$DSPACEDIR/config If you got DSpace 1.3.2 in Tomcat and set the tomcat

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

[Dspace-tech] Internal server errors on My DSpace pages

2007-09-12 Thread Shaun Burriss
Hi all. We have been having some problems with pages in the My DSpace area of our repository. We haven't been able to reproduce the problem through navigating My DSpace, but it will occur when we link directly to one of the pages. An example is below, but we have found that a similar error

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 =