Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,460,907
Community Members
 
Community Events
176
Community Groups

Error message after upgrade from 6.9.0 to 8.0.2

Hi,

After upgrade from 6.9.0 to 8.0.2, Confluence does not start.

Error:
Could not load bootstrap from environment
2023-01-11 11:04:45 fatal ClassNotFoundException: org.h2.tools.Server

Operating system Windows 10

Stdout-log-file:


2023-01-11 10:55:01 Apache Commons Daemon procrun stdout initialized.
10:55:11 [Catalina-utility-2] o.a.c.u.SessionIdGeneratorBase[WARN] log - Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [235] milliseconds.
10:55:12 [Catalina-utility-2] o.a.c.c.C.[.[.[.c.path}/synchrony-proxy][INFO] log - Initializing Spring DispatcherServlet 'dispatcher'
2023-01-11 10:55:18,557 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 8.0.1 [build 9002 based on commit hash 30c6d34853a1267a2aec5c991bb19c71023e3586] - synchrony version 5.0.1
2023-01-11 10:55:18,588 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM Eclipse Adoptium 11.0.16.1
2023-01-11 10:55:18,588 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument -Dcatalina.home=C:\Program Files\Atlassian\Confluence
2023-01-11 10:55:18,588 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument -XX:+UseG1GC
2023-01-11 10:55:18,588 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument -XX:-PrintGCDetails
2023-01-11 10:55:18,588 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument -XX:+PrintGCTimeStamps
2023-01-11 10:55:18,588 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument -XX:-PrintTenuringDistribution
2023-01-11 10:55:18,588 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument -XX:+UseGCLogFileRotation
2023-01-11 10:55:18,588 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument -XX:NumberOfGCLogFiles=5
2023-01-11 10:55:18,588 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument -XX:GCLogFileSize=2M
2023-01-11 10:55:18,588 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument -Xloggc:C:\Program Files\Atlassian\Confluence/logs/gc-%t.log
2023-01-11 10:55:18,588 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument -Djava.awt.headless=true
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument -Datlassian.plugins.enable.wait=300
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument -Dcatalina.base=C:\Program Files\Atlassian\Confluence
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument -Dignore.endorsed.dirs=C:\Program Files\Atlassian\Confluence\endorsed
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument -Djava.io.tmpdir=C:\Program Files\Atlassian\Confluence\temp
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument -Djava.util.logging.config.file=C:\Program Files\Atlassian\Confluence\conf\logging.properties
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument -XX:+IgnoreUnrecognizedVMOptions
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument -Xlog:gc*:file="C:\Program Files\Atlassian\Confluence\logs\gc-%%t.log":tags,time,uptime,level:filecount=5,filesize=2M
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument -Djdk.tls.server.protocols=TLSv1.1,TLSv1.2
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument -Djdk.tls.client.protocols=TLSv1.1,TLSv1.2
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument --add-opens=java.base/java.lang=ALL-UNNAMED
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument --add-opens=java.base/java.net=ALL-UNNAMED
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument --add-opens=java.base/java.io=ALL-UNNAMED
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument --add-opens=java.base/java.util=ALL-UNNAMED
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument --add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument --add-opens=java.base/sun.net.www.protocol.http=ALL-UNNAMED
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument --add-opens=java.base/sun.net.www.protocol.https=ALL-UNNAMED
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument --add-opens=java.base/sun.util.locale=ALL-UNNAMED
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument --add-opens=java.management/javax.management=ALL-UNNAMED
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument --add-exports=java.base/sun.security.action=ALL-UNNAMED
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument --add-exports=java.xml/com.sun.org.apache.xml.internal.utils=ALL-UNNAMED
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument --add-exports=java.desktop/sun.font=ALL-UNNAMED
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument --add-exports=java.base/sun.security.util=ALL-UNNAMED
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument exit
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument abort
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument -Xms1024m
2023-01-11 10:55:18,604 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Using JVM argument -Xmx1024m
2023-01-11 10:55:27,463 ERROR [Catalina-utility-1] [atlassian.confluence.setup.ConfluenceConfigurationListener] contextInitialized An error was encountered while bootstrapping Confluence (see below):
java.lang.NoClassDefFoundError: org/h2/tools/Server
io.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NoClassDefFoundError: org/h2/tools/Server
at io.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:156)
at io.atlassian.util.concurrent.LazyReference.get(LazyReference.java:116)
at com.atlassian.h2.ServerLifecycle$1$1.isRunning(ServerLifecycle.java:27)
at com.atlassian.confluence.impl.hibernate.H2DatabaseManager.ensureDatabaseStarted(H2DatabaseManager.java:48)
at com.atlassian.confluence.impl.hibernate.ConfluenceHibernateConfig.getHibernateProperties(ConfluenceHibernateConfig.java:75)
at com.atlassian.confluence.impl.setup.DefaultBootstrapDatabaseAccessor.getBootstrapData(DefaultBootstrapDatabaseAccessor.java:45)
at com.atlassian.confluence.setup.DefaultBootstrapManager.afterConfigurationLoaded(DefaultBootstrapManager.java:812)
at com.atlassian.config.bootstrap.DefaultAtlassianBootstrapManager.init(DefaultAtlassianBootstrapManager.java:69)
at com.atlassian.confluence.setup.DefaultBootstrapManager.init(DefaultBootstrapManager.java:193)
at com.atlassian.config.util.BootstrapUtils.init(BootstrapUtils.java:34)
at com.atlassian.confluence.setup.ConfluenceConfigurationListener.initialiseBootstrapContext(ConfluenceConfigurationListener.java:151)
at com.atlassian.confluence.setup.ConfluenceConfigurationListener.contextInitialized(ConfluenceConfigurationListener.java:72)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4766)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5230)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: org/h2/tools/Server
at com.atlassian.h2.AbstractServerConfig.get(AbstractServerConfig.java:42)
at com.atlassian.h2.AbstractServerConfig.get(AbstractServerConfig.java:19)
at com.atlassian.h2.ServerLifecycle$2.create(ServerLifecycle.java:52)
at com.atlassian.h2.ServerLifecycle$2.create(ServerLifecycle.java:49)
at io.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:332)
at io.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:150)
... 22 more
Caused by: java.lang.ClassNotFoundException: org.h2.tools.Server
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1412)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1220)
... 28 more
2023-01-11 10:55:27,526 WARN [Catalina-utility-1] [atlassian.confluence.plugin.PluginFrameworkContextListener] contextInitialized Not starting full plugin system due to upgrade
2023-01-11 10:55:27,541 [Catalina-utility-1]
[Filter: profiling] defaulting to off [autostart=false]
2023-01-11 10:55:27,807 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve
10:55:31 [Catalina-utility-1] o.a.c.c.C.[.[.[/synchrony-proxy][INFO] log - Initializing Spring DispatcherServlet 'dispatcher'
2023-01-11 10:56:18,097 ERROR [http-nio-8090-exec-10] [confluence.setup.johnson.WebAppContextPathCheck] check Bootstrap did not initialize.
2023-01-11 10:56:24,441 ERROR [http-nio-8090-exec-9] [atlassian.confluence.util.AbstractBootstrapHotSwappingFilter] doFilter Could not get swap target filter
-- url: /johnson/data | referer: http://localhost:8090/ | traceId: 00a1b189190417c3
2023-01-11 10:56:25,783 ERROR [http-nio-8090-exec-8] [atlassian.confluence.util.AbstractBootstrapHotSwappingFilter] doFilter Could not get swap target filter
-- url: /johnson/fav-confluence.ico | referer: http://localhost:8090/ | traceId: 00e1208b437abd32
2023-01-11 10:56:41,682 ERROR [http-nio-8090-exec-7] [atlassian.confluence.util.AbstractBootstrapHotSwappingFilter] doFilter Could not get swap target filter
-- url: /johnson/data | referer: http://localhost:8090/ | traceId: 0072ae0982fce44c
2023-01-11 10:56:57,666 ERROR [http-nio-8090-exec-6] [atlassian.confluence.util.AbstractBootstrapHotSwappingFilter] doFilter Could not get swap target filter
-- url: /johnson/data | referer: http://localhost:8090/ | traceId: 00ef38cab9d1ed2f
2023-01-11 10:57:13,681 ERROR [http-nio-8090-exec-5] [atlassian.confluence.util.AbstractBootstrapHotSwappingFilter] doFilter Could not get swap target filter
-- url: /johnson/data | referer: http://localhost:8090/ | traceId: 0055a3c5da621298
2023-01-11 10:57:29,666 ERROR [http-nio-8090-exec-4] [atlassian.confluence.util.AbstractBootstrapHotSwappingFilter] doFilter Could not get swap target filter
-- url: /johnson/data | referer: http://localhost:8090/ | traceId: 004aa09ef40ec678
2023-01-11 10:57:45,681 ERROR [http-nio-8090-exec-3] [atlassian.confluence.util.AbstractBootstrapHotSwappingFilter] doFilter Could not get swap target filter
-- url: /johnson/data | referer: http://localhost:8090/ | traceId: 006872365a570a93
2023-01-11 10:58:01,666 ERROR [http-nio-8090-exec-2] [atlassian.confluence.util.AbstractBootstrapHotSwappingFilter] doFilter Could not get swap target filter
-- url: /johnson/data | referer: http://localhost:8090/ | traceId: 00cb2429ccee0835
2023-01-11 10:58:16,728 ERROR [http-nio-8090-exec-1] [atlassian.confluence.util.AbstractBootstrapHotSwappingFilter] doFilter Could not get swap target filter
-- url: /johnson/data | referer: http://localhost:8090/ | traceId: 0025d76f21310866
2023-01-11 10:58:31,806 ERROR [http-nio-8090-exec-10] [atlassian.confluence.util.AbstractBootstrapHotSwappingFilter] doFilter Could not get swap target filter
-- url: /johnson/data | referer: http://localhost:8090/ | traceId: 00f108e648beace2
2023-01-11 10:58:34,622 ERROR [http-nio-8090-exec-9] [confluence.setup.johnson.WebAppContextPathCheck] check Bootstrap did not initialize.
2023-01-11 10:58:35,054 ERROR [http-nio-8090-exec-8] [atlassian.confluence.util.AbstractBootstrapHotSwappingFilter] doFilter Could not get swap target filter
-- url: /johnson/data | referer: http://supportweb:8090/ | traceId: 001b8996440dde44
2023-01-11 10:58:35,319 ERROR [http-nio-8090-exec-7] [atlassian.confluence.util.AbstractBootstrapHotSwappingFilter] doFilter Could not get swap target filter
-- url: /johnson/fav-confluence.ico | referer: http://supportweb:8090/ | traceId: 004473f2bf51e146
11:00:49 [Catalina-utility-3] o.a.c.c.C.[.[.[/synchrony-proxy][INFO] log - Destroying Spring FrameworkServlet 'dispatcher'
11:00:49 [Catalina-utility-4] o.a.c.c.C.[.[.[.c.path}/synchrony-proxy][INFO] log - Destroying Spring FrameworkServlet 'dispatcher'
2023-01-11 11:00:49,815 ERROR [Catalina-utility-1] [ContainerBase.[Standalone].[localhost].[/]] log Session event listener threw exception
java.lang.NullPointerException
at com.atlassian.confluence.user.listeners.UserSessionExpiryListener.getEventPublisher(UserSessionExpiryListener.java:67)
at com.atlassian.confluence.user.listeners.UserSessionExpiryListener.sessionDestroyed(UserSessionExpiryListener.java:46)
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:806)
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:744)
at org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:395)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5473)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1412)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1401)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Unknown Source)
2023-01-11 11:00:49,815 ERROR [Catalina-utility-1] [ContainerBase.[Standalone].[localhost].[/]] log Session event listener threw exception
java.lang.NullPointerException
at com.atlassian.confluence.user.listeners.UserSessionExpiryListener.getEventPublisher(UserSessionExpiryListener.java:67)
at com.atlassian.confluence.user.listeners.UserSessionExpiryListener.sessionDestroyed(UserSessionExpiryListener.java:46)
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:806)
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:744)
at org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:395)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5473)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1412)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1401)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Unknown Source)
2023-01-11 11:00:50,159 FATAL [Catalina-utility-1] [atlassian.spring.container.SpringContainerContext] getComponent Spring Application context has not been set
2023-01-11 11:00:50,159 WARN [Catalina-utility-1] [atlassian.confluence.plugin.PluginFrameworkContextListener] contextDestroyed Failed to shut down plugin system during ServletContext shutdown: Spring Application context has not been set
2023-01-11 11:00:50,159 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextDestroyed Stopping Confluence
2023-01-11 11:00:50,159 WARN [Catalina-utility-1] [springframework.context.annotation.CommonAnnotationBeanPostProcessor] postProcessBeforeDestruction Destroy method on bean with name 'h2DatabaseManager' threw an exception: io.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NoClassDefFoundError: org/h2/tools/Server

 

Any idéas what could be wrong?

 

2 answers

It looks like the newer versions have stripped support for a local database.  I've just restored a backup to a new instance that uses PostgreSQL.  Working fine.

I have the same issue.  I run a personal Confluence docker image for testing stuff and it's refusing to start.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events