Hi,
I'm having trouble installing DSpace 7.6.1.
When I start Tomcat "server" the web application deployment gives many errors starting from an "Error starting child".
I have:
- Ubuntu 22.04
- Tomcat 9.0.58.0
- Apache 2.4.52
- Openjdk version "17.0.11"
- Maven 3.6.3
- Ant(TM) version 1.10.12
I can see many exceptions in tomcat logs and configuring DSpace logs with level "DEBUG" I can see these errors:
1) ERROR unknown unknown org.dspace.statistics.SolrLoggerServiceImpl @ java.lang.IllegalStateException: The required 'dbfile' configuration is missing in usage-statistics.cfg!
(I found this issue was fixed in version 7.5 but I have it with 7.6.1 version)
2) ERROR unknown unknown org.springframework.boot.SpringApplication @ Application run failed
And after this error I can see many exceptions like this:
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 [/opt/dspace-7/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
These exceptions are all related to "SubmissionServiceFactory" and functions returning null: getSubmissionConfigService, getInstance, etc.)
I have followed the wiki's instructions but cannot have the server deployment working.
Best regards,
Andrea