[Dspace-tech] Why DSpace serves some files as attachments?

2014-01-23 Thread Evgeni Dimitrov
The Response header is bellow.
When and why is a file served as attachment?
Is this configurable?

=
Response Headers  view source
Content-Dispositionattachment;filename=bookPDF2.pdf
Content-Languagebg
Content-Length18846023
Content-Typeapplication/pdf
DateThu, 23 Jan 2014 08:25:22 GMT
ExpiresThu, 23 Jan 2014 09:25:22 GMT
Last-ModifiedTue, 21 Jan 2014 20:13:43 GMT
ServerApache-Coyote/1.1
VaryUser-Agent
X-Cocoon-Version2.2.0

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Why DSpace serves some files as attachments?

2014-01-23 Thread SUZUKI Keiji
Hi Evgeni,

When the size of a file exceeds the threshold, the file will be attached.
Default threshold  size is 8MB and it is configurable.
The property in dspace.cfg is;

for XMLUI: xmlui.content_disposition_threshold
for JSPUI: webui.content_disposition_threshold

See the manual for the detail,

https://wiki.duraspace.org/display/DSDOC4x/Configuration+Reference#ConfigurationReference-ContentInlineDispositionThreshold

Keiji Suzuki
Ebetsu, Japan

2014/1/23 Evgeni Dimitrov dimitrove@gmail.com:
 The Response header is bellow.
 When and why is a file served as attachment?
 Is this configurable?

 =
 Response Headers  view source
 Content-Dispositionattachment;filename=bookPDF2.pdf
 Content-Languagebg
 Content-Length18846023
 Content-Typeapplication/pdf
 DateThu, 23 Jan 2014 08:25:22 GMT
 ExpiresThu, 23 Jan 2014 09:25:22 GMT
 Last-ModifiedTue, 21 Jan 2014 20:13:43 GMT
 ServerApache-Coyote/1.1
 VaryUser-Agent
 X-Cocoon-Version2.2.0

 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments  Everything In Between.
 Get a Quote or Start a Free Trial Today.
 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] DOI DATACITE

2014-01-23 Thread Becker, Pascal-Nicolas
Hi Massimiliano,

as written in the DSpace Documentation DSpace uses an asynchronous approach to 
register DOIs. Whenever DSpace wants to reserver/register a DOI, it just writes 
in the DOI table what should be done. The doi-organiser does the real work (by 
sending one or multiple requests to datacite, containing the metadata and the 
information if a doi should be reserved, registered, ...). So to send your 
registration request to DataCite, you have to run the doi-organiser as 
described here: 
https://wiki.duraspace.org/display/DSDOC4x/DOI+Digital+Object+Identifier#DOIDigitalObjectIdentifier-%27cron%27jobforasynchronousreservation/registration
To test it, you can start these commands manually on the command line. For 
regular use I would suggest a cronjob.

It's up to you to decide how often the doi-organiser should be triggered by the 
cronjob. The decision you have to make is how much time is acceptable for you 
between the moment DSpace adds a DOI to the metadata of an item and the moment 
the DOI is functional (registered). I would make this decision depending on the 
number of submissions you have per day. On smaller repositories it should be 
acceptable to run the doi-organsier perhaps twice a doi. But if you want to, 
you can run it more often, f.e. every 15 minutes...

The reason we did it this way, is to ensure that DSpace is still working even 
if DataCite should have some down time...

Did this helps you? What happens if you run [dspace]/bin/dspace doi-organiser 
-u?

Regards,
  Pascal


From: Massimiliano Cilurzo [mailto:mcilu...@unisa.it]
Sent: Thursday, January 23, 2014 8:46 AM
To: dspace-tech@lists.sourceforge.net; Becker, Pascal-Nicolas
Subject: R: [Dspace-tech] DOI DATACITE

Hi Pascal,
  I have executed dspace doi-organiser in the wrong directory.
When I execute bin/dspace doi-organiser -l?
The system answer is:

There are no DOIs queued for reservation.

There are no DOIs queued for registration.

DOIs queued for update:
doi:10.,10.5072/unisa-1 (belongs to item with handle 123456789/479)
doi:10.x,10.5072/un-2 (belongs to item with handle 123456789/480)
doi:10.x,10.5072/unisa-3 (belongs to item with handle 123456789/481)
doi:10.,10.5072/unisa-4 (belongs to item with handle 123456789/482)
doi: 10.5072/unisa-5 (belongs to item with handle 123456789/485)
doi: 10.5072/unisa-6 (belongs to item with handle 123456789/486)

There are no DOIs queued for deletion.
When I go in the Datacite site, I can't see any of this item.
Thanks
Kind regards
Massimiliano



Da: Becker, Pascal-Nicolas [mailto:p.bec...@tu-berlin.de]
Inviato: venerdì 17 gennaio 2014 16:56
A: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net
Cc: Massimiliano Cilurzo
Oggetto: RE: [Dspace-tech] DOI DATACITE

Hi Massimiliano,

did you entered into a contract with a DOI registration agency? Did they 
provide you a username, a password and a (test-)prefix? Are you sure, they want 
you to use the DataCite API directly?

If you followed the instructions in the documentation, DSpace should mint DOIs 
whenever new items gets published into the repository. With publish I mean 
that the item is part of your repository, can be found using the normal search, 
and is not waiting for the user to finish the submission or for an 
administrator to accept it. The DOI is stored as metadata value of the item in 
the field dc.identifier.uri. So If you take a look on the published item you 
should find it there. As the documentation describes DSpace uses an 
asynchronous mechanism to register DOIs. Using the command line interface 
(https://wiki.duraspace.org/display/DSDOC4x/DOI+Digital+Object+Identifier#DOIDigitalObjectIdentifier-CommandLineInterface)
 you can list all DOIs waiting for reservation and/or registration. So, do you 
already have published an item after you configured DSpace to use DOIs? What 
happens if you executes [dspace-install]/bin/dspace doi-organiser -l?

Regards,
  Pascal


From: Massimiliano Cilurzo [mailto:mcilu...@unisa.it]
Sent: Friday, January 17, 2014 12:25 PM
To: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] DOI DATACITE

Hi All,

 We have installed in a test server DSPACE 4.0, we have configured it for 
the use of DOI from DATACITE.
We followed the guide line at 
https://wiki.duraspace.org/display/DSDOC4x/DOI+Digital+Object+Identifier
But now I wonder how we can test if.
Could someone give an help?
Thanks
Best regards
Massimiliano Cilurzo
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
DSpace-tech mailing list

[Dspace-tech] R: DOI DATACITE

2014-01-23 Thread Massimiliano Cilurzo
Hi Pascal,

Thanks for your help now I’m understanding how it works.

When I execute [dspace]/bin/dspace doi-organiser –u the answer is this:

Unable to send email alert.

It wasn't possible to update this identifier: doi:10.142xx,10.5072/unisa-1

Unable to send email alert.

It wasn't possible to update this identifier: doi:10.142xx,10.5072/unisa-2

Unable to send email alert.

It wasn't possible to update this identifier: doi:10.142xx,10.5072/unisa-3

Unable to send email alert.

It wasn't possible to update this identifier: doi:10.142xx,10.5072/unisa-4

Unable to send email alert.

It wasn't possible to update this identifier: doi:10.142xx/unisa-5

Unable to send email alert.

It wasn't possible to update this identifier: doi:10.142xx/unisa-6

 

Da: Becker, Pascal-Nicolas [mailto:p.bec...@tu-berlin.de] 
Inviato: giovedì 23 gennaio 2014 13:00
A: dspace-tech@lists.sourceforge.net
Cc: Massimiliano Cilurzo
Oggetto: RE: [Dspace-tech] DOI DATACITE

 

Hi Massimiliano,

 

as written in the DSpace Documentation DSpace uses an asynchronous approach
to register DOIs. Whenever DSpace wants to reserver/register a DOI, it just
writes in the DOI table what should be done. The doi-organiser does the real
work (by sending one or multiple requests to datacite, containing the
metadata and the information if a doi should be reserved, registered, …). So
to send your registration request to DataCite, you have to run the
doi-organiser as described here:
https://wiki.duraspace.org/display/DSDOC4x/DOI+Digital+Object+Identifier#DOI
DigitalObjectIdentifier-%27cron%27jobforasynchronousreservation/registration

To test it, you can start these commands manually on the command line. For
regular use I would suggest a cronjob.

 

It’s up to you to decide how often the doi-organiser should be triggered by
the cronjob. The decision you have to make is how much time is acceptable
for you between the moment DSpace adds a DOI to the metadata of an item and
the moment the DOI is functional (registered). I would make this decision
depending on the number of submissions you have per day. On smaller
repositories it should be acceptable to run the doi-organsier perhaps twice
a doi. But if you want to, you can run it more often, f.e. every 15 minutes…

 

The reason we did it this way, is to ensure that DSpace is still working
even if DataCite should have some down time…

 

Did this helps you? What happens if you run [dspace]/bin/dspace
doi-organiser –u?

 

Regards,

  Pascal

 

 

From: Massimiliano Cilurzo [mailto:mcilu...@unisa.it] 
Sent: Thursday, January 23, 2014 8:46 AM
To: dspace-tech@lists.sourceforge.net; Becker, Pascal-Nicolas
Subject: R: [Dspace-tech] DOI DATACITE

 

Hi Pascal, 

  I have executed dspace doi-organiser in the wrong directory.

When I execute bin/dspace doi-organiser -l?

The system answer is:

 

There are no DOIs queued for reservation.

 

There are no DOIs queued for registration.

 

DOIs queued for update: 

doi:10.,10.5072/unisa-1 (belongs to item with handle 123456789/479)

doi:10.x,10.5072/un-2 (belongs to item with handle 123456789/480)

doi:10.x,10.5072/unisa-3 (belongs to item with handle 123456789/481)

doi:10.,10.5072/unisa-4 (belongs to item with handle 123456789/482)

doi: 10.5072/unisa-5 (belongs to item with handle 123456789/485)

doi: 10.5072/unisa-6 (belongs to item with handle 123456789/486)

 

There are no DOIs queued for deletion.

When I go in the Datacite site, I can’t see any of this item.

Thanks

Kind regards

Massimiliano

 

 

 

Da: Becker, Pascal-Nicolas [mailto:p.bec...@tu-berlin.de] 
Inviato: venerdì 17 gennaio 2014 16:56
A: dspace-tech@lists.sourceforge.net
Cc: Massimiliano Cilurzo
Oggetto: RE: [Dspace-tech] DOI DATACITE

 

Hi Massimiliano,

 

did you entered into a contract with a DOI registration agency? Did they
provide you a username, a password and a (test-)prefix? Are you sure, they
want you to use the DataCite API directly?

 

If you followed the instructions in the documentation, DSpace should mint
DOIs whenever new items gets published into the repository. With “publish” I
mean that the item is part of your repository, can be found using the normal
search, and is not waiting for the user to finish the submission or for an
administrator to accept it. The DOI is stored as metadata value of the item
in the field dc.identifier.uri. So If you take a look on the published item
you should find it there. As the documentation describes DSpace uses an
asynchronous mechanism to register DOIs. Using the command line interface
(https://wiki.duraspace.org/display/DSDOC4x/DOI+Digital+Object+Identifier#DO
IDigitalObjectIdentifier-CommandLineInterface) you can list all DOIs waiting
for reservation and/or registration. So, do you already have published an
item after you configured DSpace to use DOIs? What happens if you executes
[dspace-install]/bin/dspace doi-organiser -l?

 

Regards,

  Pascal

 

 

From: Massimiliano Cilurzo 

Re: [Dspace-tech] Customize messages.xml files

2014-01-23 Thread Carlos Walter Blandon Alvarez
Hi all.

We resolved this case. We review the correct XML structure of messages_es.xml 
file, closing xml tags correctly. Recommend using the right software for 
editing XML files or essential-as oXygen XML. Thanks to Emilio Lorenzo for the 
help.


Best regards,

Walter Blandón
Gestión Tecnológica y Proyectos
Centro Cultural Biblioteca Luis Echavarría Villegas
Universidad EAFIT, Medellín, Colombia
Carrera 49 No. 7 Sur-50, Av. Las Vegas
Tel: (57)(4)2619500 ext. 9365
http://www.eafit.edu.co/biblioteca

De: Carlos Walter Blandon Alvarez [mailto:cblan...@eafit.edu.co]
Enviado el: jueves, 16 de enero de 2014 11:03 a.m.
Para: Oscar Sanchez Gomez
CC: DSpace-tech@lists.sourceforge.net
Asunto: Re: [Dspace-tech] Customize messages.xml files

Hi Oscar.

Currently we have the same problem. In the initial installation of DSpace 4.0 
with XMLUI interface and Mirage Theme, was with Spanish language (es) but after 
restart TOMCAT it changed to English language (en). I modified messages_es.xml 
file and then I rebuild DSPACE but still with the English language by default. 
In dspace.cfg is configured with the options to the Spanish language (es).

could you fix this?


Best regards,

Walter Blandón
Gestión Tecnológica y Proyectos
Centro Cultural Biblioteca Luis Echavarría Villegas
Universidad EAFIT, Medellín, Colombia
Carrera 49 No. 7 Sur-50, Av. Las Vegas
Tel: (57)(4)2619500 ext. 9365
http://www.eafit.edu.co/biblioteca

De: Oscar Sanchez Gomez [mailto:osanc...@itcr.ac.cr]
Enviado el: viernes, 20 de diciembre de 2013 12:20 p.m.
Para: 
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
Asunto: [Dspace-tech] Customize messages.xml files

Hi all,
I install Dspace 4.0 and for now it Works well, but when I try to customize the 
i18n messages files the application set its default to messages.xml (default 
English language). As a proof, I only modify the parameter:
message key=xmlui.dri2xhtml.structural.head-subtitleRepositorio Dspace 
versión 4.0/message in the messages_es.xml. Also create a locale 
messages_es_CR.xml and do the same change. The result is that the Mirage 
interface returns to English version of the messages.xml file.

Does anybody know what is happen?


Ing. Oscar Sánchez G., MAE
Profesional en TI
Biblioteca José Figueres Ferrer
Instituto Tecnológico de Costa Rica
*  Tel: 2550-2135
7   Fax: 2591-4820
*  Apdo Postal:  159-7050

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] assetstore

2014-01-23 Thread DeMatteo, Stacy (CIV)
It is actually our development server.

Stacy DeMatteo
Library Systems Manager, Dudley Knox Library
Naval Postgraduate School, Monterey, CA
831-656-7708
scdem...@nps.edu



From: Hilton Gibson hilton.gib...@gmail.commailto:hilton.gib...@gmail.com
Date: Wednesday, January 22, 2014 1:23 PM
To: Microsoft Office User scdem...@nps.edumailto:scdem...@nps.edu
Cc: 
dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net 
dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] assetstore

And I assume this is your repository URL: http://calhoun.nps.edu

Hilton Gibson
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson


On 22 January 2014 23:10, DeMatteo, Stacy (CIV) 
scdem...@nps.edumailto:scdem...@nps.edu wrote:
Hello,

I am unable to upload any files, I confirmed I have no more server space and it 
appears I am maxed out in the assetstore directory.  How do I fix this any 
suggestions would be extremely helpful.

Thanks,
Stacy


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Error Ingesting a single METS package previously Disseminated as METS

2014-01-23 Thread Tim Donohue
Hi Sante,

I've looked into this issue a bit this morning. It looks like a minor 
(but annoying) bug which affects the METS export format. I've created 
a new ticket which describes this bug (and what I *believe* is the fix, 
though it's unverified as of yet):

https://jira.duraspace.org/browse/DS-1879

It looks like this bug should *not* affect exports/imports using the 
DSpace AIP format (which is also METS-based). It only will affect 
exports/imports using the more simplistic METS format.

So, as a workaround, you could use the AIP export/import format instead 
of the METS one. More information on AIP export/import is in the 
documentation at:

https://wiki.duraspace.org/display/DSDOC4x/AIP+Backup+and+Restore

(It's also linked from the documentation page you had referenced: 
https://wiki.duraspace.org/display/DSDOC4x/Importing+and+Exporting+Content+via+Packages
 
)

- Tim


On 1/23/2014 2:42 AM, Sante Filice wrote:
 Hi all,
 first of all I congratulate with the DSpace team for the great job they
 are doing.

 I am just playing with the last DSpace 4.0 Release compiled from source
 and I get an error when I want to ingest a METS package previously
 disseminated as METS by the same DSpace installation. I am following the
 documentation at
 https://wiki.duraspace.org/display/DSDOC4x/Importing+and+Exporting+Content+via+Packages.

 This is the sequence of my actions:
 1) I submitted from the xmlui the Dspace manual that anybody can find at
 dspace-4.0-src-release/dspace/docs/DSpace-Manual.pdf

 2) The identifier assigned to the submitted file is 123456789/7 .

 3) I ran [dspace]/bin/dspace packager -d -e dsp...@myuni.it
 mailto:dsp...@myuni.it -i 123456789/7 -t METS
 C:/export-dspace-manual.zip  (the result of the export is attached to
 this email)

 4) I created a new collection. The identifier of the collection is
 123456789/9

 5) I ran [dspace]/bin/dspace packager -e dsp...@myuni.it
 mailto:dsp...@myuni.it -p 123456789/9 -t METS
 C:/export-dspace-manual.zipand got the following error message:

 org.dspace.content.packager.PackageValidationException: Invalid METS
 Manifest: f
 ile element without ID attribute.
  at
 org.dspace.content.packager.AbstractMETSIngester.addBitstreams(Abstra
 ctMETSIngester.java:850)
  at
 org.dspace.content.packager.AbstractMETSIngester.ingestObject(Abstrac
 tMETSIngester.java:500)
  at
 org.dspace.content.packager.AbstractMETSIngester.ingest(AbstractMETSI
 ngester.java:234)
  at org.dspace.app.packager.Packager.ingest(Packager.java:565)
  at org.dspace.app.packager.Packager.main(Packager.java:427)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at
 org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.j
 ava:225)
  at
 org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)
 org.dspace.content.packager.PackageValidationException: Invalid METS
 Manifest: f
 ile element without ID attribute.

 Also running with other options like: -r -f to replace the item in the
 same collection generates the same error.

 I would like to ask you: am I doing something wrong? Do you think there
 is an implementation error in the AbstractMETSIngester?

 My software versions:
 DSpace 4.0 Release compiled from source
 JDK and JRE 1.6.0_45
 WinXP
 Tomcat 6.0.37
 PostgreSQL 9.2


 Many thanks

 Cheer

 Sante


 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments  Everything In Between.
 Get a Quote or Start a Free Trial Today.
 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk



 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] DOI DATACITE

2014-01-23 Thread Becker, Pascal-Nicolas
Hi Massimiliano,

you're on the right way, but there is still some error. What does the 
doi-organiser writes into [dpsace]/logs/dspace.logs?

Regards,
  Pascal

From: Massimiliano Cilurzo [mailto:mcilu...@unisa.it]
Sent: Thursday, January 23, 2014 1:09 PM
To: Becker, Pascal-Nicolas; dspace-tech@lists.sourceforge.net
Subject: R: [Dspace-tech] DOI DATACITE

Hi Pascal,
Thanks for your help now I'm understanding how it works.
When I execute [dspace]/bin/dspace doi-organiser -u the answer is this:
Unable to send email alert.
It wasn't possible to update this identifier: doi:10.142xx,10.5072/unisa-1
Unable to send email alert.
It wasn't possible to update this identifier: doi:10.142xx,10.5072/unisa-2
Unable to send email alert.
It wasn't possible to update this identifier: doi:10.142xx,10.5072/unisa-3
Unable to send email alert.
It wasn't possible to update this identifier: doi:10.142xx,10.5072/unisa-4
Unable to send email alert.
It wasn't possible to update this identifier: doi:10.142xx/unisa-5
Unable to send email alert.
It wasn't possible to update this identifier: doi:10.142xx/unisa-6

Da: Becker, Pascal-Nicolas [mailto:p.bec...@tu-berlin.de]
Inviato: giovedì 23 gennaio 2014 13:00
A: dspace-tech@lists.sourceforge.net
Cc: Massimiliano Cilurzo
Oggetto: RE: [Dspace-tech] DOI DATACITE

Hi Massimiliano,

as written in the DSpace Documentation DSpace uses an asynchronous approach to 
register DOIs. Whenever DSpace wants to reserver/register a DOI, it just writes 
in the DOI table what should be done. The doi-organiser does the real work (by 
sending one or multiple requests to datacite, containing the metadata and the 
information if a doi should be reserved, registered, ...). So to send your 
registration request to DataCite, you have to run the doi-organiser as 
described here: 
https://wiki.duraspace.org/display/DSDOC4x/DOI+Digital+Object+Identifier#DOIDigitalObjectIdentifier-%27cron%27jobforasynchronousreservation/registration
To test it, you can start these commands manually on the command line. For 
regular use I would suggest a cronjob.

It's up to you to decide how often the doi-organiser should be triggered by the 
cronjob. The decision you have to make is how much time is acceptable for you 
between the moment DSpace adds a DOI to the metadata of an item and the moment 
the DOI is functional (registered). I would make this decision depending on the 
number of submissions you have per day. On smaller repositories it should be 
acceptable to run the doi-organsier perhaps twice a doi. But if you want to, 
you can run it more often, f.e. every 15 minutes...

The reason we did it this way, is to ensure that DSpace is still working even 
if DataCite should have some down time...

Did this helps you? What happens if you run [dspace]/bin/dspace doi-organiser 
-u?

Regards,
  Pascal


From: Massimiliano Cilurzo [mailto:mcilu...@unisa.it]
Sent: Thursday, January 23, 2014 8:46 AM
To: 
dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net; 
Becker, Pascal-Nicolas
Subject: R: [Dspace-tech] DOI DATACITE

Hi Pascal,
  I have executed dspace doi-organiser in the wrong directory.
When I execute bin/dspace doi-organiser -l?
The system answer is:

There are no DOIs queued for reservation.

There are no DOIs queued for registration.

DOIs queued for update:
doi:10.,10.5072/unisa-1 (belongs to item with handle 123456789/479)
doi:10.x,10.5072/un-2 (belongs to item with handle 123456789/480)
doi:10.x,10.5072/unisa-3 (belongs to item with handle 123456789/481)
doi:10.,10.5072/unisa-4 (belongs to item with handle 123456789/482)
doi: 10.5072/unisa-5 (belongs to item with handle 123456789/485)
doi: 10.5072/unisa-6 (belongs to item with handle 123456789/486)

There are no DOIs queued for deletion.
When I go in the Datacite site, I can't see any of this item.
Thanks
Kind regards
Massimiliano



Da: Becker, Pascal-Nicolas [mailto:p.bec...@tu-berlin.de]
Inviato: venerdì 17 gennaio 2014 16:56
A: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net
Cc: Massimiliano Cilurzo
Oggetto: RE: [Dspace-tech] DOI DATACITE

Hi Massimiliano,

did you entered into a contract with a DOI registration agency? Did they 
provide you a username, a password and a (test-)prefix? Are you sure, they want 
you to use the DataCite API directly?

If you followed the instructions in the documentation, DSpace should mint DOIs 
whenever new items gets published into the repository. With publish I mean 
that the item is part of your repository, can be found using the normal search, 
and is not waiting for the user to finish the submission or for an 
administrator to accept it. The DOI is stored as metadata value of the item in 
the field dc.identifier.uri. So If you take a look on the published item you 
should find it there. As the documentation describes DSpace uses an 
asynchronous mechanism to register DOIs. Using the command line interface 

[Dspace-tech] Restoring Backed up Dspace files

2014-01-23 Thread Eric Martyns
Hi,
i had a fire incident that destroyed our dspace server,
we were able to extract some files from the server.
right now we installed the dspace 4.0 but we have a challenge of moving
these file
to the new dspace 4.0 so we can see what's in them.

we initially had the 1.8 version

How do we migrate these data to the new dspace installed

here is one of the files pulled out and its content,
dspace folder containing
3assetstore
assetstore
bin
config
dspace-config
etc
export
handle-server
lib
log
report
search
sitemap
solr
upload
vacuumdb
webapps



Thanks
Best Regards
Martyns Eric
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Restoring Backed up Dspace files

2014-01-23 Thread Stuart Yeates
Do you also have a backup of the SQL database used to store the item metadata? 
Exactly what that looks like and where it's stored will depend on the database 
you use and how you've been backing it up.

Cheers
stuart

From: Eric Martyns [mailto:martynse...@gmail.com]
Sent: Friday, 24 January 2014 10:31 a.m.
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Restoring Backed up Dspace files

Hi,
i had a fire incident that destroyed our dspace server,
we were able to extract some files from the server.
right now we installed the dspace 4.0 but we have a challenge of moving these 
file
to the new dspace 4.0 so we can see what's in them.
we initially had the 1.8 version

How do we migrate these data to the new dspace installed
here is one of the files pulled out and its content,
dspace folder containing
3assetstore
assetstore
bin
config
dspace-config
etc
export
handle-server
lib
log
report
search
sitemap
solr
upload
vacuumdb
webapps


Thanks
Best Regards
Martyns Eric
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] More enterprise deployment questions

2014-01-23 Thread Andrew Reid

  Hi again all --

  I'm continuing to struggle with complying with enterprise security
policy.  I am using DSpace 3.2, serving xmlui, with the 
Apache JSPUI connector.  

  I have two new requirements I have to try to comply with.

  The first is, the security folks would like me to not expose
tracebacks when Java errors occur.  I have followed various 
web guidelines for redirecting errors to a static error page, but 
I can't seem to figure out how to get dspace/xmlui to direct to it.

  I put the error page in static/error.html, and when I manually
go to url/dspace/xmlui/error.html, I see my content.

  I then added this stanza:

 error-page
 excpetion-typejava.lang.Throwable/exception-type
 location/error.html/location
 /error-page

  ... to the web.xml file under WEB-INF for the dspace xmlui web app.

  The result of this is that I get HTTP Status 404 from Tomcat
for any nontrivial dspace/xmlui URL, including the log-in page.
(The static URL dspace/xmlui/error.html still works, though!)

  I've tried numerous variations on the path in the location/location
in that stanza, with and without the static part, with and without
the leading slash, and with various other pieces of the path, but
they all give me a Tomact-404.  What's the right way to do this?
I am hoping to be able to show a simple static page, but will be
happy with anything that works.



  The second requirement is, I have been asked to turn off password
autocomplete.  This involves setting 'autocomplete=off' in the 
log-in form, but I am having some difficulty navigating the 
code-base -- I'm looking for a low-intervention way of doing this,
to avoid having my DSpace being too different from the upstream,
and ideally would like to do this *just* for the LDAP log-in form.

  Is there a simple way to do this, or should I just keep looking?

 
  Thanks in advance -- as you may have discerned, I'm more of a 
sysadmin, my Java and Tomcat skills are not as strong as they maybe
should be for this kind of thing.

-- A.
-- 
Dr. Andrew C. E. Reid
Physical Scientist, Computer Operations Administrator
Center for Theoretical and Computational Materials Science
National Institute of Standards and Technology, Mail Stop 8555
Gaithersburg MD 20899 USA
andrew.r...@nist.gov

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] More enterprise deployment questions

2014-01-23 Thread Andrew Reid
On Thu, Jan 23, 2014 at 05:50:53PM -0500, Andrew Reid wrote:
 
   Hi again all --
 
   I'm continuing to struggle with complying with enterprise security
 policy.  I am using DSpace 3.2, serving xmlui, with the 
 Apache JSPUI connector.  

  Replying to myself to call out and correct a rather confusing
error there -- I am using the Aapche mod_jk connector.  My DSpace
interface is xmlui.  Jspui is not relevant to this discussion.

-- A.

 
   I have two new requirements I have to try to comply with.
 
   The first is, the security folks would like me to not expose
 tracebacks when Java errors occur.  I have followed various 
 web guidelines for redirecting errors to a static error page, but 
 I can't seem to figure out how to get dspace/xmlui to direct to it.
 
   I put the error page in static/error.html, and when I manually
 go to url/dspace/xmlui/error.html, I see my content.
 
   I then added this stanza:
 
  error-page
  excpetion-typejava.lang.Throwable/exception-type
  location/error.html/location
  /error-page
 
   ... to the web.xml file under WEB-INF for the dspace xmlui web app.
 
   The result of this is that I get HTTP Status 404 from Tomcat
 for any nontrivial dspace/xmlui URL, including the log-in page.
 (The static URL dspace/xmlui/error.html still works, though!)
 
   I've tried numerous variations on the path in the location/location
 in that stanza, with and without the static part, with and without
 the leading slash, and with various other pieces of the path, but
 they all give me a Tomact-404.  What's the right way to do this?
 I am hoping to be able to show a simple static page, but will be
 happy with anything that works.
 
 
 
   The second requirement is, I have been asked to turn off password
 autocomplete.  This involves setting 'autocomplete=off' in the 
 log-in form, but I am having some difficulty navigating the 
 code-base -- I'm looking for a low-intervention way of doing this,
 to avoid having my DSpace being too different from the upstream,
 and ideally would like to do this *just* for the LDAP log-in form.
 
   Is there a simple way to do this, or should I just keep looking?
 
  
   Thanks in advance -- as you may have discerned, I'm more of a 
 sysadmin, my Java and Tomcat skills are not as strong as they maybe
 should be for this kind of thing.
 
   -- A.
 -- 
 Dr. Andrew C. E. Reid
 Physical Scientist, Computer Operations Administrator
 Center for Theoretical and Computational Materials Science
 National Institute of Standards and Technology, Mail Stop 8555
 Gaithersburg MD 20899 USA
 andrew.r...@nist.gov
 
 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments  Everything In Between.
 Get a Quote or Start a Free Trial Today. 
 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

-- 
Dr. Andrew C. E. Reid
Physical Scientist, Computer Operations Administrator
Center for Theoretical and Computational Materials Science
National Institute of Standards and Technology, Mail Stop 8555
Gaithersburg MD 20899 USA
andrew.r...@nist.gov

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Displaying a list of items in a community's collection

2014-01-23 Thread Mary Weppler-Selear


From: Mary Weppler-Selear mweppler-sel...@ucmerced.edu
Sent: Tuesday, January 21, 2014 3:21 PM
To: dspace-tech
Subject: [Dspace-tech] Displaying a list of items in a community's collection

Hello,

I just set up DSpace 3.2, running on VM Fusion.  I recently reinstalled after 
receiving internal system errors when trying to submit items to a collection.  
Now everything is working and I'm able to submit items to collections without 
issue.  However, I'm trying to enable a view which would allow display of all 
items within a collection on the web browser.  Is there a way to do this either 
through the web or the CLI?

Thank you,
Mary

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette