Dspace Harvest Error

42 views
Skip to first unread message

UniZulu Library

unread,
Nov 7, 2019, 8:14:41 AM11/7/19
to DSpace Technical Support
Good Day All,

I am new to this Dspace technical support group. My name is Ashlin from the University of Zululand. 
I was wondering if any of you could possibly assist, we are experiencing an error when harvesting is being done on Dspace. The following error attached as a text file is the error received when a harvest is performed. 

Trust to get some feedback regarding this issue.

Regards,
Ashlin 
20191030021021-Harvester.log

José Geraldo

unread,
Nov 7, 2019, 8:54:15 AM11/7/19
to UniZulu Library, DSpace Technical Support

--
All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/75e798e8-2178-4230-8f00-d27a401c51fa%40googlegroups.com.


--
At.te,

José Geraldo

Shaun donovan

unread,
Nov 8, 2019, 1:31:34 AM11/8/19
to UniZulu Library, DSpace Technical Support

Hi Ashlin

What version of DSpace are you using? Your question brings to mind a similar problem that I had long ago, wherein I had to change DateUtils.java. This is what i did if it helps:

vi ./dspace-oai/src/main/java/org/dspace/xoai/util/DateUtils.java

 34       //Changed by Shaun: SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.'000Z'");
 35       SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
 36       //Changed by Shaun: if (!init) sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.'999Z'");
 37       if (!init) sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
 
Rebuild and deploy.

This has since been rectified in DSpace.

Kind Regards.

Shaun

Reply all
Reply to author
Forward
0 new messages