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