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 = jdbc:postgre

[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 occ

Re: [Dspace-tech] RE : Increasing upload.max

2007-09-12 Thread Blanco, Jose
That was the porblem. I was able to load 1.8 GB but not 2GB. I guess it was too close to the setting (2147483647). I saw that the FileUploadRequest uses this value to pass to the method setSizeMax of the class FileUploadBase and that that method accepts a long. So I changed the DSpace code f

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.c

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

2007-09-12 Thread James Rutherford
On Wed, Sep 12, 2007 at 10:47:54PM +0800, wang jiahui wrote: > Here I want to create a database named *vom*, leaving the usename > and password as *dspace*. Your db.url is incorrect. It is trying to connect to the database called 'dspace', you need to change that to be 'vom'. Jim -- James Ruthe

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 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 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_ins

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 12,

[Dspace-tech] Increasing upload.max

2007-09-12 Thread Blanco, Jose
I want to set upload.max to 3536870912 and test loading different file sizes during a submittal, but I keep getting this error when I try to create a collection to test this on: java.io.IOException: the request was rejected because its size (1251) exceeds the configured maximum (0) at org.

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 erro

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

2007-09-12 Thread Desmond Elliott
Could you attach your dspace.cfg please? wang jiahui wrote: > 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.PSQLE

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 "bit

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

2007-09-12 Thread Mark H. Wood
In [dspace]/config/dspace.cfg, find the property 'db.url'. That specifies which database to connect. If you're using PostgreSQL, it looks something like this: db.url = jdbc:postgresql://localhost:5432/dspace Replace "dspace" with the name of the database you want to use. Likewise, if you want

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 tomc

[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, wh