Hello, I am trying to install dspace 7.6.1, but I unable to run it under Tomcat.
*I get the following messages from localhost.2023-12-20.log* [2023-12-20 10:57:11] [info] Deploying web application directory [/var/lib/tomcat9/webapps/server] [2023-12-20 10:57:24] [crit] Error deploying web application directory [/var/lib/tomcat9/webapps/server] [2023-12-20 10:57:24] [crit] Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/server]] [2023-12-20 10:57:24] [crit] Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authenticationRestController': Unsatisfied dependency expressed through field 'converter'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'converterService': Unsatisfied dependency expressed through field 'converters'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'workflowItemConverter' defined in file [/var/lib/tomcat9/webapps/server/WEB-INF/classes/org/dspace/app/rest/converter/WorkflowItemConverter.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.dspace.app.rest.converter.WorkflowItemConverter]: Constructor threw exception; nested exception is java.lang.NullPointerException: Cannot invoke "org.dspace.submit.factory.SubmissionServiceFactory.getSubmissionConfigService()" because the return value of "org.dspace.submit.factory.SubmissionServiceFactory.getInstance()" is null [2023-12-20 10:57:24] [crit] Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'converterService': Unsatisfied dependency expressed through field 'converters'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'workflowItemConverter' defined in file [/var/lib/tomcat9/webapps/server/WEB-INF/classes/org/dspace/app/rest/converter/WorkflowItemConverter.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.dspace.app.rest.converter.WorkflowItemConverter]: Constructor threw exception; nested exception is java.lang.NullPointerException: Cannot invoke "org.dspace.submit.factory.SubmissionServiceFactory.getSubmissionConfigService()" because the return value of "org.dspace.submit.factory.SubmissionServiceFactory.getInstance()" is null [2023-12-20 10:57:24] [crit] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'workflowItemConverter' defined in file [/var/lib/tomcat9/webapps/server/WEB-INF/classes/org/dspace/app/rest/converter/WorkflowItemConverter.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.dspace.app.rest.converter.WorkflowItemConverter]: Constructor threw exception; nested exception is java.lang.NullPointerException: Cannot invoke "org.dspace.submit.factory.SubmissionServiceFactory.getSubmissionConfigService()" because the return value of "org.dspace.submit.factory.SubmissionServiceFactory.getInstance()" is null [2023-12-20 10:57:24] [info] Deployment of web application directory [/var/lib/tomcat9/webapps/server] has finished in [13,848] ms [2023-12-20 11:00:30] [warning] The web application [server] appears to have started a thread named [Thread-3] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: [2023-12-20 11:00:30] [warning] The web application [server] appears to have started a thread named [Thread-4] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: [2023-12-20 11:00:30] [warning] Failed to clear soft references from ObjectStreamClass$Caches for web application [server] [2023-12-20 11:00:30] [crit] The web application [server] created a ThreadLocal with key of type [java.lang.ThreadLocal.SuppliedThreadLocal] (value [java.lang.ThreadLocal$SuppliedThreadLocal@4ea4ad09]) and a value of type [org.apache.logging.log4j.internal.DefaultLogBuilder] (value [org.apache.logging.log4j.internal.DefaultLogBuilder@648361ca]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. [2023-12-20 11:00:30] [crit] The web application [server] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@63d2198e]) and a value of type [org.apache.logging.log4j.core.LoggerContext] (value [org.apache.logging.log4j.core.LoggerContext@4c3f5794]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. *From catalina.out* [2023-12-20 14:58:39] [crit] Error deploying web application directory [/var/lib/tomcat9/webapps/server] [2023-12-20 14:58:39] [crit] java.lang.IllegalStateException: Error starting child [2023-12-20 14:58:39] [crit] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:729) . . . [2023-12-20 14:58:39] [crit] Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/server]] [2023-12-20 14:58:39] [crit] at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440) [2023-12-20 14:58:39] [crit] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198) [2023-12-20 14:58:39] [crit] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726) [2023-12-20 14:58:39] [crit] ... 37 more [2023-12-20 14:58:39] [crit] Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authenticationRestController': Unsatisfied dependency expressed through field 'converter'; nested exception is org.sprin>[2023-12-20 14:58:39] [crit] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:660) [2023-12-20 14:58:39] [crit] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640) [2023-12-20 14:58:39] [crit] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119) . . [2023-12-20 14:58:39] [crit] Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'converterService': Unsatisfied dependency expressed through field 'converters'; nested exception is org.springframework.>[2023-12-20 14:58:39] [crit] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:660) Any help would be much appreciated! -- 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/7712e1a3-e6b9-4954-b961-fa9f9224a24en%40googlegroups.com.
