Dspace 8 docker image

77 views
Skip to first unread message

David Tan

unread,
Mar 31, 2025, 9:31:33 AM3/31/25
to DSpace Technical Support
Has anyone manage to build and run successfuly the lastest version of Dspace in a container enviroment? I manage to build the REST (backend) but when deploy in a container I hit this error
2025-03-31 13:09:01 DEBUG jndi:466 - Looking up name="env/dspace.dir"
2025-03-31 13:09:01 ERROR DSpaceKernelInitializer:64 - Failure during ServletContext initialisation: URI is not hierarchical
java.lang.IllegalArgumentException: URI is not hierarchical
        at java.base/java.io.File.<init>(File.java:420) ~[?:?]
        at org.dspace.servicemanager.config.DSpaceConfigurationService.getDSpaceHome(DSpaceConfigurationService.java:641) ~[dspace-services-cris-2024.02.00.jar!/:cris-2024.02.00]
        at org.dspace.servicemanager.config.DSpaceConfigurationService.loadInitialConfig(DSpaceConfigurationService.java:498) ~[dspace-services-cris-2024.02.00.jar!/:cris-2024.02.00]
 
Apparently Dspacekernel/java was not able to resolve the name of a directory. Not sure this part of of Dspace behaviour or something else. Appreciate if anyone have tried this and share it here. This only happen in a containerize enviroment, work fine on normal standalone.

B.Regards
DTan

Alfeu Uzai Tavares

unread,
Mar 31, 2025, 1:28:59 PM3/31/25
to DSpace Technical Support
Hello!
I believe you are facing the same problem as me.
I have just created a PR to the issue: https://github.com/DSpace/DSpace/issues/10493
Reply all
Reply to author
Forward
0 new messages