Hi Andrea,

The error you described sounds like it might be this 
one: https://github.com/DSpace/DSpace/issues/9217

Simply put, in 7.6.1 (and some earlier versions of 7.x), you'd see these 
strange errors if you attempted to startup the DSpace backend (server 
webapp) while Solr was *down* (or unavailable/unresponsive).  The 
fix/workaround was to simply start Solr *before* the DSpace backend.

As of 8.0 (and the upcoming 7.6.2) release, we have fixed this issue and 
the DSpace backend can now start successfully even if Solr is unavailable.

Tim
On Monday, June 17, 2024 at 9:21:32 AM UTC-5 andrea.s...@unitn.it wrote:

> 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
>
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/09747762-fed0-4f50-80b6-d98eea4de30fn%40googlegroups.com.

Reply via email to