Closed omaralsoudanii closed 6 years ago
Glassfish logs :
[2018-06-19T08:17:36.347+0000] [glassfish 4.1] [WARNING] [] [edu.harvard.iq.dvn.core.index.DOIEZIdServiceBean] [tid: _ThreadID=29 _ThreadName=http-listener-1(4)] [timeMillis: 1529396256347] [levelValue: 900] [[ cause]]
[2018-06-19T08:17:36.347+0000] [glassfish 4.1] [WARNING] [] [edu.harvard.iq.dvn.core.index.DOIEZIdServiceBean] [tid: _ThreadID=29 _ThreadName=http-listener-1(4)] [timeMillis: 1529396256347] [levelValue: 900] [[ message bad request - _target: enter a valid URL]]
[2018-06-19T08:17:36.351+0000] [glassfish 4.1] [SEVERE] [] [edu.harvard.iq.dataverse.DatasetPage] [tid: _ThreadID=29 _ThreadName=http-listener-1(4)] [timeMillis: 1529396256351] [levelValue: 1000] [[ This dataset may not be published because the EZID Service is currently inaccessible. Please try again. Does the issue continue to persist?]]
Thanks, I've got it: it should be valid URL of dataset landing page.
@4tikhonov thank you for looking into this , What do you mean by valid URL of dataset landing page and is it something i change from my side ?
@4tikhonov i found the problem , This needs to be added glassfish to the JVM options
Ddataverse.siteUrl
For demo purpose this needs to be added to docker steps :
asadmin create-jvm-options '-Ddataverse.siteUrl=http\://demo.dataverse.org'
because if i add it manually to the glassfish JVM options inside the docker container , After docker-compose up it will delete it for some reason .
@omaralsoudanii good catch. It reminds me of the line about dataverse.siteUrl in conf/docker-aio/readme.txt that @pameyer added: https://github.com/IQSS/dataverse/blob/v4.9/conf/docker-aio/readme.txt#L22
Thanks @omaralsoudanii, we'll update Docker image then.
And I don't know if you're interested but we just published Kubernetes specification for Google Cloud: https://github.com/IQSS/dataverse-docker/tree/master/kubernetes
I've added this command to Dataverse setup process in Docker, should work now: /usr/local/glassfish4/glassfish/bin/asadmin create-jvm-options "-Ddataverse.siteUrl=http\:\/\/demo.dataverse.org"
On fresh installation using the default DOI settings this error appears when trying to publish :
a demo dataset doi :