Handle Server does not start after updating software components installed on the server

43 views
Skip to first unread message

Pedro Graça

unread,
Nov 8, 2022, 11:09:45 AM11/8/22
to DSpace Technical Support
Hello,
After making updates to my DSpace operating system I noticed that the handle server did not restart after the reboot.

I went to see the logs:
- The handle-server.log had this:
"2022/11/08 03:27:35 WET" 25 Rotating log files
error: null
       (See the error log for details.)

Shutting down...
"
- the error.log showed this:
"2022/11/08 03:27:35 WET" 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...
"
I managed to get the handle server working after changing the java alternatives:
update-alternatives --config java
  Selection Command
-----------------------------------------------
 + 1 java-1.7.0-openjdk.x86_64 (/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.261-2.6.22.2.el7_8.x86_64/jre/bin/java)
* 2 java-1.8.0-openjdk.x86_64 (/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.352.b08-2.el7_9.x86_64/jre/bin/java)

In short, the handle server doesn't work with java version 1.8, only 1.7.

Can you please comment?
Is this a known issue?
Is there any update to the components of the handle service to overcome this problem?

PS: I'm using DSpace, version 6.3.

Regards,
Pedro Graça
Universidade do Porto

Tim Donohue

unread,
Nov 8, 2022, 11:54:50 AM11/8/22
to Pedro Graça, DSpace Technical Support
Hi Pedro,

Discussion about this issue can be found in this ticket: https://github.com/DSpace/DSpace/issues/8557

Overall, it appears that a recent release of JDK8 had a change which was no longer backwards compatible​ with the Handle Service v6.x codebase.

Unfortunately, DSpace doesn't control the Handle Service codebase (it's managed by CNRI / https://handle.net/), so we cannot fix the Handle Service itself.

That said, in that issue ticket you'll see others have found downgrading the JDK8 works fine.  It sounds like using JDK7 also works fine.  There's also some early investigation into whether DSpace 6.x can be upgraded to use Handle Service v9.x (but, I'm honestly not sure yet whether that will be successful because of the age of the DSpace 6.x codebase).

Tim



From: dspac...@googlegroups.com <dspac...@googlegroups.com> on behalf of Pedro Graça <pedro...@gmail.com>
Sent: Tuesday, November 8, 2022 10:09 AM
To: DSpace Technical Support <dspac...@googlegroups.com>
Subject: [dspace-tech] Handle Server does not start after updating software components installed on the server
 
--
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 dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/6959782b-9e26-434f-b722-6cdd3fe1f7dan%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages