Hello team,
I tried deploying Dspace at our AKS cluster using the docker image from docker hub. But it is giving the error from tomcat and also I was able to see the logs from pod specifying the solr connection error. Please kindly guide, what should be done to install it properly on kubernetes?
Logs:
SEVERE [main] org.apache.catalina.startup.HostConfig.deployDirectory Error deploying web application directory [/usr/local/tomcat/webapps/server]
java.lang.IllegalStateException: Error starting child
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/server]]
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 [/dspace/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 org.dspace.app.util.SubmissionConfigReaderException: Cannot perform a discovery search for Item Submission Configuration
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 [/dspace/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 org.dspace.app.util.SubmissionConfigReaderException: Cannot perform a discovery search for Item Submission Configuration
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'workflowItemConverter' defined in file [/dspace/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 org.dspace.app.util.SubmissionConfigReaderException: Cannot perform a discovery search for Item Submission Configuration
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.dspace.app.rest.converter.WorkflowItemConverter]: Constructor threw exception; nested exception is org.dspace.app.util.SubmissionConfigReaderException: Cannot perform a discovery search for Item Submission Configuration
Caused by: org.dspace.app.util.SubmissionConfigReaderException: Cannot perform a discovery search for Item Submission Configuration
Caused by: org.dspace.discovery.SearchServiceException: Failed to contact Solr at
http://localhost:8983/solr/search : Server refused connection at:
http://localhost:8983/solr/search Caused by: java.lang.RuntimeException: Failed to contact Solr at
http://localhost:8983/solr/search : Server refused connection at:
http://localhost:8983/solr/search