Hi all, I recreated above mentioned table in my dev env and restarted my service again but this time showing issue with *subscription *table, one by one it's failing. Please help me .
Thanks, On Thursday, January 4, 2024 at 7:01:59 PM UTC+5:30 Manish Kumar wrote: > Hi all, > > Suddenly we incountered with below error :. > > 04-Jan-2024 12:06:09.447 SEVERE [main] > org.apache.catalina.startup.HostConfig.deployDirectory Error deploying web > application directory [/usr/local/tomcat/webapps/server] > > java.lang.IllegalStateException: Error starting child at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:686) > > at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:658) > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:661) > at > org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1186) > at > org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1941) > > at > java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) > > at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) > at > org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) > > at > java.base/java.util.concurrent.AbstractExecutorService.submit(Unknown > Source) at > org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1096) > > at > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:478) > at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1619) > at > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:318) > at > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:114) > > at > org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402) > > at > org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:345) > at > org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:893) > at > org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:794) > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171) > at > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1332) > > at > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1322) > > at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) > at > org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) > > at > java.base/java.util.concurrent.AbstractExecutorService.submit(Unknown > Source) at > org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:866) > at > org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:248) > > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171) > at > org.apache.catalina.core.StandardService.startInternal(StandardService.java:433) > > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171) > at > org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:921) > > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171) > at org.apache.catalina.startup.Catalina.start(Catalina.java:772) at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.base/java.lang.reflect.Method.invoke(Method.java:566) at > org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:347) at > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:478) Caused by: > org.apache.catalina.LifecycleException: Failed to start component > [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/server]] > at > org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:419) > > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:186) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:683) > > ... 37 more 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 'webSecurityExpressionEvaluator'; nested exception > is org.springframework.beans.factory.UnsatisfiedDependencyException: Error > creating bean with name 'webSecurityExpressionEvaluator' defined in file > [/dspace/webapps/server/WEB-INF/classes/org/dspace/app/rest/security/WebSecurityExpressionEvaluator.class]: > > Unsatisfied dependency expressed through constructor parameter 0; nested > exception is org.springframework.beans.factory.BeanCreationException: Error > creating bean with name 'springSecurityFilterChain' defined in class path > resource > [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: > > Bean instantiation via factory method failed; nested exception is > org.springframework.beans.BeanInstantiationException: Failed to instantiate > [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw > exception; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name 'mvcHandlerMappingIntrospector' defined in class path > resource > [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: > > Invocation of init method failed; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name 'restHandlerMapping' defined in class path resource > [org/springframework/data/rest/webmvc/config/RepositoryRestMvcConfiguration.class]: > > Bean instantiation via factory method failed; nested exception is > org.springframework.beans.BeanInstantiationException: Failed to instantiate > [org.springframework.data.rest.webmvc.support.DelegatingHandlerMapping]: > Factory method 'restHandlerMapping' threw exception; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name 'jpaHelper' defined in class path resource > [org/springframework/data/rest/webmvc/config/RepositoryRestMvcConfiguration.class]: > > Initialization of bean failed; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name 'sessionFactory' defined in file > [/dspace/config/spring/api/core-hibernate.xml]: Invocation of init method > failed; nested exception is > *org.hibernate.tool.schema.spi.SchemaManagementException: > Schema-validation: missing table [public.epersongroup2workspaceitem*] > at > org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:660) > > at > org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640) > > at > org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119) > > at > org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) > > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1425) > > at > > Not sure how this table i.e. *epersongroup2workspaceitem* deleted from my > dev env but available on other env's. We are using 7.2.1 version. > > > Need your quick help as we are stucked. > > > Thanks, > > Manish > -- 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 Community" 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-community/42ce7308-dcf9-468f-9c15-44071a02f500n%40googlegroups.com.
