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: [email protected] <[email protected]> on behalf of 
Pedro Graça <[email protected]>
Sent: Tuesday, November 8, 2022 10:09 AM
To: DSpace Technical Support <[email protected]>
Subject: [dspace-tech] Handle Server does not start after updating software 
components installed on the server

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

--
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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/6959782b-9e26-434f-b722-6cdd3fe1f7dan%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/6959782b-9e26-434f-b722-6cdd3fe1f7dan%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/PH0PR22MB3274FFD356C465319B7D283DED3F9%40PH0PR22MB3274.namprd22.prod.outlook.com.

Reply via email to