Re: [Dspace-tech] DSpace item history data

2011-08-29 Thread Kristian Roberto Salcedo
Hi Tim,

Thanks for taking the time to clarify this.
I'll certainly look into the Vireo system.

kind regards,
Kristian


On Fri, 26 Aug 2011, Tim Donohue wrote:

 Hi Kristian,

 (Copying back in dspace-tech list)

 DSpace stores basic information about who did what on an item (and when) in 
 the 'dc.description.provenance' metadata field.  However, that information is 
 not generated for every update to an item (e.g. metadata updates do not 
 generate provenance at this time).  Unfortunately, DSpace Provenance 
 currently only includes larger Item 'status' changes like:

 * creation - who created  when
 * availability - when it became available to download from DSpace
 * withdraw / reinstate - when it was withdrawn/reinstated  by whom
 * approval / rejection - during an approval workflow, this tracks who 
 approved/rejected the item  when.

 So, out-of-the-box, DSpace unfortunately does not track every single change 
 on an object.

 If you are looking to use DSpace specifically for electronic theses  
 dissertations (ETDs), you might also want to look into the Vireo system 
 (which is built on top of DSpace, but adds custom ETD workflow 
 functionality): http://www.tdl.org/etds

 However, off the top of my head, I'm not sure if Vireo adds much extra 
 provenance information or not. You'd likely want to get in touch with them if 
 this would be of interest.

 - Tim

 On 8/26/2011 2:59 AM, Kristian Roberto Salcedo wrote:
 Hi Tim,
 
 Thanks for the info - What I'm looking for is
 information on what has been done to an item,
 who did it and when :)
 
 Our archive will be handling un-graded master
 theses and we will need the above to ensure that
 they are handled correctly.
 
 kind regards,
 Kristian
 
 
 On Wed, 24 Aug 2011, Tim Donohue wrote:
 
 Kristian,
 
 As far as I recall, that prototype was abandoned and was never fully
 completed. I don't recall exactly why (someone from MIT may), but I
 think there were some concerns about the implementation.
 
 Currently, DSpace does not have a 'history' system. It does store
 basic provenance information (when an item was created/made
 available/withdrawn/deleted/etc) in an internal metadata field,
 'dc.description.provenance'. But, that basic provenance is just stored
 in plain text (and not RDF or any structured format).
 
 DSpace does provide other preservation tools:
 * Checksum checker/verifier
 * Backup  restore via AIPs:
 https://wiki.duraspace.org/display/DSDOC/AIP+Backup+and+Restore
 * Various Curation Tasks (more coming in 1.8.0) -
 https://wiki.duraspace.org/display/DSDOC/Curation+System
 
 Is there some particular feature you are looking for? Is it mostly an
 interest in provenance information, or just preservation tools in
 general?
 
 - Tim
 
 On Wednesday, August 24, 20
 11 4:41:36 AM, Kristian Roberto Salcedo
 wrote:
 Hi all,
 
 I'm looking for info on item history functionality and found this:
 
 https://wiki.duraspace.org/display/DSPACE/HistorySystemPrototype#HistorySystemPrototype-DownloadandInstall
 
 
 Does anyone know if any similar work on preserving and presenting item
 history data has been done in more recent versions of DSpace?
 
 kind regards,
 Kristian Salcedo
 University of Oslo Library

 
 --
 
 EMC VNX: the world's simplest storage, starting under $10K
 The only unified storage solution that offers unified management
 Up to 160% more powerful than alternatives and 25% more efficient.
 Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

 
 --
 
 EMC VNX: the world's simplest storage, starting under $10K
 The only unified storage solution that offers unified management
 Up to 160% more powerful than alternatives and 25% more efficient.
 Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 


--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] A Solr question

2011-08-29 Thread revskill
Good afternoon everyone.
I'm using Dspace 1.7.2. As an event (view, download,..) was logged, it was
NOT immediately commited to SOLR index. The question is how to mannualy
commit the event log into SOLR index to see the result right after ?

Thank you for attention.

-- 
TRUONG HOANG DUNG*
**Librarian Researcher
**Information and Library Centre
Mobile: 0121.411.5322
Email: dun...@hpu.edu.vn*
*Hai Phong Private University* http://lib.hpu.vn
--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace Queries

2011-08-29 Thread Hardik Mishra


Hello Manu,



Dspace supports unqualified dublin core metadata. I am not sure about mets and 
premises.

I think you want to impor the metadata from .tiff and .pdf files to collections


Thanks  Regards
Hardik Mishra


 
Message: 2
Date: Fri, 26 Aug 2011 21:52:51 +0100 (BST)
From: manu chicha chitx...@yahoo.es
Subject: [Dspace-general] Consultation Dspace ...
To: dspace-gene...@lists.sourceforge.net
Message-ID: 1314391971.5883.yahoomai...@web29602.mail.ird.yahoo.com
Content-Type: text/plain; charset=utf-8

Consultation Dspace

Hello, I recently installed ,Dspace, my query is that I have created a 
collection and need to export the metadata of my .tiff and .pdf files to 
Dublin Core RDF, mets version 1.9 with metsrights and version 2.0 premis.

Can this be done with Dspace??, adding rdf schemas for dublin core, mets and 
premises.

Thank you in advance for the help. Regards.


 
--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to enable OAI-PMH?

2011-08-29 Thread Stan Orlov
Hi Alvaro,

Thank you for your instructions.  I followed them and added the following
line:

Context path=/oai docBase=C:\dspace\webapps\oai debug=0
reloadable=true cachingAllowed=false allowLinking=true/

right after the context path for xmlui in server.xml.   Restarted Tomcat.
However, when I go to http://localhost:8080/oai, I get error 404 - The
requested resource (/oai/) is not available.  There is a folder oai in
[dspace]\webapps, containing META-INF and WEB-INF directories.  Is there
something else I could try?

Thanks and cheers,
Stan


On Fri, Aug 26, 2011 at 5:29 PM, Alvaro Sandoval alsando...@bcn.cl wrote:

 **
 Stan:

 Try this url in your server, after following below instructions:

 http://localhost:8080/oai/request?verb=ListMetadataFormats

 Regards,
 Alvaro

 El 26/08/11 17:16, Alvaro Sandoval escribió:

 Hi Stan:

 You can just copy [dspace]/webapps/oai  directory under [tomcat]/webapps
 directory.
 I prefer to include that directory into [tomcat]/conf/server.xml, under
 Host tag. Here is an example of how to define it in server.xml:

 Context path=/oai docBase=/dspace/webapps/oai/ debug=0
 reloadable=true cachingAllowed=false allowLinking=true/

 You should replace /dspace/webapps/oai/ with your oai directory.

 Then, restart tomcat and you should be able to ask:
 http://localhost:8080/oai, assuming tomcat is running on 8080 port.

 Cheers,
 Alvaro Sandoval


 El 26/08/11 16:35, Stan Orlov escribió:

 Greetings!

 We have an instance of DSpace that works fine: http://dc.msvu.ca.  It is
 version 1.6.2, running on Windows 2003.  I would like to enable OAI-PMH, but
 can't figure out what exactly to do.  I looked at
 https://wiki.duraspace.org/display/DSPACE/Use+the+OAI-PMH+interface, but
 the instructions didn't seem to work for me.  If you could point me in the
 right direction, I would be most grateful.

  Cheers,
 Stan
 
 Stanislav Orlov, MEd, MISt
 Systems Librarian
 Mount Saint Vincent University
 166 Bedford Hwy
 Halifax, NS, B3M 2J6
 - Tel:  902-457-6212
 - Fax: 902-457-6445
 stan.or...@msvu.ca


 --
 EMC VNX: the world's simplest storage, starting under $10K
 The only unified storage solution that offers unified management
 Up to 160% more powerful than alternatives and 25% more efficient.
 Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev


 ___
 DSpace-tech mailing 
 listDSpace-tech@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/dspace-tech



 --
 Álvaro Sandoval Pizarro

 BCN, Biblioteca del Congreso Nacional de Chile
 Ingeniería y Desarrollo
 Fono (5632) 226 3981
 http://www.bcn.cl/



 --
 Álvaro Sandoval Pizarro

 BCN, Biblioteca del Congreso Nacional de Chile
 Ingeniería y Desarrollo
 Fono (5632) 226 3981
 http://www.bcn.cl/


--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Creating handle.net handles retrospectively

2011-08-29 Thread Mark Melia
Hi Guys,

My handle server wasn't working for a while and some contributors added 
items. These items obviously got the default 123456789 handle - instead 
of the handle.net one. Does anyone know how to give these a handle.net 
handle?

Thanks,
Mark

--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Creating handle.net handles retrospectively

2011-08-29 Thread Wendy J Bossons
I have not done this myself, but came across it in the documentation last year 
when upgrading to 1.6.2 . . . hope this helps . . .

http://www.dspace.org/1_6_2Documentation/ch03.html#N10C92



..\Wendy

 I am putting myself to the fullest possible use, which is all I think that 
any conscious entity can ever hope to do.

Wendy Bossons
Senior Software Engineer
MIT Libraries
Software Analysis and Development
77 Massachusetts Avenue
Cambridge, MA 02139-4307
617-253-0770
wboss...@mit.edumailto:wboss...@mit.edu

On Aug 29, 2011, at 12:05 PM, Mark Melia wrote:

Hi Guys,

My handle server wasn't working for a while and some contributors added
items. These items obviously got the default 123456789 handle - instead
of the handle.nethttp://handle.net one. Does anyone know how to give these a 
handle.nethttp://handle.net
handle?

Thanks,
Mark

--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] SAX Parse Error alt metadata import

2011-08-29 Thread Joshua Gomez
I keep getting a SAX parsing error when trying to do a batch import. I am using 
DSpace 1.7.2 on Ubuntu 10.04.
 
Adding item from directory 1
[Fatal Error] :-1:-1: Premature end of file.
org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:208)
at org.dspace.app.itemimport.ItemImport.loadXML(ItemImport.java:1727)
at 
org.dspace.app.itemimport.ItemImport.loadDublinCore(ItemImport.java:927)
at 
org.dspace.app.itemimport.ItemImport.loadMetadata(ItemImport.java:912)
at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:742)
at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:616)
at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:497)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
org.xml.sax.SAXParseException: Premature end of file.
Has anyone encountered this error before? 
 
Also, does anyone have experience using an alternate metadata schema when doing 
a batch import?
 
When I follow the manual's instructions and use a file with a name formatted as 
metadata_[schema].xml the import script complains that the dublin_core.xml file 
is missing. So I tried naming the file dublin_core.xml instead since the 
contents are similar (just add a schema attribute to the head dublin_core 
element). However, then the script throws the same premature end of file error.
 
Thanks,
Josh
 
Joshua Gomez
Digital Library Programmer Analyst
Gelman Library
George Washington University
(202) 994-8267
jngo...@library.gwu.edu
--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sdnews___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to enable OAI-PMH?

2011-08-29 Thread emilio lorenzo

Stan
You must query OAI with an OAI-admisible syntax.  Try  with

 localhost:8080/oai/request?verb=Identify   or    
/oai/request?verb=ListMetadataFormats   or...


(OAI is case-sensitive.)

best luck
Emilio






El 29/08/2011 17:58, Stan Orlov escribió:

Hi Alvaro,

Thank you for your instructions.  I followed them and added the 
following line:


Context path=/oai docBase=C:\dspace\webapps\oai debug=0
reloadable=true cachingAllowed=false allowLinking=true/

right after the context path for xmlui in server.xml.   Restarted 
Tomcat.  However, when I go to http://localhost:8080/oai, I get error 
404 - The requested resource (/oai/) is not available.  There is a 
folder oai in [dspace]\webapps, containing META-INF and WEB-INF 
directories.  Is there something else I could try?


Thanks and cheers,
Stan


On Fri, Aug 26, 2011 at 5:29 PM, Alvaro Sandoval alsando...@bcn.cl 
mailto:alsando...@bcn.cl wrote:


Stan:

Try this url in your server, after following below instructions:

http://localhost:8080/oai/request?verb=ListMetadataFormats

Regards,
Alvaro

El 26/08/11 17:16, Alvaro Sandoval escribió:

Hi Stan:

You can just copy [dspace]/webapps/oai  directory under
[tomcat]/webapps directory.
I prefer to include that directory into [tomcat]/conf/server.xml,
under Host tag. Here is an example of how to define it in
server.xml:

Context path=/oai docBase=/dspace/webapps/oai/ debug=0
reloadable=true cachingAllowed=false
allowLinking=true/

You should replace /dspace/webapps/oai/ with your oai directory.

Then, restart tomcat and you should be able to ask:
http://localhost:8080/oai, assuming tomcat is running on 8080 port.

Cheers,
Alvaro Sandoval


El 26/08/11 16:35, Stan Orlov escribió:

Greetings!

We have an instance of DSpace that works fine:
http://dc.msvu.ca.  It is version 1.6.2, running on Windows
2003.  I would like to enable OAI-PMH, but can't figure out what
exactly to do.  I looked at
https://wiki.duraspace.org/display/DSPACE/Use+the+OAI-PMH+interface,
but the instructions didn't seem to work for me.  If you could
point me in the right direction, I would be most grateful.

 Cheers,
Stan

Stanislav Orlov, MEd, MISt
Systems Librarian
Mount Saint Vincent University
166 Bedford Hwy
Halifax, NS, B3M 2J6
- Tel: 902-457-6212 tel:902-457-6212
- Fax: 902-457-6445 tel:902-457-6445
stan.or...@msvu.ca mailto:stan.or...@msvu.ca



--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed.http://p.sf.net/sfu/emc-vnx-dev2dev


___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net  
mailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech



-- 
Álvaro Sandoval Pizarro


BCN, Biblioteca del Congreso Nacional de Chile
Ingeniería y Desarrollo
Fono (5632) 226 3981

http://www.bcn.cl/



-- 
Álvaro Sandoval Pizarro


BCN, Biblioteca del Congreso Nacional de Chile
Ingeniería y Desarrollo
Fono (5632) 226 3981

http://www.bcn.cl/



--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev


___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


smime.p7s
Description: S/MIME Cryptographic Signature
--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to enable OAI-PMH?

2011-08-29 Thread Stan Orlov
Thank you, Alonso.  I have tried the url with a verb, but it gives me:

HTTP Status 500 - type Exception report
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
javax.servlet.ServletException: org.dspace.app.oai.DSpaceOAICatalog
ORG.oclc.oai.server.OAIHandler.init(OAIHandler.java:134)

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)

org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Unknown Source)

note The full stack trace of the root cause is available in the Apache
Tomcat/6.0.18 logs.

I looked at Tomcat logs and found this:

stdout.log:
java.lang.ClassNotFoundException: org.dspace.app.oai.DSpaceOAICatalog
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
ORG.oclc.oai.server.catalog.AbstractCatalog.factory(AbstractCatalog.java:384)
at ORG.oclc.oai.server.OAIHandler.getAttributes(OAIHandler.java:160)
at ORG.oclc.oai.server.OAIHandler.init(OAIHandler.java:121)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:808)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)

localhost.log:
Aug 29, 2011 5:26:21 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Allocate exception for servlet oai-handler
javax.servlet.ServletException: org.dspace.app.oai.DSpaceOAICatalog
at ORG.oclc.oai.server.OAIHandler.init(OAIHandler.java:134)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:808)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)

How should I interpret this.  Maybe I need to rebuild Dspace?  Or maybe
there are some files missing in my oai directory?

Cheers,
Stan



On Mon, Aug 29, 2011 at 4:21 PM, Alvaro Sandoval alsando...@bcn.cl wrote:

 **
 Hi Stan:

 The OAI service is expecting a verb.
 Try this url instead:

 http://localhost:8080/oai/request?verb=ListMetadataFormats

 Regards,
 Alvaro


 El 29/08/11 12:58, Stan Orlov escribió:

 Hi Alvaro,

 Thank you for your instructions.  I followed them and added the following
 line:

 Context path=/oai docBase=C:\dspace\webapps\oai debug=0
 reloadable=true cachingAllowed=false allowLinking=true/

 right after the context path for xmlui in server.xml.   Restarted Tomcat.
 However, when I go to http://localhost:8080/oai, I get error 404 - The
 requested resource (/oai/) is not available.  There is a folder oai in
 [dspace]\webapps, containing META-INF and WEB-INF directories.  Is there
 something else I could try?

 Thanks and cheers,
 Stan


 On Fri, Aug 26, 2011 at 5:29 PM, Alvaro Sandoval alsando...@bcn.clwrote:

  Stan:

 Try this url in your server, after following below instructions:

 http://localhost:8080/oai/request?verb=ListMetadataFormats

 

Re: [Dspace-tech] How to enable OAI-PMH?

2011-08-29 Thread Alvaro Sandoval

Stan:

Do you have 
[dspace-source]/dspace-oai/dspace-oai-api/target/classes/org/dspace/app/oai/DSpaceOAICatalog.class? 


The jar that includes that class should be at:
[dspace]/webapps/oai/WEB-INF/lib/dspace-oai-api-1.x.x.jar, where 1.x.x 
is your dspace installed version.


Alvaro

El 29/08/11 17:50, Stan Orlov escribió:

Thank you, Alonso.  I have tried the url with a verb, but it gives me:

HTTP Status 500 - type Exception report
description The server encountered an internal error () that prevented 
it from fulfilling this request.

exception
javax.servlet.ServletException: org.dspace.app.oai.DSpaceOAICatalog
ORG.oclc.oai.server.OAIHandler.init(OAIHandler.java:134)

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)

org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

java.lang.Thread.run(Unknown Source)

note The full stack trace of the root cause is available in the Apache 
Tomcat/6.0.18 logs.


I looked at Tomcat logs and found this:

stdout.log:
java.lang.ClassNotFoundException: org.dspace.app.oai.DSpaceOAICatalog
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)

at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at 
ORG.oclc.oai.server.catalog.AbstractCatalog.factory(AbstractCatalog.java:384)

at ORG.oclc.oai.server.OAIHandler.getAttributes(OAIHandler.java:160)
at ORG.oclc.oai.server.OAIHandler.init(OAIHandler.java:121)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
at 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:808)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

at java.lang.Thread.run(Unknown Source)

localhost.log:
Aug 29, 2011 5:26:21 PM org.apache.catalina.core.StandardWrapperValve 
invoke

SEVERE: Allocate exception for servlet oai-handler
javax.servlet.ServletException: org.dspace.app.oai.DSpaceOAICatalog
at ORG.oclc.oai.server.OAIHandler.init(OAIHandler.java:134)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
at 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:808)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

at java.lang.Thread.run(Unknown Source)

How should I interpret this.  Maybe I need to rebuild Dspace?  Or 
maybe there are some files missing in my oai directory?


Cheers,
Stan



On Mon, Aug 29, 2011 at 4:21 PM, Alvaro Sandoval alsando...@bcn.cl 
mailto:alsando...@bcn.cl wrote:


Hi Stan:

The OAI service is expecting a verb.
Try this url instead:

http://localhost:8080/oai/request?verb=ListMetadataFormats

Regards,
Alvaro


El 29/08/11 12:58, Stan Orlov escribió:

Hi Alvaro,

Thank you for your instructions.  I followed them and added the
following line:

Context path=/oai docBase=C:\dspace\webapps\oai debug=0
reloadable=true cachingAllowed=false
allowLinking=true/

right after the context path for xmlui in server.xml.   Restarted
Tomcat.  However, when I go to