start-handle-server script no error but service not up

328 views
Skip to first unread message

Lewatle Johannes Phaladi

unread,
Oct 14, 2022, 4:45:13 AM10/14/22
to DSpace Technical Support
Dear DSpace Team,

After upgrading from DSpace 6.2 to 7.3 when starting handle server the script on terminal gives no error but when checking handle server is down. After checking error.log file for handle the following is found inside the file:

"2022-10-11 14:41:25.131+0200" 25 Started new run.
"2022-10-11 14:41:25.132+0200" 25 Handle.net Server Software version 9.3.0
Exception in thread "main" java.lang.NoClassDefFoundError: com/sleepycat/je/DatabaseException
        at net.handle.server.HandleServer.initTxnQueue(HandleServer.java:732)
        at net.handle.server.HandleServer.<init>(HandleServer.java:382)
        at net.handle.server.AbstractServer.getInstance(AbstractServer.java:120)
        at net.handle.server.Main.initialize(Main.java:255)
        at net.handle.server.Main.main(Main.java:122)
Caused by: java.lang.ClassNotFoundException: com.sleepycat.je.DatabaseException
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
        ... 5 more
"2022-10-12 09:45:33.317+0200" 25 Started new run.
"2022-10-12 09:45:33.318+0200" 25 Handle.net Server Software version 9.3.0
Exception in thread "main" java.lang.NoClassDefFoundError: com/sleepycat/je/DatabaseException
        at net.handle.server.HandleServer.initTxnQueue(HandleServer.java:732)
        at net.handle.server.HandleServer.<init>(HandleServer.java:382)
        at net.handle.server.AbstractServer.getInstance(AbstractServer.java:120)
        at net.handle.server.Main.initialize(Main.java:255)
        at net.handle.server.Main.main(Main.java:122)
Caused by: java.lang.ClassNotFoundException: com.sleepycat.je.DatabaseException
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
        ... 5 more
"2022-10-14 10:18:26.293+0200" 25 Started new run.
"2022-10-14 10:18:26.294+0200" 25 Handle.net Server Software version 9.3.0
Exception in thread "main" java.lang.NoClassDefFoundError: com/sleepycat/je/DatabaseException
        at net.handle.server.HandleServer.initTxnQueue(HandleServer.java:732)
        at net.handle.server.HandleServer.<init>(HandleServer.java:382)
        at net.handle.server.AbstractServer.getInstance(AbstractServer.java:120)
        at net.handle.server.Main.initialize(Main.java:255)
        at net.handle.server.Main.main(Main.java:122)
Caused by: java.lang.ClassNotFoundException: com.sleepycat.je.DatabaseException
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
        ... 5 more


Please help in resolving this issue.

Regards,
Lewatle 

Olayiwola Lawal

unread,
Oct 14, 2022, 5:04:28 AM10/14/22
to DSpace Technical Support
Hi Lewatle,

You can check this thread; I believe you may have the same issue. https://groups.google.com/g/dspace-tech/c/lr7kfeLLEjg/m/PAptuDo8BAAJ

Tim Donohue

unread,
Oct 18, 2022, 10:28:44 AM10/18/22
to DSpace Technical Support
Hi Lewatle,

This was a bug affecting 7.3.  It has been fixed in the 7.4 release.  So, I'd recommend upgrading to 7.4 if you need to use the "start-handle-server" commandline script.

Tim

Lewatle Johannes Phaladi

unread,
Oct 20, 2022, 5:25:56 AM10/20/22
to DSpace Technical Support
Thamks a lot, i will check if it can work on my side and confirm if it has resolved the issue 

Lewatle Johannes Phaladi

unread,
Oct 20, 2022, 5:37:29 AM10/20/22
to DSpace Technical Support
Hello Tim,

Much appreciated I will upgrade to 7.4

Regards,
Lewatle 

Lewatle Johannes Phaladi

unread,
Oct 20, 2022, 10:07:05 AM10/20/22
to DSpace Technical Support
Hello,

I have downloaded the jar files from https://www.eclipse.org/jetty/download.html which location on the server should i place this : 

jetty-deploy-11.0.12.jar

jetty-security-11.0.12.jar

jetty-util-11.0.12.jar

jetty-server-11.0.12.jar

jetty-xml-11.0.12.jar

jetty-webapp-11.0.12.jar

after copying them what needs to be done or should I run start-handle-server again

Regards,
Lewatle 
 

On Friday, 14 October 2022 at 11:04:28 UTC+2 lawalola...@gmail.com wrote:

Olayiwola Lawal

unread,
Oct 20, 2022, 10:24:54 AM10/20/22
to DSpace Technical Support
Hello,

You'll need to copy them to the /Dspace/lib directory. Then you run the script again to start the handle server.

Lewatle Johannes Phaladi

unread,
Oct 21, 2022, 4:09:11 AM10/21/22
to DSpace Technical Support
Hi,

Thanks a lot.

Regards,
Lewatle 

Mehmet Demirel

unread,
Feb 19, 2024, 2:46:53 PM2/19/24
to DSpace Technical Support
DSpace 7.6.1

"2024-02-19 19:37:13.772Z" 25 Started new run.
"2024-02-19 19:37:13.773Z" 25 Handle.net Server Software version 9.3.0

Exception in thread "main" java.lang.NoClassDefFoundError: com/sleepycat/je/DatabaseException
        at net.handle.server.HandleServer.initTxnQueue(HandleServer.java:732)
        at net.handle.server.HandleServer.<init>(HandleServer.java:382)
        at net.handle.server.AbstractServer.getInstance(AbstractServer.java:120)
        at net.handle.server.Main.initialize(Main.java:255)
        at net.handle.server.Main.main(Main.java:122)
Caused by: java.lang.ClassNotFoundException: com.sleepycat.je.DatabaseException
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:>
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.ja>
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
Reply all
Reply to author
Forward
0 new messages