Re: [Dspace-tech] Error starting tomcat: Error occurred during initialization of VM

2009-08-17 Thread Sean Carte
2009/8/16 Steve Thomas stephen.tho...@adelaide.edu.au:
 Hi. We're suddenly seeing this error when we restart tomcat:

 Error occurred during initialization of VM
 Could not reserve enough space for object heap

 I'm mystified, because we have made no server changes recently. Apache is
 running, postgresql is running, but tomcat is borked.

 Can anyone suggest a cause for this, or a place to start looking?

 We're running DSpace 1.4.2 on RHEL.


I wonder if you're out of disk space on the directory that the JVM
uses? `df` should let you know.

Otherwise maybe some process has gotten out of hand: `top`.

Sorry if I'm just stating the obvious.

Sean
-- 
Sean Carte
esAL Library Systems Manager
+27 72 898 8775
+27 31 373 2490
fax: 0866741254
http://esal.dut.ac.za/

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] problem installing dspace

2009-08-17 Thread Chris Ward
That worked! Thank you for your help. strange that all it was, was the dbname. weird that ait half installed and failed with a unhelpful error.Now, i get a white page. i think my tomcat may be broken. ( have assigned the webapps to be /dspace/webapps)the page is:http://78.129.197.42:8080/it either gets 'the connection was reset' or a white page with no source.anyone got an idea?Chris


  

  
  http://www.ico3.com
ch...@ico3.com
Chris Ward
Web Developer
ICO3 Limited
Tamar Science Park
Davy Rd
Plymouth
01752 764400
  
-Original Message-








Hi Chris,

AFAIA, the only two allowed values for db.name are "postgres" or "oracle". The actual name of your dspace database is spelt out in the db.url parameter. Can you confirm that this is the case?

Cheers
Gary




-Original Message-
From: Chris Ward [mailto:ch...@ico3.com]
Sent: Fri 8/14/2009 19:33
To: claudia.juer...@ub.tu-dortmund.de
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] problem installing dspace



I have not got a dspace install, i am installing a new fresh copy.

running ant clean_database game me the following:
clean_database:
 [java] 2009-08-14 09:29:23,804 INFO org.dspace.core.ConfigurationManager @ Loading system provided config property (-Ddspace.configuration): config/dspace.cfg
 [java] 2009-08-14 09:29:23,814 INFO org.dspace.core.ConfigurationManager @ Using default log4j provided log configuration,if uninitended, check your dspace.cfg for (log.init.config)
 [java] 2009-08-14 09:29:23,814 INFO org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
 [java] 2009-08-14 09:29:24,009 ERROR org.dspace.storage.rdbms.InitializeDatabase @ The configuration for db.name is either invalid, or contains an unrecognised database
 [java] org.dspace.browse.BrowseException: The configuration for db .name is either invalid, or contains an unrecognised database
 [java] at org.dspace.browse.BrowseDAOFactory.getCreateInstance(BrowseDAOFactory.java:101)
 [java] at org.dspace.browse.IndexBrowse.(IndexBrowse.java:153)
 [java] at org.dspace.browse.IndexBrowse.(IndexBrowse.java:131)
 [java] at org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:83)
 [java] 2009-08-14 09:29:24,011 FATAL org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:
 [java] java.lang.RuntimeException: The configuration for db.name is either invalid, or contains an unrecognised database
 [java] at org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:91) br [java] Caused by: org.dspace.browse.BrowseException: The configuration for db.name is either invalid, or contains an unrecognised database
 [java] at org.dspace.browse.BrowseDAOFactory.getCreateInstance(BrowseDAOFactory.java:101)
 [java] at org.dspace.browse.IndexBrowse.(IndexBrowse.java:153)
 [java] at org.dspace.browse.IndexBrowse.(IndexBrowse.java:131)
 [java] at org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:83)


it mentions soem erros in my sspace.cfg, btu the details in there are correct for the database. and when i use the fresh_install i get warnings saying the table already exists. why does the install script get access to the db but not the clean_database one?

Chris


http://www.ico3.com/images/ICO3_Logo.gif

http://www.ico3.com
ch...@ico3.com

 Chris Ward
Web Developer
ICO3 Limited
Tamar Science Park
Davy Rd
Plymouth
01752 764400


-Original Message-

Hi Chris,

if you already used ant fresh_install and want to use it again run ant
clean_database to clear the db and then ant fresh_install.

If you successfully set up a fresh install and want to update it use
ant update and/or ant init_configs.

Hope that helps

Claudia J?rgen


Chris Ward schrieb:
 I have been following this wiki:
 http://wiki.dspace.org/index.php/Installing_DSpace_1.5_on_Ubuntu_8.04

 I have edited dspace/config/dspace.cfg to add in my postgresql settings
 I have then gone to dspace and run 'mvn package' which downloadeds a log of jar
 files and says complete


 [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
 i.e. build is platform dependent!

 When running it i get lots of [info] lines, a few of these lnes:
 [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
 i.e. build is platform dependent

 and these:
 [WARNING] The following patterns were never triggered in this artifact exclusion
 filter:
 o 'org.dspace:dspace-xmlui-webapp'
 o 'org.dspace:dspace-xmlui-lang'
 o 'org.dspace:dspace-lni-webapp'
 o 'org.dspace:dspace-sword-webapp'
 o 'org.dspace:dspace-jspui-webapp'
 o 'org.dspace:dspace-oai-webapp'
  br[WARNING] The following patterns were never triggered in this artifact
 exclusion filter:
 o '*:war:*'

 It then says build successfull

 i have gone to dspace/target/dspace-1.5.2-build.dir/ and ran 'ant fresh_install'
 which spit out some java warnings saying the database already has a table
 (because this is the second time i have run it) then it 

Re: [Dspace-tech] Importing Multiple files Same Time

2009-08-17 Thread Lewatle Phaladi
Hi Fabricio and All 

I did wrote names of the files i need to import in the file contents, but i got 
this error message bellow, does anyone have idea.



dsp...@dspace-desktop:/usr/local/dspace1.5.2/dspace/bin$ sudo ./import -a -e 
lewatle.phal...@wits.ac.za -c 123456789/7166 -s /export/ -m mymapfile  
Destination collections:
Owning  Collection: WIReDSpace
Adding items from directory: /export/
Generating mapfile: mymapfile
Adding item from directory contained
Loading dublin core from /export//contained/dublin_core.xml
Schema: dc Element: contributor Qualifier: author Value: Johannes
Schema: dc Element: date Qualifier: accessioned Value: 
2009-08-17T20:59:03Z
Schema: dc Element: date Qualifier: available Value: 
2009-08-17T20:59:03Z
Schema: dc Element: date Qualifier: issued Value: 2009-08-17T20:59:03Z
Schema: dc Element: identifier Qualifier: uri Value: 
http://hdl.handle.net/123456789/7163
Schema: dc Element: identifier Qualifier: uri Value: 
http://hdl.handle.net/123456789/7165
Schema: dc Element: identifier Qualifier: uri Value: 
http://hdl.handle.net/123456789/7168
Schema: dc Element: description Qualifier: provenance Value: Submitted 
by Lewatle Phaladi (lewatle.phal...@wits.ac.za) on 2009-08-17T10:19:03Z


Schema: dc Element: description Qualifier: provenance Value: Made 
available in DSpace on 2009-08-17T10:19:03Z (GMT).

Schema: dc Element: subject Qualifier: none Value: Research
Schema: dc Element: subject Qualifier: none Value: Digital
Schema: dc Element: title Qualifier: none Value: Wiredspace's
Processing contents file: /export//contained/contents
java.io.FileNotFoundException: /export/contained/opensrc.pdf  (No such file 
or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.init(FileInputStream.java:106)
at java.io.FileInputStream.init(FileInputStream.java:66)
at 
org.dspace.app.itemimport.ItemImport.processContentFileEntry(ItemImport.java:1169)
at 
org.dspace.app.itemimport.ItemImport.processContentsFile(ItemImport.java:1116)
at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:648)
at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:514)
at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:421)
java.io.FileNotFoundException: /export/contained/opensrc.pdf  (No such file 
or directory)
























-Original Message-
From: Fabricio Costa [mailto:brizzi...@yahoo.com.br]
Sent: Thu 8/13/2009 5:53 PM
To: dspace-tech@lists.sourceforge.net; Lewatle Phaladi
Subject: Re: [Dspace-tech] Importing Multiple files Same Time
 
Just fill the file names desired in a the file called CONTENTS inside import 
folder. Then put all files in their respective directories.

--- Em qui, 13/8/09, Lewatle Phaladi lewatle.phal...@wits.ac.za escreveu:

 De: Lewatle Phaladi lewatle.phal...@wits.ac.za
 Assunto: [Dspace-tech] Importing Multiple files Same Time
 Para: dspace-tech@lists.sourceforge.net
 Data: Quinta-feira, 13 de Agosto de 2009, 10:27
 
 
 
  
  
 Importing Multiple files Same Time
 
  
 
 
 Hi All
 
 
 
 In our Dspace System we managed to Import a single item
 running ./import script within dspace bin directory, the
 main thing that we need to do is to import more files
 simultaneously without creating folder and putting files
 like contents,  dublin_core.xml, handle and license.txt
 for every file we want to publish.
 
 
 
 Can anyone assist in importing multiple files.
 
 
 
 
 
 
  
 
 This communication is intended for
 the addressee only. It is confidential. If you have received
 this communication in error, please notify us immediately
 and destroy the original message. You may not copy or
 disseminate this communication without the permission of the
 University. Only authorized signatories are competent to
 enter into agreements on behalf of the University and
 recipients are thus advised that the content of this message
 may not be legally binding on the University and may contain
 the personal views and opinions of the author, which are not
 necessarily the views and opinions of The University of the
 Witwatersrand, Johannesburg. All agreements between the
 University and outsiders are subject to South African Law
 unless the University agrees in writing to the
 contrary.
 
 -Anexo incorporado-
 
 --
 Let Crystal Reports handle the reporting - Free Crystal
 Reports 2008 30-Day 
 trial. Simplify your report design, integration and
 deployment - and focus on 
 what you do best, core application coding. Discover what's
 new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 -Anexo incorporado-
 
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 

Re: [Dspace-tech] Importing Multiple files Same Time

2009-08-17 Thread Van Ly

On 17/08/2009, at 6:44 PM, Lewatle Phaladi wrote:

 java.io.FileNotFoundException: /export/contained/opensrc.pdf   
 (No such file or directory)
 java.io.FileNotFoundException: /export/contained/opensrc.pdf   
 (No such file or directory)


`/export/contained/opensrc.pdf '

Does that file really exist where it is expected? and did you intend  
for two files to be called differently, such as, opensrc_0.pdf  
opensrc_1.pdf?

Best wishes,

Van Ly
vly at usyd dot edu dot au





--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] scientific formulas do not appear as they are when uploaded

2009-08-17 Thread Morupisi, Maitumelo

We have a problem uploading documents with scientific formulas. They do
not appear as they are in the original.

Regards


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] problem installing dspace

2009-08-17 Thread Gary Browne
Hi Chris,

Good, that's a start...

Tell us a little more: how and where have you assigned the webapps to be 
/dspace/webapps? There are many different ways of doing this. What's your 
dspace.url and dspace.name values in your dspace.cfg file? Also, check 
[tomcat_home]/logs/catalina.out for any error messages which seem related to 
this and post a copy to the list.

Cheers
Gary


/**
 * @author Gary Browne
 * @position Development Programmer
 * @location Sydney University Library
 * @return 9351 5946
 * @deprecated Not yet
 * @since 1968
**/



-Original Message-
From: Chris Ward [mailto:ch...@ico3.com]
Sent: Mon 8/17/2009 18:09
To: Gary Browne
Cc: dspace-tech@lists.sourceforge.net
Subject: RE: RE: [Dspace-tech] problem installing dspace
 
That worked! Thank you for your help. strange that all it was, was the 
dbname. weird that ait half installed and failed with a unhelpful error.


Now, i get a white page. i think my tomcat may be broken. ( have assigned the 
webapps to be /dspace/webapps)

the page is:
http://78.129.197.42:8080/

it either gets 'the connection was reset' or a white page with no source.

anyone got an idea?

Chris



 http://www.ico3.com/images/ICO3_Logo.gif 

http://www.ico3.com
ch...@ico3.com

Chris Ward
Web Developer
ICO3 Limited
Tamar Science Park
Davy Rd
Plymouth
01752 764400 


-Original Message-



Hi Chris,

AFAIA, the only two allowed values for db.name are postgres or oracle. The 
actual name of your dspace database is spelt out in the db.url parameter. Can 
you confirm that this is the case?

Cheers
Gary




-Original Message-
From: Chris Ward [mailto:ch...@ico3.com]
Sent: Fri 8/14/2009 19:33
To: claudia.juer...@ub.tu-dortmund.de
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] problem installing dspace



I have not got a dspace install, i am installing a new fresh copy.

running ant clean_database game me the following:
clean_database:
 [java] 2009-08-14 09:29:23,804 INFO  org.dspace.core.ConfigurationManager 
@ Loading system provided config property (-Ddspace.configuration): 
config/dspace.cfg
 [java] 2009-08-14 09:29:23,814 INFO  org.dspace.core.ConfigurationManager 
@ Using default log4j provided log configuration,if uninitended, check your 
dspace.cfg for (log.init.config)
 [java] 2009-08-14 09:29:23,814 INFO  
org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
 [java] 2009-08-14 09:29:24,009 ERROR 
org.dspace.storage.rdbms.InitializeDatabase @ The configuration for db.name is 
either invalid, or contains an unrecognised database
 [java] org.dspace.browse.BrowseException: The configuration for db .name 
is either invalid, or contains an unrecognised database
 [java] at 
org.dspace.browse.BrowseDAOFactory.getCreateInstance(BrowseDAOFactory.java:101)
 [java] at org.dspace.browse.IndexBrowse.(IndexBrowse.java:153)
 [java] at org.dspace.browse.IndexBrowse.(IndexBrowse.java:131)
 [java] at 
org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:83)
 [java] 2009-08-14 09:29:24,011 FATAL 
org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:
 [java] java.lang.RuntimeException: The configuration for db.name is either 
invalid, or contains an unrecognised database
 [java] at 
org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:91) 
br [java] Caused by: org.dspace.browse.BrowseException: The configuration 
for db.name is either invalid, or contains an unrecognised database
 [java] at 
org.dspace.browse.BrowseDAOFactory.getCreateInstance(BrowseDAOFactory.java:101)
 [java] at org.dspace.browse.IndexBrowse.(IndexBrowse.java:153)
 [java] at org.dspace.browse.IndexBrowse.(IndexBrowse.java:131)
 [java] at 
org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:83)


it mentions soem erros in my sspace.cfg, btu the details in there are correct 
for the database. and when i use the fresh_install i get warnings saying the 
table already exists. why does the install script get access to the db but not 
the clean_database one?

Chris


 http://www.ico3.com/images/ICO3_Logo.gif

http://www.ico3.com
ch...@ico3.com

Chris Ward
Web Developer
ICO3 Limited
Tamar Science Park
Davy Rd
Plymouth
01752 764400


-Original Message-

Hi Chris,

if you already used ant fresh_install and want to use it again run ant
clean_database to clear the db and then ant fresh_install.

If you successfully set up a fresh install and want to update it use
ant update and/or ant init_configs.

Hope that helps

Claudia J?rgen


Chris Ward schrieb:
 I have been following this wiki:
 http://wiki.dspace.org/index.php/Installing_DSpace_1.5_on_Ubuntu_8.04

 I have edited dspace/config/dspace.cfg to add in my postgresql settings
 I have then gone to dspace and run 'mvn package' which downloadeds a log of 
 jar
 files and says complete


 [WARNING] Using platform 

Re: [Dspace-tech] Access and privacy in submssion process

2009-08-17 Thread Tim Donohue
Fabricio,

That Access and Privacy step in IDEALS is a completely custom step 
we've created locally (using the Configurable Submission) for the XMLUI 
(it does not work for the JSPUI at this time).

That step does a few things.  First off, it allows an embargo to be set 
on an item (essentially, our custom embargo functionality is a hack 
which just temporarily withdrawals an item, and then reinstates it after 
a period of time).   It also makes small modifications to the core 
DSpace API to set access restrictions on the item (if selected by the 
submitter).

Overall, this is a very complex change to DSpace as it requires an extra 
database table (to support embargo functionality), and direct 
modifications to the core DSpace API (to support access restriction 
options).

If you have the tech staff to support it, I would be willing to send you 
the code we've used to make this happen.  However, I cannot promise any 
additional support at this time, as the code is completely custom and 
based on our local needs at Illinois.

I am hoping that eventually this code could be part of DSpace 
out-of-the-box, but I've waited on submitting it since different embargo 
functionality is currently being built into DSpace, planned for the 1.6 
release.  So, as soon as 1.6 is released, we will be modifying this code 
to work with the upcoming embargo functionality.

Let me know if you have any additional questions,

- Tim


Fabricio Costa wrote:
 Hi,
 
  
 
 I saw some Dspace instances on web that are using a different step in 
 submssion process.
 
  
 
 For example, at IDEALS, it’s called Access and Privacy and permits 
 restricting access to item when submiting it.
 
  
 
 Anyone could explain how to do it?
 
  
 
 Here’s a sample image: 
 https://services.ideals.uiuc.edu/wiki/pub/IDEALS/IDEALSHelpPage/groupRestrict.png
 
  
 
 Thanks,
 
  
 
 Fabricio Costa
 
 
 
 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 
 
 
 
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
Tim Donohue
Research Programmer, IDEALS
http://www.ideals.uiuc.edu/
University of Illinois
tdono...@illinois.edu | (217) 333-4648

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] problem installing dspace

2009-08-17 Thread Chris Ward
I have edited /etc/tomcat5.5/server.xml to set the appBase to be dspace/webapps.dspace.url = "">dspace.name = DSpace at My Universitythere no no log files in /usr/share/tomcat5-5/logs, and i did find my catellina.out in /var/log/tomcat5.5 but it was blank.any ideas?Chris


  

  
  http://www.ico3.com
ch...@ico3.com
Chris Ward
Web Developer
ICO3 Limited
Tamar Science Park
Davy Rd
Plymouth
01752 764400
  
-Original Message-








Hi Chris,

Good, that's a start...

Tell us a little more: how and where have you assigned the webapps to be /dspace/webapps? There are many different ways of doing this. What's your dspace.url and dspace.name values in your dspace.cfg file? Also, check [tomcat_home]/logs/catalina.out for any error messages which seem related to this and post a copy to the list.

Cheers
Gary


/**
* @author Gary Browne
* @position Development Programmer
* @location Sydney University Library
* @return 9351 5946
* @deprecated Not yet
* @since 1968
**/



-Original Message-
From: Chris Ward [mailto:ch...@ico3.com]
Sent: Mon 8/17/2009 18:09
To: Gary Browne
Cc: dspace-tech@lists.sourceforge.net
Subject: RE: RE: [Dspace-tech] problem installing dspace

That worked! Thank you for your help. strange that all it was, was the dbname. weird that ait half installed and failed with a unhelpful error.


Now, i get a white page. i think my tomcat may be broken. ( have assigned the webapps to be /dspace/webapps)

the page is:
http://78.129.197.42:8080/

it either gets 'the connection was reset' or a white page with no source.

anyone got an idea?

Chris



http://www.ico3.com/images/ICO3_Logo.gif

http://www.ico3.com
ch...@ico3.com

 Chris Ward
Web Developer
ICO3 Limited
Tamar Science Park
Davy Rd
Plymouth
01752 764400


-Original Message-



Hi Chris,

AFAIA, the only two allowed values for db.name are "postgres" or "oracle". The actual name of your dspace database is spelt out in the db.url parameter. Can you confirm that this is the case?

Cheers
Gary




-Original Message-
From: Chris Ward [mailto:ch...@ico3.com]
Sent: Fri 8/14/2009 19:33
To: claudia.juer...@ub.tu-dortmund.de
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] problem installing dspace



I have not got a dspace install, i am installing a new fresh copy.

running ant clean_database game me the following:
clean_database:
 [java] 2009-08-14 09:29:23,804 INFO org.dspace.core.ConfigurationManager @ Loading system provided config property (-Ddspace.configuration): config/dspace.cfg
 [java] 2009-08-14 09:29:23,814 INFO org.dspace.core.ConfigurationManager @ Using default log4j provided log configuration,if uninitended, check your dspace.cfg for (log.init.config)
 [java] 2009-08-14 09:29:23,814 INFO org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
 [java] 2009-08-14 09:29:24,009 ERROR org.dspace.storage.rdbms.InitializeDatabase @ The configuration for db.name is either invalid, or contains an unrecognised database
 [java] org.dspace.browse.BrowseException: The configuration for db .name is either invalid, or contains an unrecognised database
 [java] at org.dspace.browse.BrowseDAOFactory.getCreateInstance(BrowseDAOFactory.java:101)
 [java] at org.dspace.browse.IndexBrowse.(IndexBrowse.java:153)
 [java] at org.dspace.browse.IndexBrowse.(IndexBrowse.java:131)
 [java] at org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:83)
 [java] 2009-08-14 09:29:24,011 FATAL org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:
 [java] java.lang.RuntimeException: The configuration for db.name is either invalid, or contains an unrecognised database
 [java] at org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:91) br [java] Caused by: org.dspace.browse.BrowseException: The configuration for db.name is either invalid, or contains an unrecognised database
 [java] at org.dspace.browse.BrowseDAOFactory.getCreateInstance(BrowseDAOFactory.java:101)
 [java] at org.dspace.browse.IndexBrowse.(IndexBrowse.java:153)
 [java] at org.dspace.browse.IndexBrowse.(IndexBrowse.java:131)
 [java] at org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:83)


it mentions soem erros in my sspace.cfg, btu the details in there are correct for the database. and when i use the fresh_install i get warnings saying the table already exists. why does the install script get access to the db but not the clean_database one?

Chris


http://www.ico3.com/images/ICO3_Logo.gif

http://www.ico3.com
ch...@ico3.com

 Chris Ward
Web Developer
ICO3 Limited
Tamar Science Park
Davy Rd
Plymouth
01752 764400


-Original Message-

Hi Chris,

if you already used ant fresh_install and want to use it again run ant
clean_database to clear the db and then ant fresh_install.

If you successfully set up a fresh install and want to update it use
ant update and/or ant init_configs.

Hope that helps

Claudia J?rgen


Chris Ward schrieb:
 I have been 

Re: [Dspace-tech] scientific formulas do not appear as they are when uploaded

2009-08-17 Thread Stuart Lewis
Hi,

Please could you explain your problem further. Are the formulas held in
documents that you upload during submission? If so, these documents are not
touched by DSpace, and are stored verbatim, and as such should come out
exactly the same as they go in.

Or are you doing something like copying and pasting abstracts from PDF files
into the DSpace submission forms, and the formulas are getting lost? If so,
that is possibly because the formulas are not stored in plain text that can
be pasted into form fields.

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/



On 18/08/09 12:01 AM, Morupisi, Maitumelo
morupisi.maitum...@mopipi.ub.bw wrote:

 
 We have a problem uploading documents with scientific formulas. They do
 not appear as they are in the original.
 
 Regards
 
 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] scientific formulas do not appear as they are when uploaded

2009-08-17 Thread stuart yeates
Morupisi, Maitumelo wrote:
 We have a problem uploading documents with scientific formulas. They do
 not appear as they are in the original.

If your formulas are in the metadata fields and they contain unicode 
supplementary characters, you may be out of luck. This is a 
long-standing issue that also affects some more obscure natural 
languages / scripts (we run into it with Linear B).

See: http://issues.apache.org/jira/browse/LUCENE-1689

cheers
stuart
-- 
Stuart Yeates
http://www.nzetc.org/   New Zealand Electronic Text Centre
http://researcharchive.vuw.ac.nz/ Institutional Repository

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] map file contention?

2009-08-17 Thread Van Ly
Hi,

I have two components sharing a filesystem where package directories  
are put for batch import. The first component from whence packages  
originate has only the following relevant directories

  import/
  failed/
  success/
  success/Log/

and the files

  handle.map ; import.map

When the second component (dspace) has ingested a batch import  
package, the state is communicated in those files.

handle.map has a two column blank separated format having column  
contents package_name and handle_number

  # for instance, handle.map has
  1234x56789 123456789/4
  1234x9 123456789/9

import.map expands handle.map with file index and pathname

  # for instance, import.map has
  1234x56789.1 123456789/4/1/ë.pdf
  1234x9.1 123456789/9/1/ëë.pdf
  1234x9.2 123456789/9/2/sëë.pdf

handle.map has 40,000+ lines
import.map has 50,000+ lines

I'm concerned that these map files could be `in contention' when,  
simultaneously, the first component wants to read and the second  
wants to update. Is there a problem? if yes, how to avert? I can  
think of

1. using a lockfile for access control

2. using a database table in place of those map files, at what point
do the line size of the files require this?

Thanks in advance.

Van Ly
vly at usyd dot edu dot au





--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] ant fresh_install error

2009-08-17 Thread Emilios Hadjiprokopi
Now it works. 

 

Thanks a lot. 

 

Also I have changed the TOMCAT_USER=dspace back to TOMCAT_USER=tomcat
since it gave me an error. 

 

 

  _  

From: Lewatle Phaladi [mailto:lewatle.phal...@wits.ac.za] 
Sent: Friday, August 07, 2009 2:49 PM
To: Emilios Hadjiprokopi; dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] ant fresh_install error

 

use

sudo ant update
or
# ant update

then :
sudo chown dspace [dspace]/webapps
cd [dspace]/webapps
cp -r jspui xmlui  tomcat/webapps

tomcat/webapps = location of your tomcat like on my system is
/usr/local/tomcat/webapps

sudo service tomcat restart

i hope that will help



-Original Message-
From: Emilios Hadjiprokopi [mailto:hadjiprokopi.emil...@ucy.ac.cy]
Sent: Fri 8/7/2009 1:24 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] ant fresh_install error

I am getting the following error when I am runninh ant fresh_install

 [java] 2009-08-07 14:30:46,031 WARN
org.dspace.storage.rdbms.DatabaseManager @ Got SQL Exception:
org.postgresql.util.PSQLException: ERROR: duplicate key value violates
unique constraint checksum_results_pkey

 [java] org.postgresql.util.PSQLException: ERROR: duplicate key value
violates unique constraint checksum_results_pkey  

I have comment out in pg_hba.conf   

#hostall all 127.0.0.1/32 ident sameuser

I have also change TOMCAT_USER=dspace in tomcat6.conf

I am login as dspace user.

A hint will be helpfull as for what the error might be.

Thanks

   


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech



This communication is intended for the addressee only. It is confidential.
If you have received this communication in error, please notify us
immediately and destroy the original message. You may not copy or
disseminate this communication without the permission of the University.
Only authorized signatories are competent to enter into agreements on behalf
of the University and recipients are thus advised that the content of this
message may not be legally binding on the University and may contain the
personal views and opinions of the author, which are not necessarily the
views and opinions of The University of the Witwatersrand, Johannesburg. All
agreements between the University and outsiders are subject to South African
Law unless the University agrees in writing to the contrary.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech