This is a problem with the latest release of java (openjdk version 
"1.8.0_352").  It has now removed the deprecated class runFinalizersOnExit 

This class is used by the embedded handle.net jar classes to provide the 
resolver functions for the handle server.

This is distributed via the maven libraries.    There is testing going on 
upgraded to use a later handle.net distribution.  

I have tested a working alternative by rebuilding handle-6.2.jar with a 
minor change to ./net/handle/server/Main.java to comment out the now 
discontinued class at line 124
//System.runFinalizersOnExit(true);

After rebuild the handle jar and replacing it in the target directories, 
the Handle server starts successfully and I have tested with a live 
configuration - handle resolving completes successfuling.

This could provide alternative for some to get a server live.

Happy to share the build to project the above jar and/or the jar itself

Gives us a fall-back solution at least.  Hopefully formal fix will be out 
soon.

On Saturday, November 12, 2022 at 3:17:40 AM UTC+11 [email protected] wrote:

> We did an upgrade to Ubuntu last night and now our handle server quits 
> immediately on trying to start it. Unfortunately, the person who set up 
> our handle server has left our organization.
>
> Our handle-server.log reports:
>
> "2022/11/11 10:27:43 EST" 25 Rotating log files
> Error: null
>         (see the error log for details.)
>
> Shutting down...
>
> and the error.log reports:
>
> "2022/11/11 10:27:43 EST" 25 Started new run.
> java.lang.UnsupportedOperationException
>          at java.lang.Runtime.runFinalizersOnExit(Runtime.java:287)
>          at java.lang.System.runFinalizersOnExit(System.java:1059)
>          at net.handle.server.Main.initialize(Main.java:124)
>          at net.handle.server.Main.main(Main.java:75)
> Shutting down...
>
> Can anyone help with what is going wrong or how to diagnose this further?

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/6e3633cc-bd74-48cd-9254-61372f7f5462n%40googlegroups.com.

Reply via email to