connecting handle server

158 views
Skip to first unread message

Marco van der Laan

unread,
Jul 30, 2024, 10:23:39 AM7/30/24
to Dataverse Users Community
Hi all,

First post, nice to meet you all. Our institute is evaluating Dataverse and I am trying to set up a test-instance. Install of 6.2 went without a hitch and works fine with the Fake pid provider.  I tried getting our existing handleserver (v9.3) connected as pid provider  to create new handles but if i configure the handle pid variables the server crashes with a java error :
   Error unregistering ProbeProvider
java.lang.NullPointerException: Cannot invoke "org.glassfish.flashlight.impl.core.FlashlightProbeProvider.getProbes()" because "fProbeProvider" is null

Here the config I use:
          <jvm-options>-Ddataverse.pid.providers=handle1</jvm-options>
        <jvm-options>-Ddataverse.pid.default-provider=handle1</jvm-options>
         <jvm-options>-Ddataverse.pid.handle1.type=hdl</jvm-options>
        <jvm-options>-Ddataverse.pid.handle1.label=handle</jvm-options>
        <jvm-options>-Ddataverse.pid.handle1.authority=ourid</jvm-options>
        <jvm-options>-Ddataverse.pid.handle1.shoulder=dv-</jvm-options>
        <jvm-options>-Ddataverse.pid.handle1.handlenet.key.path=/usr/local/payara6/glassfish/domains/domain1/#####</jvm-options>
        <jvm-options>-Ddataverse.pid.handle1.handlenet.key.passphrase=${ALIAS=AS_ADMIN_ALIASPASSWORD}</jvm-options>
        <jvm-options>-Ddataverse.pid.handle1.datafile-pid-format=DEPENDENT</jvm-options>
        <jvm-options>-Ddataverse.pid.handle1.handlenet.auth-handle="0.NA/ourid"</jvm-options>
        <jvm-options>-Ddataverse.pid.handle1.handlenet.index=300</jvm-options>
       
Am I missing something? Is it possible to connect dataverse to an exisiting handleserver or do we need to setup a new handleserver next to the dataverse system?

Thank you in advance,
Marco van der Laan
Institute for Dutch Language

James Myers

unread,
Jul 31, 2024, 11:22:50 AM7/31/24
to dataverse...@googlegroups.com

There was a similar report in https://github.com/IQSS/dataverse/issues/10516. Offhand, I don’t see anything wrong in your settings. Using an existing handle server should be possible. Is there anything else in the log that comes from the handle provider code? (With a new install, you probably don’t have any of the legacy settings, but make sure you don’t have :Authority, :Shoulder, etc. set via API  or jvm options referencing dataverse.handlenet.*).

 

-- Jim

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/9876544f-b69b-4a1a-8fec-0bfb68b9a597n%40googlegroups.com.

Marco van der Laan

unread,
Aug 2, 2024, 7:49:03 AM8/2/24
to dataverse...@googlegroups.com
Hi James,

Thanks for your respons. We did a new install to prevent any settings interfering, reconfiged handles as shown and still the error. The logfile does not show any other erors than the one referenced. I am not a programmer but it feels like the "hdl" type pid is not recognized as pid provider.

 I did check the github issue but that seems to be on another pid system although this issue seems to be referenced but deemed unrelated. We will gather as much info as i can and submit an issue via git.

Met vriendelijke groeten,
Marco




--
the turtle moves!
Reply all
Reply to author
Forward
0 new messages