Hello, we installed dataverse to version v. 6.3 build 1607-8c99a74, we configured the default.config file with the datacite fields for DOI consumption, but the fields were set to fake, we have modified most of the fields with ‘fake’, but at this moment the dataverse field. pid.datacite.type=FAKE, where we have tried to change the variable =FAKE by DATACITE or datacite, but when the setting is done, the dataverse URL remains in the "your server is now runnig" screen, how to solve this error.
Translated with DeepL.com (free version)
In server.log do you see messages about ConfigCheckService?
No, And verifying this file has not been modified since installation. /usr/local/payara6/glassfish/domains/domain1/logs
Interesting. I expected that you might see errors like this above the config check error:
"No PID providers configured"
"No default PID provider configured"
Can you please attach your server.log file?
Yes
Also, when a project is created, it is not being registered to Datacite, this error can be caused by FAKE?
Well, this is the error I see in your log: "java.net.BindException: Address already in use"
Are there multiple versions of Payara running?
I would stop payara and then do a ps -efww | grep -i paraya
No, at this moment we only have payara in version 6.2024.6, previously we had version 5 in another server, but a new installation was made. In this installation the migration of a whole project was done.
Ok but that "address already in use" error suggests that something might already be running on a port that Payara wants to use, such as port 8080.
You could try rebooting the server, I guess. That will definitely stop anything that might be using port 8080.
Captura de pantalla 2025-01-31 151038.png
Ok, good. Nothing payara-related running.
But when you start you get the "Address already in use" error? Is anything else running on port 8080?
I think the syntax is lsof -i :8080 but please don't quote me.
And Payara does use a couple other ports as well.
This is what runs on port 8080
Captura de pantalla 2025-01-31 151647.png
Huh. Some java process? What is it? Can you kill it?
Is payara
Captura de pantalla 2025-01-31 152148.png
Ah ha! Multiple Payaras trying to run. So! Please try killing them all. Then try starting it up.
When I kill the process, solr automatically creates a new one
Hmm, is there a parent process you can kill?
No, only the process of solr.
Captura de pantalla 2025-01-31 153129.png
There should be a way to kill Solr and have it stay dead. :skull_and_crossbones:
Do you have init scripts set up? Do your services when you reboot the server?
Done, I stopped solr with systemctl stop solr and uploaded payara with systemctl start payara
great!
Captura de pantalla 2025-01-31 154923.png
Progress! But now you need to start Solr.
When I upload solr it creates the same java processes
Hmm, usually Solr and Payara play nicely together. :thinking:
Usually they can run side-by-side.
ok
But this solves the problem?
Well, I'm still confused about how Solr can conflict with Payara. They run on different ports.
From the one screenshot you posted it looked like an old version of Payara was running (but I'm not sure why it didn't show up with ps :shrug: ).
But there is an alternative to correct the error?
As I indicated it is a new installation on a different server than the previous one in use.
My theory is that you tried to stop Payara but it didn't fully stop. Then, when you went to try to start Payara, it couldn't start because of the port conflict. So the solution is to full stop the old Payara. This happens sometimes.
So restarting the server would be a better option, please remember that you only have one version of payara.
Restarting is one way to fix it, yes.
Ok I will do the process and I will be reporting back
Thaks for you help
Sure. Have a good weekend!
Sorry is it necessary to add this variable to the domain.xml file ./asadmin create-jvm-options “-Ddataverse.spi.pidproviders.directory=/path/”
Good Day. Is it necessary to add this variable to the domain.xml file ./asadmin create-jvm-options “-Ddataverse.spi.pidproviders.directory=/path/”?
Hmm. I'm pretty sure that setting is optional. Let me check the docs.
Above https://guides.dataverse.org/en/6.3/installation/config.html#dataverse-spi-pidproviders-directory it says "The following three global settings are required to configure PID Providers in the Dataverse software" but I don't think that's right. I think only the first two are required. :thinking:
Ok, I understand, I am still working on solving the error, the server has been restarted but we continue with the same error.
Bummer. Meanwhile, I made this PR to clarify the docs: clarify which PID settings are required #11205. Thanks for catching that!
Same error? Can you please remind me what the error is?
There is a field 'Ddataverse.pid.*.type=FAKE' which we have tried to change to 'FAKE', but when the change is made it does not upload dataverse and remains in “your server is now runnig”, also when entering a dataset it is not registered in datacite. When the dataverse installation was done, the “default.config” file was configured with the data of our datacite in the “[doi]” fields, but when reviewing the “domain.xml” file in the path ‘/usr/local/payara6/glassfish/domains/domain1/config/’ everything was in “FAKE”.
I see. Lots of problems at once. :disappointed:
You would like to use DataCite instead of FAKE. Is that right?
Yes, is right
I struggled with this config myself. Here's what worked for me:
dataverse.pid.providers=dc1
dataverse.pid.default-provider=dc1
dataverse.pid.dc1.type=datacite
dataverse.pid.dc1.label=DataCite
dataverse.pid.dc1.authority=10.70122
dataverse.pid.dc1.shoulder=FK2/
dataverse.pid.dc1.datacite.mds-api-url=https://mds.test.datacite.org
dataverse.pid.dc1.datacite.rest-api-url=https://mds.test.datacite.org
dataverse.pid.dc1.datacite.username=REDACTED
dataverse.pid.dc1.datacite.password=REDACTED
In the field ‘dataverse.pid.dc1.shoulder=FK2/’, Datacite must be informed about the field ‘FK2/’, for example one of the doi we have published is ‘https://doi.org/10.60790/EK61SN’ which is correctly registered in Datacite (This was migrated from our old version), but not https://doi.org/10.60790/FK2/EK61SN. Do I make myself understood?
The shoulder is optional.
We always use that FK2/ shoulder in testing. I'm not sure why, to be honest. :shrug:
Ok, got it, I'll leave it ‘/’ for the moment, so as not to have a problem with Datacite. Anyway, I will check the fields in the domain.xml file.
Instead of / you should probably leave shoulder undefined.
How is this process done, to leave it undefined?
You're using domain.xml, right? To leave it undefined you would not include the line about shoulder in domain.xml.
That is, I remove the line ‘Ddataverse.pid.*.shoulder’, from the ‘domain.xml’ file?
Yes, please try that. And then restart Payara.
I had a session with a Datacite provider and the only configuration that worked in 'domain.xml' was:
<jvm-options>-Ddataverse.pid.datacite.mds-api-url=https://mds.datacite.org</jvm-options>
<jvm-options>-Ddataverse.pid.datacite. rest-api-url=https://api.datacite.org</jvm-options>
<jvm-options>-Ddatataverse.pid.datacite.username=Test1234</jvm-options>
<jvm-options>-Ddataverse.pid.datacite.password=Test1234</jvm-options>
<jvm-options>-Ddataverse.pid.datacite.shoulder=</jvm-options>
If the shoulder is deleted, it takes a long time to generate the Dataset, for this reason the shoulder was left empty in domain.xml and the creation of the Dataset was instantaneous.
Oh! Interesting. Sorry to tell you wrong. This is news to me!
No problem, thank you for your help, and may this solution help other installations.
Yes!
Last updated: Oct 30 2025 at 06:21 UTC