Hello,

In the Dspace 1.6, You now have to use 'dspace' batch and not 'dsrun'.

Cheers


________________________________________
Philippe Thuaud
Intern IT Technical & Development
T +64 7 838 5223
E philippe.thu...@agresearch.co.nz<mailto:philippe.thu...@agresearch.co.nz>

From: Keith Gilbertson [mailto:keith.gilbert...@library.gatech.edu]
Sent: Thursday, 30 September 2010 9:04 a.m.
To: Miguel Pizarro
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] dsrun - batch import

Hello -

Please check which version of Java you are using.  DSpace 1.6 requires the Sun 
Java JDK 5 or later.

--keith

On Sep 29, 2010, at 1:58 PM, Miguel Pizarro wrote:


hi everyone,
I'm trying  to import data to dspace 1.6 using dsrun application.
In dspace 1.4 I don't have problem with this function, but in dspace 1.6 appear 
an error when I execute the follow sentence:

./dsrun org.dspace.app.itemimport.ItemImport -a -e 
dsp...@alerta.cl<mailto:dsp...@alerta.cl> -c "1" -s "/data/carga/root" -m 
"ejemplo_8"
Destination collections:
Owning  Collection: Prueba Carga de colecciones
Adding items from directory: /data/carga/root
Generating mapfile: ejemplo_8
Adding item from directory 000541595
        Loading dublin core from /data/carga/root/000541595/dublin_core.xml
        Schema: dc Element: format Qualifier: medium Value: BK
        Schema: dc Element: identifier Qualifier: code Value: 000541595
        Schema: dc Element: language Qualifier: none Value: spa
        Schema: dc Element: contributor Qualifier: author Value: Bastà as, 
Gabriel
        Schema: dc Element: title Qualifier: none Value: Garantà as explà citas 
en salud (GES) : seis consideraciones para su implementación
        Schema: dc Element: publisher Qualifier: none Value: Pontificia 
Universidad Católica de Chile, Vicerrectorà a de Comunicaciones y Asuntos 
Públicos
        Schema: dc Element: date Qualifier: created Value: 2007
        Schema: dc Element: description Qualifier: none Value: Temas de la 
agenda pública ; Año 2, no. 9
        Schema: dc Element: subject Qualifier: other Value: Reforma en la 
atención de salud - Chile
        Schema: dc Element: subject Qualifier: other Value: Polà tica de salud 
- Chile
        Schema: dc Element: contributor Qualifier: author Value: Andia, Marcelo.

        Schema: dc Element: archivos Qualifier: adjuntos Value: 12.pdf
        Processing contents file: /data/carga/root/000541595/contents
        Bitstream: 12.pdf
Processing handle file: handle
It appears there is no handle file -- generating one
Exception in thread "main" java.lang.NoSuchMethodError: method 
java.lang.String.format with signature 
(Ljava.lang.String;[Ljava.lang.Object;)Ljava.lang.String; was not found.
   at org.dspace.content.DCDate.toStringInternal(DCDate.java:284)
   at org.dspace.content.DCDate.toString(DCDate.java:272)
   at org.dspace.content.InstallItem.installItem(InstallItem.java:112)
   at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:774)
   at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:608)
   at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:500)

Could someone help me?
Thank for your time...


Miguel Pizarro
Soporte Tecnológico
Alerta al Conocimiento
Fono 56 (2) 233 79 08
e-mail: sopo...@alerta.cl<mailto:sopo...@alerta.cl>
Providencia n° 2.040 of. C.
CP: 7510117


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net<mailto:DSpace-tech@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/dspace-tech


=======================================================================
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
=======================================================================
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to