Confluence does not start due to Error creating bean with name 'searchManagerImpl' defined in class

Sagar Patil October 1, 2024

Hi @Team,

 

I am trying to installed confluence 9.0.2 on secure https instance but when I've execute start-conluence.bat file my confluence server get crashed.

 

Error:
 

2024-10-01 12:38:36,149 WARN [Catalina-utility-1] [atlassian.confluence.setup.ConfluenceAnnotationConfigWebApplicationContext] refresh Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchManagerImpl' defined in class path resource [index/luceneSubsystemContext.xml]: Cannot resolve reference to bean 'multiConnection' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'multiConnection' defined in class path resource [index/luceneSubsystemContext.xml]: Cannot resolve reference to bean 'luceneConnection' while setting constructor argument with key [TypedStringValue: value [CONTENT], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentLuceneConnection' defined in class path resource [index/luceneSubsystemContext.xml]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.confluence.internal.search.v2.lucene.LuceneConnection]: Factory method 'createContentIndexConnection' threw exception; nested exception is com.atlassian.confluence.internal.search.v2.lucene.LuceneException: org.apache.lucene.store.LockReleaseFailedException: Cannot forcefully unlock a NativeFSLock which is held by another indexer component: C:\\Program Files\\Atlassian\\Application Data\\Confluence\\index\\write.lock 2024-10-01 12:38:36,161 WARN [Catalina-utility-1] [beans.factory.support.DisposableBeanAdapter] destroy Invocation of destroy method failed on bean with name 'sessionFactory5': java.lang.NullPointerException: Cannot invoke \"Object.getClass()\" because \"obj\" is null 2024-10-01 12:38:36,161 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] shutdownCacheManager Shutting down EhCache cache manager 2024-10-01 12:38:36,188 ERROR [Catalina-utility-1] [springframework.web.context.ContextLoader] initWebApplicationContext Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchManagerImpl' defined in class path resource [index/luceneSubsystemContext.xml]: Cannot resolve reference to bean 'multiConnection' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'multiConnection' defined in class path resource [index/luceneSubsystemContext.xml]: Cannot resolve reference to bean 'luceneConnection' while setting constructor argument with key [TypedStringValue: value [CONTENT], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentLuceneConnection' defined in class path resource [index/luceneSubsystemContext.xml]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.confluence.internal.search.v2.lucene.LuceneConnection]: Factory method 'createContentIndexConnection' threw exception; nested exception is com.atlassian.confluence.internal.search.v2.lucene.LuceneException: org.apache.lucene.store.LockReleaseFailedException: Cannot forcefully unlock a NativeFSLock which is held by another indexer component: C:\Program Files\Atlassian\Application Data\Confluence\index\write.lock at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113) at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:681) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:209) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:591) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:399) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:278) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103) at com.atlassian.spring.container.ContainerContextLoaderListener.contextInitialized(ContainerContextLoaderListener.java:32) at com.atlassian.confluence.setup.ConfluenceBootstrappedContextLoaderListener.contextInitialized(ConfluenceBootstrappedContextLoaderListener.java:34) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4005) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4448) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1203) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1193) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:842)

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events