Dear Colleagues,
I want to ask for help regarding this issue. I can't start the handle
server. I have tried deleting the .m2 directory to trigger downloading
dependencies, I also upgrade my openjdk from 17 to 18. I also tried
checking out the dspace-8_x branch. I've lost track of how many times I've
run mvn clean -U package. Below are the errors from the log files when I
run start-handle-server:
==> /dspace/handle-server/logs/error.log-202410 <==
at
org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.<init>(Unknown
Source)
at
net.handle.util.X509HSCertificateGenerator.generateWithCnAndUid(X509HSCertificateGenerator.java:108)
at
net.handle.util.X509HSCertificateGenerator.generateWithUid(X509HSCertificateGenerator.java:83)
at
net.handle.util.X509HSCertificateGenerator.generate(X509HSCertificateGenerator.java:56)
at
net.handle.server.HandleServer.buildCertificate(HandleServer.java:222)
at
net.handle.server.HandleServer.initKeysAndCertsAndSignatures(HandleServer.java:522)
at net.handle.server.HandleServer.<init>(HandleServer.java:366)
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)
==> /dspace/log/handle-server.log <==
Handle.Net Server Software version 9.3.1
==> /dspace/handle-server/logs/error.log-202410 <==
"2024-10-17 11:06:38.085+0800" 25 Started new run.
"2024-10-17 11:06:38.085+0800" 25 Handle.net Server Software version 9.3.1
Exception in thread "main" java.lang.NoSuchFieldError: id_alg_zlibCompress
at org.bouncycastle.asn1.cms.CMSObjectIdentifiers.<clinit>(Unknown
Source)
at
org.bouncycastle.operator.DefaultSignatureNameFinder.<clinit>(Unknown
Source)
at org.bouncycastle.operator.jcajce.OperatorHelper.<clinit>(Unknown
Source)
at
org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.<init>(Unknown
Source)
at
net.handle.util.X509HSCertificateGenerator.generateWithCnAndUid(X509HSCertificateGenerator.java:108)
at
net.handle.util.X509HSCertificateGenerator.generateWithUid(X509HSCertificateGenerator.java:83)
at
net.handle.util.X509HSCertificateGenerator.generate(X509HSCertificateGenerator.java:56)
at
net.handle.server.HandleServer.buildCertificate(HandleServer.java:222)
at
net.handle.server.HandleServer.initKeysAndCertsAndSignatures(HandleServer.java:522)
at net.handle.server.HandleServer.<init>(HandleServer.java:366)
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)
Just so you know, the handle server is working perfectly on the previous
server. I just moved/migrated this instance to a new VPS. I'm at lost of
the cause why the handle server won't start. I'm troubleshooting this issue
for almost 2 days now. Any help would be greatly appreciated.
Thanks in advance!
Best regards,
euler
On Tue, Oct 15, 2024 at 7:17 AM euler <[email protected]> wrote:
> Dear All,
>
> I just migrated a DSpace instance running version 8.0 to a different VPS.
> Previously, I had no problem running the handle server, but after migrating
> to this new VPS, and doing all the necessary changes, I can't seem to make
> the handle server run. Below is the error when I run ./dspace
> start-handle-server
>
> "2024-10-15 07:04:30.843+0800" 25 Started new run.
> "2024-10-15 07:04:30.843+0800" 25 Handle.net Server Software version 9.3.1
> Exception in thread "main" java.lang.NoSuchFieldError: id_alg_zlibCompress
> at org.bouncycastle.asn1.cms.CMSObjectIdentifiers.<clinit>(Unknown
> Source)
> at
> org.bouncycastle.operator.DefaultSignatureNameFinder.<clinit>(Unknown
> Source)
> at
> org.bouncycastle.operator.jcajce.OperatorHelper.<clinit>(Unknown Source)
> at
> org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.<init>(Unknown
> Source)
> at
> net.handle.util.X509HSCertificateGenerator.generateWithCnAndUid(X509HSCertificateGenerator.java:108)
> at
> net.handle.util.X509HSCertificateGenerator.generateWithUid(X509HSCertificateGenerator.java:83)
> at
> net.handle.util.X509HSCertificateGenerator.generate(X509HSCertificateGenerator.java:56)
> at
> net.handle.server.HandleServer.buildCertificate(HandleServer.java:222)
> at
> net.handle.server.HandleServer.initKeysAndCertsAndSignatures(HandleServer.java:522)
> at net.handle.server.HandleServer.<init>(HandleServer.java:366)
> 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)
>
> I want to mention that issuing the command [dspace]/bin/make-handle-config
> doesn't do anything, so I end up using [dspace]/bin/dspace
> dsrun net.handle.server.SimpleSetup [dspace]/handle-server command which
> asked me the usual questions when setting up the handle server.
>
> The VPS's OS is Ubuntu 22.04 LTS, which is also the same as the previous
> VPS. Please give me any advice on this.
>
> Thanks in advance,
> euler
>
> --
> 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 a topic in the
> Google Groups "DSpace Technical Support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/dspace-tech/801kScESBcs/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/3cfdb197-9e40-4b5c-9fc9-8c0fe4bb5ea5n%40googlegroups.com
> <https://groups.google.com/d/msgid/dspace-tech/3cfdb197-9e40-4b5c-9fc9-8c0fe4bb5ea5n%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/CAARcEKs-AP%3D%2BQBfCi40fQg2MsKhA0XoNKzwA7hFEEYk-6FPyBg%40mail.gmail.com.