DSpace-Cris 7 Create Collection error

738 views
Skip to first unread message

Eldridge van der Westhuizen

unread,
Jun 26, 2022, 5:05:56 PM6/26/22
to DSpace Technical Support
Hi. 

Creating a new collection gives the following error on frontend:  
Server Error:
An exception has occurred

And backend dspace.log information:

2022-06-26 21:01:13,575 ERROR 11ce67ba-e8ee-47cb-8f2a-736c3e2f90c3 a26c4f14-a839-4166-a640-2a3d3cd91e69 org.dspace.app.rest.exception.DSpaceApiExceptionControllerAdvice @ An exception has occurred (status:500)
java.lang.RuntimeException: Unable to create new Collection under parent Community cc2b2803-48d7-4a23-89ba-99e4577f9031
        at org.dspace.app.rest.repository.CollectionRestRepository.createAndReturn(CollectionRestRepository.java:446) ~[classes/:cris-2022.01.01]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) ~[spring-aop-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) ~[spring-aop-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:789) ~[spring-aop-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:753) ~[spring-aop-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:69) ~[spring-security-core-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:753) ~[spring-aop-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:698) ~[spring-aop-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.dspace.app.rest.repository.CollectionRestRepository$$EnhancerBySpringCGLIB$$36d232dd.createAndReturn(<generated>) ~[classes/:cris-2022.01.01]
        at org.dspace.app.rest.repository.DSpaceRestRepository.createAndReturn(DSpaceRestRepository.java:287) ~[classes/:cris-2022.01.01]
        at org.dspace.app.rest.repository.DSpaceRestRepository$$FastClassBySpringCGLIB$$615525f9.invoke(<generated>) ~[classes/:cris-2022.01.01]
        at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689) ~[spring-aop-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.dspace.app.rest.repository.CollectionRestRepository$$EnhancerBySpringCGLIB$$36d232dd.createAndReturn(<generated>) ~[classes/:cris-2022.01.01]
        at org.dspace.app.rest.RestResourceController.postJsonInternal(RestResourceController.java:430) ~[classes/:cris-2022.01.01]
        at org.dspace.app.rest.RestResourceController.post(RestResourceController.java:380) ~[classes/:cris-2022.01.01]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) ~[spring-web-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) ~[spring-web-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) ~[spring-webmvc-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878) ~[spring-webmvc-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792) ~[spring-webmvc-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1043) [spring-webmvc-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) [spring-webmvc-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) [spring-webmvc-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) [spring-webmvc-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:681) [tomcat9-servlet-api-9.0.58.jar:?]
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) [spring-webmvc-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) [tomcat9-servlet-api-9.0.58.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat9-websocket-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:289) [spring-web-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.dspace.app.rest.filter.DSpaceRequestContextFilter.doFilter(DSpaceRequestContextFilter.java:45) [classes/:cris-2022.01.01]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.dspace.app.rest.filter.ContentLanguageHeaderResponseFilter.doFilter(ContentLanguageHeaderResponseFilter.java:51) [classes/:cris-2022.01.01]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:84) [dspace-services-cris-2022.01.01.jar:cris-2022.01.01]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:158) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.dspace.app.rest.security.AnonymousAdditionalAuthorizationFilter.doFilterInternal(AnonymousAdditionalAuthorizationFilter.java:67) [classes/:cris-2022.01.01]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.dspace.app.rest.security.UserAgreementFilter.doFilterInternal(UserAgreementFilter.java:74) [classes/:cris-2022.01.01]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.dspace.app.rest.security.StatelessAuthenticationFilter.doFilterInternal(StatelessAuthenticationFilter.java:102) [classes/:cris-2022.01.01]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:141) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:92) [spring-web-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:92) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:77) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358) [spring-web-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271) [spring-web-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) [spring-web-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.springframework.boot.web.servlet.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:128) [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]
        at org.springframework.boot.web.servlet.support.ErrorPageFilter.access$000(ErrorPageFilter.java:66) [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]
        at org.springframework.boot.web.servlet.support.ErrorPageFilter$1.doFilterInternal(ErrorPageFilter.java:103) [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.boot.web.servlet.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:121) [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) [spring-web-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103) [spring-web-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71) [log4j-web-2.17.1.jar:2.17.1]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:359) [tomcat9-catalina-9.0.58.jar:9.0.58]
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) [tomcat9-coyote-9.0.58.jar:9.0.58]
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat9-coyote-9.0.58.jar:9.0.58]
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889) [tomcat9-coyote-9.0.58.jar:9.0.58]
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1735) [tomcat9-coyote-9.0.58.jar:9.0.58]
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat9-coyote-9.0.58.jar:9.0.58]
        at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat9-util-9.0.58.jar:9.0.58]
        at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat9-util-9.0.58.jar:9.0.58]
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat9-util-9.0.58.jar:9.0.58]
        at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: java.sql.SQLException: bad_dublin_core schema=cris.submission.definition-correction. Metadata field does not exist!
        at org.dspace.content.DSpaceObjectServiceImpl.addMetadata(DSpaceObjectServiceImpl.java:222) ~[dspace-api-cris-2022.01.01.jar:cris-2022.01.01]
        at org.dspace.content.DSpaceObjectServiceImpl.addMetadata(DSpaceObjectServiceImpl.java:562) ~[dspace-api-cris-2022.01.01.jar:cris-2022.01.01]
        at org.dspace.app.rest.converter.MetadataConverter.persistMetadataRest(MetadataConverter.java:138) ~[classes/:cris-2022.01.01]
        at org.dspace.app.rest.converter.MetadataConverter.mergeMetadata(MetadataConverter.java:126) ~[classes/:cris-2022.01.01]
        at org.dspace.app.rest.repository.CollectionRestRepository.createAndReturn(CollectionRestRepository.java:444) ~[classes/:cris-2022.01.01]

Any ideas?

Mark H. Wood

unread,
Jun 27, 2022, 8:47:07 AM6/27/22
to dspac...@googlegroups.com
On Sun, Jun 26, 2022 at 02:05:56PM -0700, Eldridge van der Westhuizen wrote:
> Creating a new collection gives the following error on frontend:
> *Server Error:*
> An exception has occurred
>
> And backend dspace.log information:
>
> 2022-06-26 21:01:13,575* ERROR *11ce67ba-e8ee-47cb-8f2a-736c3e2f90c3
> a26c4f14-a839-4166-a640-2a3d3cd91e69
> org.dspace.app.rest.exception.DSpaceApiExceptionControllerAdvice @ An
> exception has occurred (status:500)
> java.lang.RuntimeException: Unable to create new Collection under parent
> Community cc2b2803-48d7-4a23-89ba-99e4577f9031

...

> *Caused by: java.sql.SQLException: bad_dublin_core
> schema=cris.submission.definition-correction. Metadata field does not
> exist!*

It looks like you are running DSpace-CRIS but don't have the
CRIS-related metadata schema installed.

--
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu
signature.asc

Eldridge van der Westhuizen

unread,
Jun 27, 2022, 3:17:15 PM6/27/22
to DSpace Technical Support
Thanks for your comment Mark.  Do you know where i can get this metadata for Cris? 

Appreciate your help.  

Plate, Michael

unread,
Jun 28, 2022, 4:40:21 PM6/28/22
to DSpace Technical Support
Hi Eldridge,

I had the same problem 10 days ago, but no time to verify what I did until today…

On "ant fresh_install" I got that database error (same like yours, I'm not 100% sure, but I believe it was the same).
I than inspected the database - it was empty.
I then followed the docs on CRIS and - from my bash history - run this

./bin/dspace dsrun org.dspace.app.util.InitializeEntityTypesOnly -d

After that, all the known tables - I think - were there.
I continued by creating the admin account and followed again the docs

(in bin/)
./dspace dsrun org.dspace.app.util.InitializeEntities -f ../config/entities/correction-relationship-types.xml
./dspace dsrun org.dspace.app.util.InitializeEntities -f ../config/entities/hide-sort-relationship-types.xml


Today, I completed the front end, started in dev mode and logged into the system and created a community and a collection.
Maybe it helps…

Michael


________________________________________
Von: dspac...@googlegroups.com <dspac...@googlegroups.com> im Auftrag von Eldridge van der Westhuizen <drid...@gmail.com>
Gesendet: Montag, 27. Juni 2022 21:17
An: DSpace Technical Support
Betreff: Re: [dspace-tech] DSpace-Cris 7 Create Collection error
317-274-0749<tel:(317)%20274-0749>
www.ulib.iupui.edu<http://www.ulib.iupui.edu>

--
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 dspace-tech...@googlegroups.com<mailto:dspace-tech...@googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/1f4a5d47-6a7b-444c-9e9f-db84b4a9716bn%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/1f4a5d47-6a7b-444c-9e9f-db84b4a9716bn%40googlegroups.com?utm_medium=email&utm_source=footer>.

Eldridge van der Westhuizen

unread,
Jun 29, 2022, 2:31:47 AM6/29/22
to DSpace Technical Support
Thanks for your assistance Michael.  I tried the scripts, but unfortunately still have the same error.  I seem to be missing something in my schema, but don't know what.  

Eldridge van der Westhuizen

unread,
Jun 29, 2022, 3:38:05 AM6/29/22
to DSpace Technical Support
Michael, i just want to confirm what version of the backend and frontend you installed? 

Here is what i used:

Also, did you perhaps do any specific CRIS steps that i might have missed? 

Thanks
On Tuesday, 28 June 2022 at 22:40:21 UTC+2 Plate, Michael wrote:

Michael Plate

unread,
Jun 29, 2022, 4:08:58 AM6/29/22
to dspac...@googlegroups.com
Hi Eldridge,

Am 29.06.22 um 09:38 schrieb Eldridge van der Westhuizen:
> Michael, i just want to confirm what version of the backend and frontend
> you installed?
>
> Here is what i used:
> 1. Backend
> -  https://github.com/4Science/DSpace/archive/refs/tags/dspace-cris-2022.01.01.zip
> 2. Frontend  - https://github.com/4Science/dspace-angular.git
[…]

I believe yes - I have to set up a new VM this day here at work, so I
will do steps again.

Michael

Ahmad Nasser

unread,
Jun 29, 2022, 7:29:59 AM6/29/22
to DSpace Technical Support
Hi My friends i have same problem i can't create collection in any community, how solve urgent and send step

Michael Plate

unread,
Jun 29, 2022, 11:50:41 AM6/29/22
to dspac...@googlegroups.com
Hi,

Am 29.06.22 um 09:38 schrieb Eldridge van der Westhuizen:
> Michael, i just want to confirm what version of the backend and frontend
> you installed?
>
> Here is what i used:
> 1. Backend
> -  https://github.com/4Science/DSpace/archive/refs/tags/dspace-cris-2022.01.01.zip
> 2. Frontend  - https://github.com/4Science/dspace-angular.git
>
> Also, did you perhaps do any specific CRIS steps that i might have missed?
>

OK - I'm here again - this is live and in colour…
DSpace is DSpace-dspace-cris-2022.01.01, and after ant fresh_install
(database error, but continues to end) the database is indeed empty:

psql dspace
psql (13.7 (Debian 13.7-0+deb11u1))
Type "help" for help.

dspace=# \d
Did not find any relations.

dspace database info tells everything is "Pending"…

dspace database migrate

after that "Pending" is replaced by "Success" - all relations are in the
database.

[copying the solr-stuff to /var/solr/data/configsets, creating admin]

Continuing with CRIS-Install at end of page #9

./dspace dsrun org.dspace.app.util.InitializeEntityTypesOnly -d
/dspace dsrun org.dspace.app.util.InitializeEntities -f
../config/entities/correction-relationship-types.xml
./dspace dsrun org.dspace.app.util.InitializeEntities -f
../config/entities/hide-sort-relationship-types.xml

maybe this is already enough for you - I have to install frontend tomorrow.

Michael

Eldridge van der Westhuizen

unread,
Jun 29, 2022, 2:38:58 PM6/29/22
to DSpace Technical Support
Hi Michael

My database has 119 tables and sequences that shows when i do the listing.  

I've tried the CRIS commands again without success.   When i look at the dspace.log file when i run the first dsrun command, i get these messages:

2022-06-29 18:28:42,834 INFO  unknown unknown org.apache.commons.beanutils.FluentPropertyBeanIntrospector @ Error when creating PropertyDescriptor for public final void org.apache.commons.configuration2.AbstractConfiguration.setProperty(java.lang.String,java.lang.Object)! Ignoring this property.
2022-06-29 18:28:43,135 INFO  unknown unknown org.apache.commons.beanutils.FluentPropertyBeanIntrospector @ Error when creating PropertyDescriptor for public final void org.apache.commons.configuration2.AbstractConfiguration.setProperty(java.lang.String,java.lang.Object)! Ignoring this property.
2022-06-29 18:28:43,151 INFO  unknown unknown org.apache.commons.beanutils.FluentPropertyBeanIntrospector @ Error when creating PropertyDescriptor for public final void org.apache.commons.configuration2.AbstractConfiguration.setProperty(java.lang.String,java.lang.Object)! Ignoring this property.
2022-06-29 18:28:43,154 INFO  unknown unknown org.apache.commons.beanutils.FluentPropertyBeanIntrospector @ Error when creating PropertyDescriptor for public final void org.apache.commons.configuration2.AbstractConfiguration.setProperty(java.lang.String,java.lang.Object)! Ignoring this property.
2022-06-29 18:28:43,161 INFO  unknown unknown org.apache.commons.beanutils.FluentPropertyBeanIntrospector @ Error when creating PropertyDescriptor for public final void org.apache.commons.configuration2.AbstractConfiguration.setProperty(java.lang.String,java.lang.Object)! Ignoring this property.
2022-06-29 18:28:43,178 INFO  unknown unknown org.apache.commons.beanutils.FluentPropertyBeanIntrospector @ Error when creating PropertyDescriptor for public final void org.apache.commons.configuration2.AbstractConfiguration.setProperty(java.lang.String,java.lang.Object)! Ignoring this property.
2022-06-29 18:28:45,568 INFO  unknown unknown org.eclipse.jetty.util.log @ Logging initialized @3934ms to org.eclipse.jetty.util.log.Slf4jLog
2022-06-29 18:28:45,909 INFO  unknown unknown org.springframework.cache.ehcache.EhCacheManagerFactoryBean @ Initializing EhCache CacheManager 'org.dspace.services'
2022-06-29 18:28:47,222 INFO  unknown unknown org.dspace.importer.external.service.ImportService @ Loading 7 import sources.
2022-06-29 18:28:48,017 INFO  unknown unknown org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor @ Autowired annotation is not supported on static methods: public static void org.dspace.rdf.storage.DOIURIGenerator.setFallback(org.dspace.rdf.storage.URIGenerator)
2022-06-29 18:28:48,023 INFO  unknown unknown org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor @ Autowired annotation is not supported on static methods: public static void org.dspace.rdf.storage.DOIHandleURIGenerator.setFallback(org.dspace.rdf.storage.URIGenerator)
2022-06-29 18:28:48,257 WARN  unknown unknown org.dspace.servicemanager.DSpaceServiceManager @ Unable to locate bean by name or id=dsrun. Will try to look up bean by type next.
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'dsrun' available
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:816) ~[spring-beans-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1288) ~[spring-beans-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298) ~[spring-beans-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:207) ~[spring-beans-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1115) ~[spring-context-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.dspace.servicemanager.DSpaceServiceManager.getServiceByName(DSpaceServiceManager.java:426) [dspace-services-cris-2022.01.01.jar:cris-2022.01.01]
        at org.dspace.scripts.ScriptServiceImpl.getScriptConfiguration(ScriptServiceImpl.java:33) [dspace-api-cris-2022.01.01.jar:cris-2022.01.01]
        at org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:144) [dspace-api-cris-2022.01.01.jar:cris-2022.01.01]
        at org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:124) [dspace-api-cris-2022.01.01.jar:cris-2022.01.01]
        at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:99) [dspace-api-cris-2022.01.01.jar:cris-2022.01.01]
2022-06-29 18:28:48,575 INFO  unknown unknown org.dspace.storage.rdbms.DatabaseUtils @ Loading Flyway DB migrations from: classpath:org/dspace/storage/rdbms/sqlmigration/postgres, classpath:org/dspace/storage/rdbms/migration, classpath:org/dspace/storage/rdbms/xmlworkflow
2022-06-29 18:28:48,594 INFO  unknown unknown org.flywaydb.core.internal.license.VersionPrinter @ Flyway Community Edition 6.5.7 by Redgate
2022-06-29 18:28:48,622 INFO  unknown unknown org.flywaydb.core.internal.database.DatabaseFactory @ Database: jdbc:postgresql://localhost:5432/dspace (PostgreSQL 13.7)
2022-06-29 18:28:48,628 WARN  unknown unknown org.flywaydb.core.internal.database.base.Database @ Flyway upgrade recommended: PostgreSQL 13.7 is newer than this version of Flyway and support has not been tested. The latest supported version of PostgreSQL is 12.
2022-06-29 18:28:48,714 WARN  unknown unknown org.flywaydb.core.internal.database.base.Database @ Flyway upgrade recommended: PostgreSQL 13.7 is newer than this version of Flyway and support has not been tested. The latest supported version of PostgreSQL is 12.
2022-06-29 18:28:48,763 INFO  unknown unknown org.dspace.storage.rdbms.DatabaseUtils @ DSpace database schema is up to date
2022-06-29 18:28:48,774 INFO  unknown unknown org.dspace.event.EventServiceImpl @ EventService dispatcher pool initialized
2022-06-29 18:28:48,874 INFO  unknown unknown org.hibernate.Version @ HHH000412: Hibernate Core {5.4.10.Final}
2022-06-29 18:28:49,190 WARN  unknown unknown org.hibernate.orm.deprecation @ HHH020100: The Ehcache second-level cache provider for Hibernate is deprecated.  See https://hibernate.atlassian.net/browse/HHH-12441 for details.
2022-06-29 18:28:49,204 INFO  unknown unknown org.hibernate.annotations.common.Version @ HCANN000001: Hibernate Commons Annotations {5.1.0.Final}
2022-06-29 18:28:49,400 INFO  unknown unknown org.hibernate.dialect.Dialect @ HHH000400: Using dialect: org.dspace.storage.rdbms.hibernate.postgres.DSpacePostgreSQL82Dialect
2022-06-29 18:28:49,633 WARN  unknown unknown org.hibernate.cfg.annotations.EntityBinder @ HHH000482: @org.hibernate.annotations.Cache used on a non-root entity: ignored for [org.dspace.content.Collection]. Please see the Hibernate documentation for proper usage.
2022-06-29 18:28:49,635 WARN  unknown unknown org.hibernate.cfg.annotations.EntityBinder @ HHH000482: @org.hibernate.annotations.Cache used on a non-root entity: ignored for [org.dspace.content.Community]. Please see the Hibernate documentation for proper usage.
2022-06-29 18:28:49,647 WARN  unknown unknown org.hibernate.cfg.annotations.EntityBinder @ HHH000482: @org.hibernate.annotations.Cache used on a non-root entity: ignored for [org.dspace.content.Site]. Please see the Hibernate documentation for proper usage.
2022-06-29 18:28:49,651 WARN  unknown unknown org.hibernate.cfg.annotations.EntityBinder @ HHH000482: @org.hibernate.annotations.Cache used on a non-root entity: ignored for [org.dspace.eperson.EPerson]. Please see the Hibernate documentation for proper usage.
2022-06-29 18:28:49,653 WARN  unknown unknown org.hibernate.cfg.annotations.EntityBinder @ HHH000482: @org.hibernate.annotations.Cache used on a non-root entity: ignored for [org.dspace.eperson.Group]. Please see the Hibernate documentation for proper usage.
2022-06-29 18:28:49,972 WARN  unknown unknown org.hibernate.orm.cache @ HHH90001007: Using legacy cache name [org.hibernate.cache.spi.UpdateTimestampsCache] because configuration could not be found for cache [default-update-timestamps-region]. Update your configuration to rename cache [org.hibernate.cache.spi.UpdateTimestampsCache] to [default-update-timestamps-region].
2022-06-29 18:28:49,973 WARN  unknown unknown org.hibernate.orm.cache @ HHH90001007: Using legacy cache name [org.hibernate.cache.internal.StandardQueryCache] because configuration could not be found for cache [default-query-results-region]. Update your configuration to rename cache [org.hibernate.cache.internal.StandardQueryCache] to [default-query-results-region].
2022-06-29 18:28:50,007 INFO  unknown unknown org.hibernate.validator.internal.util.Version @ HV000001: Hibernate Validator 6.0.18.Final
2022-06-29 18:28:50,346 WARN  unknown unknown org.hibernate.orm.cache @ HHH90001006: Missing cache[org.dspace.batch.ImpRecord] was created on-the-fly. The created cache will use a provider-specific default configuration: make sure you defined one. You can disable this warning by setting 'hibernate.cache.ehcache.missing_cache_strategy' to 'create'.
2022-06-29 18:28:50,350 WARN  unknown unknown org.hibernate.orm.cache @ HHH90001006: Missing cache[org.dspace.layout.CrisLayoutMetric2Box] was created on-the-fly. The created cache will use a provider-specific default configuration: make sure you defined one. You can disable this warning by setting 'hibernate.cache.ehcache.missing_cache_strategy' to 'create'.
2022-06-29 18:28:50,351 WARN  unknown unknown org.hibernate.orm.cache @ HHH90001006: Missing cache[org.dspace.batch.ImpMetadatavalue] was created on-the-fly. The created cache will use a provider-specific default configuration: make sure you defined one. You can disable this warning by setting 'hibernate.cache.ehcache.missing_cache_strategy' to 'create'.
2022-06-29 18:28:50,353 WARN  unknown unknown org.hibernate.orm.cache @ HHH90001006: Missing cache[org.dspace.batch.ImpWorkflowNState] was created on-the-fly. The created cache will use a provider-specific default configuration: make sure you defined one. You can disable this warning by setting 'hibernate.cache.ehcache.missing_cache_strategy' to 'create'.
2022-06-29 18:28:50,355 WARN  unknown unknown org.hibernate.orm.cache @ HHH90001006: Missing cache[org.dspace.layout.CrisLayoutField] was created on-the-fly. The created cache will use a provider-specific default configuration: make sure you defined one. You can disable this warning by setting 'hibernate.cache.ehcache.missing_cache_strategy' to 'create'.
2022-06-29 18:28:50,356 WARN  unknown unknown org.hibernate.orm.cache @ HHH90001006: Missing cache[org.dspace.batch.ImpBitstream] was created on-the-fly. The created cache will use a provider-specific default configuration: make sure you defined one. You can disable this warning by setting 'hibernate.cache.ehcache.missing_cache_strategy' to 'create'.
2022-06-29 18:28:50,357 WARN  unknown unknown org.hibernate.orm.cache @ HHH90001006: Missing cache[org.dspace.deduplication.Deduplication] was created on-the-fly. The created cache will use a provider-specific default configuration: make sure you defined one. You can disable this warning by setting 'hibernate.cache.ehcache.missing_cache_strategy' to 'create'.
2022-06-29 18:28:50,359 WARN  unknown unknown org.hibernate.orm.cache @ HHH90001006: Missing cache[org.dspace.layout.CrisLayoutTab] was created on-the-fly. The created cache will use a provider-specific default configuration: make sure you defined one. You can disable this warning by setting 'hibernate.cache.ehcache.missing_cache_strategy' to 'create'.
2022-06-29 18:28:50,360 WARN  unknown unknown org.hibernate.orm.cache @ HHH90001006: Missing cache[org.dspace.layout.CrisLayoutBox] was created on-the-fly. The created cache will use a provider-specific default configuration: make sure you defined one. You can disable this warning by setting 'hibernate.cache.ehcache.missing_cache_strategy' to 'create'.
2022-06-29 18:28:50,362 WARN  unknown unknown org.hibernate.orm.cache @ HHH90001006: Missing cache[org.dspace.batch.ImpBitstreamMetadatavalue] was created on-the-fly. The created cache will use a provider-specific default configuration: make sure you defined one. You can disable this warning by setting 'hibernate.cache.ehcache.missing_cache_strategy' to 'create'.
2022-06-29 18:28:51,634 INFO  unknown unknown org.springframework.cache.ehcache.EhCacheManagerFactoryBean @ Shutting down EhCache CacheManager 'org.dspace.services'


Something is clearly missing.  Any idea?

Eldridge van der Westhuizen

unread,
Jun 29, 2022, 4:26:42 PM6/29/22
to DSpace Technical Support
When i run the  dspace database migrate command after the ant fresh_install, i also get this error:

2022-06-29 20:24:34,862 WARN  unknown unknown org.dspace.servicemanager.DSpaceServiceManager @ Unable to locate bean by name or id=database. Will try to look up bean by type next.
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'database' available

        at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:816) ~[spring-beans-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1288) ~[spring-beans-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298) ~[spring-beans-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:207) ~[spring-beans-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1115) ~[spring-context-5.2.20.RELEASE.jar:5.2.20.RELEASE]
        at org.dspace.servicemanager.DSpaceServiceManager.getServiceByName(DSpaceServiceManager.java:426) [dspace-services-cris-2022.01.01.jar:cris-2022.01.01]
        at org.dspace.scripts.ScriptServiceImpl.getScriptConfiguration(ScriptServiceImpl.java:33) [dspace-api-cris-2022.01.01.jar:cris-2022.01.01]
        at org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:144) [dspace-api-cris-2022.01.01.jar:cris-2022.01.01]
        at org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:124) [dspace-api-cris-2022.01.01.jar:cris-2022.01.01]
        at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:99) [dspace-api-cris-2022.01.01.jar:cris-2022.01.01]

I searched the other articles and one other person got the same error message and seem to have corrected it with changing the /dspace directory and files ownership all to tomcat.  My /dspace directory and all files are owned by tomcat and the group tomcat already.  

I am at a dead end. 

Plate, Michael

unread,
Jun 30, 2022, 3:34:49 AM6/30/22
to DSpace Technical Support
Hi Eldridge,

well I'm out of imagination here.
The errors look common (have the same), but it works…so far. We will see what happens when I import something.

dspace database info

shows "Success" ? Is this a new install ? Maybe you should start from scratch. Maybe we should wait for the new CRIS based on DSpace 7.3…

I've stumbled upon the "permissions" problem in your other mail before, not sure if there is a connection - this might be a systemd problem and is not only related too CRIS:
find your tomcat9 service file (mine is /etc/systemd/system/multi-user.target.wants/tomcat9.service) and append ReadWritePaths for your DSpace folders - mine looks like this:
ReadWritePaths=/etc/tomcat9/Catalina/
ReadWritePaths=/var/lib/tomcat9/webapps/
ReadWritePaths=/var/log/tomcat9/
ReadWritePaths=/home/dspace
ReadWritePaths=/var/lib/dspace

This solved my "permissions" problems.


Michael

________________________________________
Von: dspac...@googlegroups.com <dspac...@googlegroups.com> im Auftrag von Eldridge van der Westhuizen <drid...@gmail.com>
Gesendet: Mittwoch, 29. Juni 2022 20:38
An: DSpace Technical Support
Betreff: {Suspected Spam?}Re: [dspace-tech] DSpace-Cris 7 Create Collection error
--
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 dspace-tech...@googlegroups.com<mailto:dspace-tech...@googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/b79ab26c-b00b-497f-80cc-7e821a412c7an%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/b79ab26c-b00b-497f-80cc-7e821a412c7an%40googlegroups.com?utm_medium=email&utm_source=footer>.

Eldridge van der Westhuizen

unread,
Jun 30, 2022, 6:02:19 AM6/30/22
to DSpace Technical Support
Thanks.

dspace database info shows all success, except one that is Ignored:   Versioned | 5.99.2020.12.28 | cleanup old dspacecris5                                          | JDBC    

 My ReadWritePaths do contain my dspace directory as well:
ReadWritePaths=/etc/tomcat9/Catalina/
ReadWritePaths=/var/lib/tomcat9/webapps/
ReadWritePaths=/var/log/tomcat9/
ReadWritePaths=/dspace/

This was a fresh install, yes.  On Ubuntu.   My gut feeling is that it is permission related, but just can't put my finger on it.  

Michael Plate

unread,
Jul 1, 2022, 4:40:51 AM7/1/22
to dspac...@googlegroups.com
Hi,

well I've successfully imported a bunch of docs via simple archive
format and it works.
Maybe it is easier to start from scratch ?
I always do snapshots on my VMs before the "next big step" on DSpace…

Michael


Am 30.06.22 um 12:02 schrieb Eldridge van der Westhuizen:
[…]

George Yusto

unread,
Jul 10, 2022, 5:16:51 AM7/10/22
to DSpace Technical Support
Hi I came across this error. 

  1. error: "Internal Server Error"
  2. message: "An exception has occurred"
  3. path: "/server/api/core/collections"
  4. status: 500
  5. timestamp: "2022-07-10T09:12:32.002+00:00"
How dd you guy solve this?

Eldridge van der Westhuizen

unread,
Jul 10, 2022, 6:50:01 AM7/10/22
to DSpace Technical Support
Hi.  Still unresolved on my side.  

George Yusto

unread,
Jul 16, 2022, 1:18:57 PM7/16/22
to DSpace Technical Support
this is a dead zone

George Yusto

unread,
Jul 18, 2022, 11:07:44 AM7/18/22
to DSpace Technical Support
I managed to solve this by adding this 

Screenshot from 2022-07-18 18-05-33.png
Reply all
Reply to author
Forward
0 new messages