Hi there.
I hope everyone is well.
I'm attempting to set up our instance with EZID as the DOI provider and am not able to mint DOIs.
I am using the following jvm options:
<jvm-options>-Ddataverse.pid.ezid.username=ucblibrary</jvm-options>
<jvm-options>-Ddataverse.pid.ezid.password=${ALIAS=doi_password_alias}</jvm-options>
<jvm-options>-Ddataverse.pid.ezid.api-url=https://ezid.cdlib.org</jvm-options>
Is this what Dataverse expects?
Also how can I turn on additional logging for this?
Thanks much! Jay
Hmm, is DataCite an option for you? The reason I ask is that I'm not sure if the EZID provider is still working or not. It's California-only so its use is limited these days.
@jamie jamison you don't happen to use EZID, do you?
I do use EZID , - a UC decision. I'm at 5.14 and my code reflects that
Oh! So it does still work. Phew!
Working just fine. Looks like the 5.14 documentation.
Does anything jump out at you about the config above? I think it looks ok to me. :thinking:
It certainly seems to match. At this point I might start picking through logs and probably go to you for help.
@Jay Sundu what about the database settings listed at https://guides.dataverse.org/en/6.1/installation/config.html#configuring-your-dataverse-installation-for-dois ?
:Authority for example
@Jay Sundu
You will need these set (which it seems that you do):
JVM Options for EZID:
dataverse.pid.ezid.api-url
dataverse.pid.ezid.username
dataverse.pid.ezid.password
https://guides.dataverse.org/en/latest/installation/config.html#configuring-your-dataverse-installation-for-dois
AND you need these set:
:DoiProvider
:Protocol
:Authority
:Shoulder
UVa has....
":Protocol": "doi",
":DoiProvider": "DataCite", - you will need ":DoiProvider": "EZID",
":Authority": "10.18130",
":Shoulder": "V3/",
Our Autrhority is 10.18130
Our Shoulder is "V3/" (with the slash) Our DOIs look like: https://doi.org/10.18130/V3/ZGS4T4
We had EZID in the beginning (before it was limited to UC schools) and the "V3" was given to us by EZID as a shoulder.
Thank you @Sherry Lake and @Philip Durbin . I did see a error in the database settings and have retested. I'm waiting on confirmation. I'm hopeful it will now work and I much appreciate the responses! Stay tuned, I will report back here.
Success! Thanks @jamie jamison @Philip Durbin @Sherry Lake !!!
Jay Sundu said:
Success! Thanks jamie jamison Philip Durbin Sherry Lake !!!
I spoke too soon. Its working in staging but I'm seeing this in prod. Note nceas.ucsb.edu referenced. I've double-checked that staging config matches prod. Any thoughts on where this misconfig might be? Why does it think I'm nceas?
[2024-02-23T12:48:30.192-0800] [Payara 6.2023.9] [WARNING] [] [edu.harvard.iq.dataverse.DOIEZIdServiceBean] [tid: _ThreadID=97 _ThreadName=http-thread-pool::jk-connector(3)] [timeMillis: 1708721310192] [levelValue: 900] [[
String edu.ucsb.nceas.ezid.EZIDException: unauthorized]]
I wouldn't worry about nceas in edu.ucsb.nceas.ezid.EZIDException. That's just showing who wrote the Java library we use.
Unauthorized, huh? Do you have a different username and password for prod? That's how DataCite does it.
It should be the same username/password -- I'm using the same api-url. When setting the password with asadmin, I accidently did create-password-alias doi_password_alias (instead of update-password-alias) I then updated it and just now deleted and created it again thinking this looks like it's not accepting the password for some reason.
Woof. Password alias stuff. Not my strong suit.
You could temporarily put the password in plain text just to confirm it's working.
How can I try that - I'd give it a shot.
Well, in domain.xml the username is in plain text, right?
Oh. I guess hardcode it into the domain yeah.
just as a test
Okay that worked. So something is messed up with the alias.
It's tricky. I never use it in dev. Maybe next week we can ask Don Sizemore for help.
It's quittin' time here on the east coast. :grinning:
Oh gosh yes. Enjoy the weekend and thanks again. I'm off for three weeks so you'll be hearing from me then.
Three weeks. Nice. Enjoy!
Baby bonding time with my six-month old son!
Aw. Mine are teenagers now. You can see one in #community > good vibes . Enjoy that baby time!
Thank you Phil for all the help for those of us getting started!
It's my pleasure. I didn't write this code for people to not be able to use it! :crazy:
Last updated: Oct 30 2025 at 06:21 UTC