DataCite DOI compatibility

54 views
Skip to first unread message

Fernando Gonzalez

unread,
Jul 28, 2016, 8:52:38 AM7/28/16
to Dataverse Users Community
Good morning

We have installed Dataverse 4.3 and config the DOI with DataCite:

We have this config in setting table

    :Protocol     | doi
    :DoiSeparator | /
    :DoiProvider  | DataCite
    :Authority    | 10.5072

and this in domain.xml

<jvm-options>-Ddoi.password=XXXXXX</jvm-options>
<jvm-options>-Ddoi.username=CSIC.CM</jvm-options>
<jvm-options>-Ddoi.baseurlstring=https://mds.datacite.org</jvm-
options>

But in the server log we have this:

  </a></div><div id="topmenu">You are not logged in | <span><a
href="/login">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: 'DataCite Metadata Store
Login', open: true}})); </script><p>You have tried to access a protected
area of this application.</p><form method="POST"
action="/resources/j_spring_security_check" name="f"><div><label
for="j_username">Symbol</label><input style="width:150px"
name="j_username" type="text" id="j_username"/><script
type="text/javascript">



Is Dataverse 4.3 compatible with DataCite's DOIs?

Thanks in advance

Best
Fernando

Philip Durbin

unread,
Jul 28, 2016, 9:29:18 AM7/28/16
to dataverse...@googlegroups.com
Hi, yes, Dataverse 4.3 and newer have support for DataCite DOI.

It's a little weird that you're seeing a mix of JSON and HTML in server.log. I would think that you'd only see a JSON response from the DataCite API.

Anyway, I *think* your configuration looks ok but a valid username and password would be required to test, which I don't have. With a valid username and password I would suggest testing the DataCite API directly by following the documentation at https://mds.datacite.org/static/apidoc . There are examples in Python and Perl at https://github.com/datacite/mds/tree/master/client . If this works, great, it's probably a misconfiguration of Dataverse that I'm not seeing. If you can't perform basic operations with the DataCite API directly (outside of Dataverse), then you should contact DataCite support, I'd say. (There are no recent incidents at http://status.datacite.org so I think their service is working fine.)

I hope this helps!

Phil

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
To post to this group, send email to dataverse...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/367ad830-3594-42fc-900e-92ce0a1fba17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Fernando González Ballesteros

unread,
Jul 29, 2016, 6:38:52 AM7/29/16
to dataverse...@googlegroups.com
Hi

Thanks

In my dataveerse 4.3, there are java class from EZID but nothing for Datacite


./src/main/java/edu/harvard/iq/dataverse/DOIEZIdServiceBean.java
./target/classes/edu/harvard/iq/dataverse/DOIEZIdServiceBean.class
./target/dataverse-4.3/WEB-INF/classes/edu/harvard/iq/dataverse/DOIEZIdServiceBean.class
./target/dataverse-4.3/WEB-INF/lib/ezid-1.0.0.jar
./target/site/jacoco/edu.harvard.iq.dataverse/DOIEZIdServiceBean.java.html
./target/site/jacoco/edu.harvard.iq.dataverse/DOIEZIdServiceBean.html


But in the source code from Peking-University-Open-Research-Data-Platform there are this classes:
./Peking-University-Open-Research-Data-Platform-master/src/main/java/cn/edu/pku/lib/dataverse/doi/DOIDataCiteRegisterService.java
./Peking-University-Open-Research-Data-Platform-master/src/main/java/cn/edu/pku/lib/dataverse/doi/DOIDataCiteRegisterCache.java
./Peking-University-Open-Research-Data-Platform-master/src/main/java/cn/edu/pku/lib/dataverse/doi/DOIDataCiteServiceBean.java
./Peking-University-Open-Research-Data-Platform-master/src/main/java/cn/edu/pku/lib/dataverse/doi/DataCiteRESTfullClient.java
./Peking-University-Open-Research-Data-Platform-master/src/main/resources/cn/edu/pku/lib/dataverse/doi/datacite_metadata_template.xml


Regards
 Fernando

El 28/07/16 a las 15:29, Philip Durbin escribió:
You received this message because you are subscribed to a topic in the Google Groups "Dataverse Users Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dataverse-community/PAPsbQox9To/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dataverse-commu...@googlegroups.com.

To post to this group, send email to dataverse...@googlegroups.com.

Sherry Lake

unread,
Jul 29, 2016, 7:39:57 AM7/29/16
to Dataverse Users Community
One thing I see is your :Authority value does not have a "shoulder". We have:

:Authority | 10.12345/V3

We get our DOIs from EZID & not directly DataCite. So I can't say for sure what is wrong.

--
Sherry Lake
"Keeper of the Dataverse"
Libra Data, University of Virginia

Philip Durbin

unread,
Jul 29, 2016, 8:09:26 AM7/29/16
to dataverse...@googlegroups.com
DOIDataCiteServiceBean.java and a variety of other Java classes are part of Dataverse 4.3:

https://github.com/IQSS/dataverse/blob/v4.3/src/main/java/edu/harvard/iq/dataverse/DOIDataCiteServiceBean.java

I can't understand why you wouldn't have these files. You should see "v. 4.3 build 23-b39c957" in the bottom right of any page (or on disk at WEB-INF/classes/BuildNumber.properties).

Here's the pull request where the feature was merged into 4.3: https://github.com/IQSS/dataverse/pull/2964

I hope this helps,

Phil


For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages