Hi Pascal,

       I have repaired the old DOI in the Database but as we have the test 
server in the intranet we thought that wasn't accessible for datacite server.
So we have upgraded our production server and we are trying to active the DOI 
function.
We have the right credentials for mds.datacite.org but we haven't the access to 
test.datacite.org.
I have seen the dspace.cfg  in your link and I saw that there wasn't the 
crosswalk for DATACITE, so I have added it.
Now we get this error:


2014-02-11 10:44:44,906 INFO  
org.dspace.app.webui.discovery.DiscoverySearchRequestProcessor @ 
anonymous:session_id=9B2B628802FEB226D0D9BC9FEDC2786F:ip_addr=159.149.133.227:search:scope=org.dspace.content.Community@28f,query="null",results=(0,0,3)
2014-02-11 10:44:45,011 INFO  org.dspace.app.webui.discovery.DiscoverUtility @ 
facets for scope, org.dspace.content.Community@28f: 3
2014-02-11 10:44:45,431 INFO  
org.dspace.app.webui.discovery.DiscoverySearchRequestProcessor @ 
anonymous:session_id=9B2B628802FEB226D0D9BC9FEDC2786F:ip_addr=159.149.133.227:search:scope=org.dspace.content.Community@28f,query="null",results=(0,0,3)
2014-02-11 10:44:45,557 INFO  org.dspace.app.webui.discovery.DiscoverUtility @ 
facets for scope, org.dspace.content.Community@28f: 3
2014-02-11 10:44:45,870 INFO  
org.dspace.app.webui.discovery.DiscoverySearchRequestProcessor @ 
anonymous:session_id=9B2B628802FEB226D0D9BC9FEDC2786F:ip_addr=159.149.133.227:search:scope=org.dspace.content.Community@28f,query="null",results=(0,0,3)
2014-02-11 10:44:46,005 WARN  org.dspace.identifier.doi.DataCiteConnector @ 
While reserving the DOI doi:10.14273/unisa-4, we got a http status code 404 and 
the message "<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML SYSTEM "about:legacy-compat">
<html><head><meta content="text/html; charset=UTF-8" 
http-equiv="Content-Type"/><meta content="IE=8" 
http-equiv="X-UA-Compatible"/><link 
href="/resources/dijit/themes/tundra/tundra.css;jsessionid=6F8AA3B9DFDF8CA4082A98A39D1312AA"
 type="text/css" rel="stylesheet"></link><link 
href="/resources/styles/standard.css;jsessionid=6F8AA3B9DFDF8CA4082A98A39D1312AA"
 media="screen" type="text/css" rel="stylesheet"></link><link 
href="/resources/dojox/highlight/resources/pygments/emacs.css;jsessionid=6F8AA3B9DFDF8CA4082A98A39D1312AA"
 rel="stylesheet"></link><link 
href="/resources/images/favicon.ico;jsessionid=6F8AA3B9DFDF8CA4082A98A39D1312AA"
 rel="SHORTCUT ICON"/><script type="text/javascript">var djConfig="en_US"; 
</script><script type="text/javascript" 
src="/resources/dojo/dojo.js;jsessionid=6F8AA3B9DFDF8CA4082A98A39D1312AA"></script><script
 type="text/javascript" 
src="/resources/spring/Spring.js;jsessionid=6F8AA3B9DFDF8CA4082A98A39D1312AA"></script><script
 type="text/javascript" 
src="/resources/spring/Spring-Dojo.js;jsessionid=6F8AA3B9DFDF8CA4082A98A39D1312AA"></script><script
 type="text/javascript" 
src="/resources/js/jquery-1.5.1.min.js;jsessionid=6F8AA3B9DFDF8CA4082A98A39D1312AA"></script><script
 type="text/javascript" 
language="JavaScript">dojo.require("dojo.parser");</script><title>Welcome to 
DataCite Metadata Store</title></head><body class="tundra spring"><div 
id="wrapper"><div version="2.0" id="header"><div id="title"><a title="Home" 
name="Home" href="/;jsessionid=6F8AA3B9DFDF8CA4082A98A39D1312AA"><img 
src="/resources/images/dc-logo.gif;jsessionid=6F8AA3B9DFDF8CA4082A98A39D1312AA"/>
    Metadata Store    
    </a></div><div id="topmenu">You are not logged in | <span><a 
href="/login;jsessionid=6F8AA3B9DFDF8CA4082A98A39D1312AA">Login</a></span></div><br
 style="clear:both"/></div><div id="main"><div version="2.0"><script 
type="text/javascript">dojo.require('dijit.TitlePane');</script><div 
id="_title_title_id"><script type="text/javascript">Spring.addDecoration(new 
Spring.ElementDecoration({elementId : '_title_title_id', widgetType : 
'dijit.TitlePane', widgetAttrs : {title: 'Requested Resource Not Found', open: 
true}})); </script><h2>Requested Resource Not Found</h2><p>Sorry, we did not 
find the resource you were looking for.</p></div></div><div version="2.0" 
id="footer"><span><a 
href="/;jsessionid=6F8AA3B9DFDF8CA4082A98A39D1312AA">Home</a></span> | <span 
id="language">Language: <a title="Switch language to English" 
href="?lang=en"><img alt="Switch language to English" 
src="/resources/images/flags/en.png;jsessionid=6F8AA3B9DFDF8CA4082A98A39D1312AA"
 class="flag"/></a> <a title="Switch language to Deutsch" href="?lang=de"><img 
alt="Switch language to Deutsch" 
src="/resources/images/flags/de.png;jsessionid=6F8AA3B9DFDF8CA4082A98A39D1312AA"
 class="flag"/></a> <a title="Switch language to French" href="?lang=fr"><img 
alt="Switch language to French" 
src="/resources/images/flags/fr.png;jsessionid=6F8AA3B9DFDF8CA4082A98A39D1312AA"
 class="flag"/></a> </span> | <span><a 
href="/login;jsessionid=6F8AA3B9DFDF8CA4082A98A39D1312AA">Login</a></span></div></div></div></body></html>".
2014-02-11 10:44:46,381 ERROR org.dspace.identifier.doi.DOIOrganiser @ It 
wasn't possible to update this identifier:  doi:10.14273/unisa-4 Exceptions 
code:  BAD_ANSWER
org.dspace.identifier.doi.DOIIdentifierException: Unable to parse an answer 
from DataCite API. Please have a look into DSpace logs.
        at 
org.dspace.identifier.doi.DataCiteConnector.reserveDOI(DataCiteConnector.java:564)
        at 
org.dspace.identifier.doi.DataCiteConnector.updateMetadata(DataCiteConnector.java:681)
        at 
org.dspace.identifier.DOIIdentifierProvider.updateMetadataOnline(DOIIdentifierProvider.java:412)
        at org.dspace.identifier.doi.DOIOrganiser.update(DOIOrganiser.java:669)
        at org.dspace.identifier.doi.DOIOrganiser.runCLI(DOIOrganiser.java:265)
        at org.dspace.identifier.doi.DOIOrganiser.main(DOIOrganiser.java:82)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
        at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)


Thanks
Best regards
Massimiliano



-----Messaggio originale-----
Da: Becker, Pascal-Nicolas [mailto:[email protected]] 
Inviato: lunedì 10 febbraio 2014 17:10
A: Massimiliano Cilurzo
Cc: 'dspace-tech'; [email protected]
Oggetto: RE: [Dspace-tech] DOI DATACITE

Sorry, I lost track. What's the current problem right now? Did you "repair" the 
old DOIs in your database?

The URL test.datacite.org addresses the test server of DataCite, the URL 
mds.datacite.org addresses the production server. You can get a login to the 
test server from your DOI/DataCite registration agency. We got two different 
prefixes for the test and for the production server, so you should check for 
which server you have valid credentials (prefix, username, password). You can 
test your credential by calling https://test.datacite.org/mds/ or 
https://mds.datacite.org in your browser and try to login. 
"AUTHENTICATION_ERROR" means that your credentials are invalid or does not 
match the doi prefix you configured. There should be a more detailed message in 
the dspace.log, can you please have a look?

Relating the crosswalk problem it is absolutely correct, what helix wrote. Is 
the file named in your dspace.cfg? You can see how it is done here: 
https://github.com/DSpace/DSpace/blob/dspace-4.0/dspace/config/dspace.cfg#L508-L515.
 The problem with the DataCite crosswork does not have anything to do with the 
URL of the DataCite server, it's the same crosswalk for testing and production 
server.

I would advise to use the command line argument -q when the doi-organiser gets 
started by a cronjob only. If you use the doi-organiser manually you get more 
information if you don't use -q.

Regards,
  Pascal

> -----Original Message-----
> From: Massimiliano Cilurzo [mailto:[email protected]]
> Sent: Monday, February 10, 2014 3:34 PM
> To: [email protected]
> Cc: Becker, Pascal-Nicolas; 'dspace-tech'
> Subject: R: [Dspace-tech] R: DOI DATACITE
> 
> Dear Ivan,
> 
>    The DIM2DataCite.xsl is present in the dspace/config/crosswalks directory.
> I have just noticed that if I put in the identifier-service.xml, 
> 'DATACITE_HOST'
> value ='test.datacite.org', I haven't this problem.
> "
>   <bean id="org.dspace.identifier.doi.DOIConnector"
>         class="org.dspace.identifier.doi.DataCiteConnector"
>         scope="singleton">
>         <property name='DATACITE_SCHEME' value='https'/>
>         <property name='DATACITE_HOST' value='mds.datacite.org'/>
>         <property name='DATACITE_DOI_PATH' value='/mds/doi/' />
>         <property name='DATACITE_METADATA_PATH' value='/mds/metad "
> 
> If I run dspace/bin/dspace doi-organiser -u -q with test.datacite.org 
> the system doesn't give me the previous error but send an email with 
> this
> message:
> Update DOI doi:10.14273/unisa-2 for ITEM with ID 1.210 failed:
> AUTHENTICATION_ERROR
> 
> Thanks
> Best regards
> Massimiliano
> 
> -----Messaggio originale-----
> Da: [email protected] [mailto:[email protected]] Per conto di
> helix84
> Inviato: lunedì 10 febbraio 2014 15:23
> A: Massimiliano Cilurzo
> Cc: Becker, Pascal-Nicolas; dspace-tech
> Oggetto: Re: [Dspace-tech] R: DOI DATACITE
> 
> Before Pascal gives you an authoritative reply, I'd check whether you 
> have the [dspace]/config/crosswalks/DIM2DataCite.xsl file present.
> Perhaps you reused your old configuration directory from DSpace 3.x 
> that didn't have this file?
> 
> 
> Regards,
> ~~helix84
> 
> Compulsory reading: DSpace Mailing List Etiquette 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to