Can't start confluence
Asked by Maksim Kabanov:

Hi, I created a hello world application by running atlas-create-confluence-plugin, and then launched atlas-debug.

below is what's on the url localhost:1990/confluence

HTTP Status 404 -- Not Found {#toc-hId--1186443182}
---------------------------------------------------

*** ** * ** ***

**Type** Status Report

**Message** Not found

**Description** The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

confluence version - 6.14.

os - ubuntu 20.04.

\[INFO\] \[talledLocalContainer\] 2022-01-17 15:33:00,423 INFO \[main\] \[com.atlassian.confluence.lifecycle\] contextInitialized Starting Confluence 6.14.0 \[build 7901 based on commit hash 9eed016aaa593220cd98620fec88bcbd9fd55893\] - synchrony version 2.1.0-master-9d112c9d  
\[INFO\] \[talledLocalContainer\] 2022-01-17 15:33:03,663 ERROR \[main\] \[ContainerBase.\[Catalina\].\[localhost\].\[/confluence\]\] log Exception sending context initialized event to listener instance of class \[com.atlassian.confluence.setup.ConfluenceConfigurationListener\]  
\[INFO\] \[talledLocalContainer\] java.lang.ExceptionInInitializerError  
\[INFO\] \[talledLocalContainer\] at com.ibm.icu.text.Collator.\<clinit\>(Collator.java:946)  
\[INFO\] \[talledLocalContainer\] at java.lang.Class.forName0(Native Method)  
\[INFO\] \[talledLocalContainer\] at java.lang.Class.forName(Class.java:264)  
\[INFO\] \[talledLocalContainer\] at org.h2.value.CompareMode.\<clinit\>(CompareMode.java:57)  
\[INFO\] \[talledLocalContainer\] at org.h2.engine.SessionRemote.\<init\>(SessionRemote.java:95)  
\[INFO\] \[talledLocalContainer\] at org.h2.jdbc.JdbcConnection.\<init\>(JdbcConnection.java:116)

\[INFO\] \[talledLocalContainer\] at org.h2.jdbc.JdbcConnection.\<init\>(JdbcConnection.java:100)  
\[INFO\] \[talledLocalContainer\] at org.h2.Driver.connect(Driver.java:69)  
\[INFO\] \[talledLocalContainer\] at org.h2.server.TcpServer.initManagementDb(TcpServer.java:92)  
\[INFO\] \[talledLocalContainer\] at org.h2.server.TcpServer.start(TcpServer.java:238)  
\[INFO\] \[talledLocalContainer\] at org.h2.tools.Server.start(Server.java:484)  
\[INFO\] \[talledLocalContainer\] at com.atlassian.h2.ServerLifecycle.start(ServerLifecycle.java:83)  
\[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.core.persistence.hibernate.ConfluenceHibernateConfig.getHibernateProperties(ConfluenceHibernateConfig.java:51)  
\[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.setup.DefaultBootstrapManager.getHibernateProperties(De  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:703)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:986)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1858)  
\[INFO\] \[talledLocalContainer\] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)  
\[INFO\] \[talledLocalContainer\] at java.util.concurrent.FutureTask.run(FutureTask.java:266)  
\[INFO\] \[talledLocalContainer\] at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)  
\[INFO\] \[talledLocalContainer\] at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:969)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1429)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)  
\[INFO\] \[talledLocalContainer\] at java.util.concurrent.FutureTask.run(FutureTask.java:266)  
\[INFO\] \[talledLocalContainer\] at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)  
\[INFO\] \[talledLocalContainer\] at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java  
\[INFO\] \[talledLocalContainer\] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
\[INFO\] \[talledLocalContainer\] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav  
a:43)  
\[INFO\] \[talledLocalContainer\] at java.lang.reflect.Method.invoke(Method.java:498)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)  
\[INFO\] \[talledLocalContainer\] Caused by: java.lang.IllegalArgumentException: Invalid version number: Version number  
may be negative or greater than 255  
\[INFO\] \[talledLocalContainer\] at com.ibm.icu.util.VersionInfo.getInstance(VersionInfo.java:191)  
\[INFO\] \[talledLocalContainer\] at com.ibm.icu.impl.ICUDebug.getInstanceLenient(ICUDebug.java:65)  
\[INFO\] \[talledLocalContainer\] at com.ibm.icu.impl.ICUDebug.\<clinit\>(ICUDebug.java:69)  
\[INFO\] \[talledLocalContainer\] ... 61 more  
\[INFO\] \[talledLocalContainer\] 2022-01-17 15:33:03,683 INFO \[main\] \[atlassian.confluence.plugin.PluginFrameworkConte  
xtListener\] contextInitialized Initialising plugin system  
\[INFO\] \[talledLocalContainer\] 2022-01-17 15:33:03,684 FATAL \[main\] \[atlassian.spring.container.SpringContainerConte  
xt\] getComponent Spring Application context has not been set  
\[INFO\] \[talledLocalContainer\] 2022-01-17 15:33:03,684 ERROR \[main\] \[atlassian.confluence.plugin.PluginFrameworkCont  
extListener\] contextInitialized Error initialising plugin manager: Spring Application context has not been set  
\[INFO\] \[talledLocalContainer\] java.lang.IllegalStateException: Spring Application context has not been set  
\[INFO\] \[talledLocalContainer\] at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContain  
fecycle(PluginFrameworkContextListener.java:187)  
\[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.plugin.PluginFrameworkContextListener.contextInitialized(PluginFrameworkContextListener.java:69)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4643)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5109)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:703)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:986)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1858)  
\[INFO\] \[talledLocalContainer\] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)  
\[INFO\] \[talledLocalContainer\] at java.util.concurrent.FutureTask.run(FutureTask.java:266)  
\[INFO\] \[talledLocalContainer\] at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)  
\[INFO\] \[talledLocalContainer\] at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:969)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1429)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)  
\[INFO\] \[talledLocalContainer\] at java.util.concurrent.FutureTask.run(FutureTask.java:266)  
\[INFO\] \[talledLocalContainer\] at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)  
\[INFO\] \[talledLocalContainer\] at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java  
\[INFO\] \[talledLocalContainer\] at java.lang.reflect.Method.invoke(Method.java:498)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)  
\[INFO\] \[talledLocalContainer\] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)  
\[INFO\] \[talledLocalContainer\] 2022-01-17 15:33:03,700 FATAL \[main\] \[atlassian.spring.container.SpringContainerContext\] getComponent Spring Application context has not been set  
\[INFO\] \[talledLocalContainer\] 2022-01-17 15:33:03,708 WARN \[main\] \[atlassian.confluence.plugin.PluginFrameworkContextListener\] contextDestroyed Failed to shut down plugin system during ServletContext shutdown: Spring Application context has not been set  
\[INFO\] \[talledLocalContainer\] 2022-01-17 15:33:03,711 INFO \[main\] \[com.atlassian.confluence.lifecycle\] contextDestroyed Stopping Confluence  
\[INFO\] \[talledLocalContainer\] 2022-01-17 15:33:03,758 ERROR \[main\] \[com.atlassian.threadlocal.BruteForceThreadLocalCleanup\] logErr Thread\[main,5,main\] created a ThreadLocal with key of type \[org.springframework.core.NamedThreadLocal\] (value \[Prototype beans currently in creation\]) and a value of type \[null\] (value \[null\]). This will be cleaned up  
\[INFO\] \[talledLocalContainer\] 2022-01-17 15:33:03,758 ERROR \[main\] \[com.atlassian.threadlocal.BruteForceThreadLocalCleanup\] logErr Thread\[main,5,main\] created a ThreadLocal with key of type \[org.apache.log4j.helpers.ThreadLocalMap\] (value \[org.apache.log4j.helpers.ThreadLocalMap@2e76ade9\]) and a value of type \[null\] (value \[null\]). This will be cleaned up  
\[INFO\] \[talledLocalContainer\] Jan 17, 2022 3:33:03 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc  
\[WARNING\] \[talledLocalContainer\] WARNING: The web application \[confluence\] registered the JDBC driver \[org.h2.Driver\] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.


Answers:
author: Pramodh M
body: Hi [@Maksim Kabanov](/t5/user/viewprofilepage/user-id/4711043)

Welcome to the Community!!

Seems like you have the h2 database have for a long time in Confluence.

You need to restore the DB from backup for the new Confluence instance, this should work.

Thanks,  
Pramodh


Tags: confluence-server

server