Chris Ward Web Developer ICO3 Limited Tamar Science Park Davy Rd Plymouth 01752 764400 |
Chris Ward Web Developer ICO3 Limited Tamar Science Park Davy Rd Plymouth 01752 764400 |
Cheers
Paul
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.
|
____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
Chris Ward Web Developer ICO3 Limited Tamar Science Park Davy Rd Plymouth 01752 764400 |
Chris Ward Web Developer ICO3 Limited Tamar Science Park Davy Rd Plymouth 01752 764400 |
Chris Ward Web Developer ICO3 Limited Tamar Science Park Davy Rd Plymouth 01752 764400 |
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...@ub.tu-dortmund.de
Cc: dspac...@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>
> /var/lib/tomcat5.5/webapps/dspace-1.5.2-release/dspace/target/dspace-1.5.2-build.dir/build.xml:585:
> 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
> DSpac...@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
>
>
> ------------------------------------------------------------------------
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.
dspace@dspace-desktop:/usr/local/dspace1.5.2/dspace/bin$ sudo ./import -a -e lewatle...@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...@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)
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: dspac...@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
Chris Ward Web Developer ICO3 Limited Tamar Science Park Davy Rd Plymouth 01752 764400 |