How do I resolve fatal error "Could not load bootstrap from environment"
Asked by Greg Post:

Completed successful install of Confluence Server 7.0.2. Unable to launch, receive fatal error. PC running 64-bit, Windows 10 OS

**Description**: Could not load bootstrap from environment

**Exception**: JdbcSQLException: Row not found when trying to delete from index """"".I360: ( /\* key:7143451 \*/ 7143451, 'TaskQueueFlushJob', TIMESTAMP '2019-07-05 23:21:45.562', 6, 'S', 'Executed tasks for queue com.atlassian.core.task.DefaultTaskQueue@276b461')" \[90112-196\]


Answers:
author: Kurt Klinner
body: Hi Greg

i assume you use the H2 database - right?

Are there any other exceptions reported in the logs

Cheers

Kurt

comments: author: Greg Post
body: Hi Kurt, thanks for your reply. Apologize my last response didn't go through.  

Yes, using H2 db.

**atlassian-confluence.log**

2019-10-02 18:39:58,278 ERROR \[localhost-startStop-4\] \[atlassian.confluence.setup.ConfluenceListableBeanFactory\] destroyBean Destroy method on bean with name 'boostingQueryFactory' threw an exception  
com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Unable to create a tracker when osgi is not running

**confluence-stderr.log**

2019-10-05 09:51:09 Commons Daemon procrun stderr initialized  
05-Oct-2019 09:51:11.963 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match \[Server\] failed to set property \[debug\] to \[0\]  
05-Oct-2019 09:51:11.994 WARNING \[main\] org.apache.catalina.startup.SetAllPropertiesRule.begin \[SetAllPropertiesRule\]{Server/Service/Connector} Setting property 'debug' to '0' did not find a matching property.  
05-Oct-2019 09:51:12.009 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match \[Server/Service/Engine\] failed to set property \[debug\] to \[0\]  
05-Oct-2019 09:51:12.009 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match \[Server/Service/Engine/Host\] failed to set property \[debug\] to \[0\]

**confluence-stdout.log**

2019-10-05 09:51:22,055 ERROR \[Catalina-utility-1\] \[atlassian.confluence.setup.ConfluenceConfigurationListener\] contextInitialized An error was encountered while bootstrapping Confluence (see below):  
Cannot connect to h2db  
java.lang.RuntimeException: Cannot connect to h2db  
at com.atlassian.h2.DatabaseCreatingServerLifecycle.start(DatabaseCreatingServerLifecycle.java:57)  
at com.atlassian.confluence.core.persistence.hibernate.ConfluenceHibernateConfig.getHibernateProperties(ConfluenceHibernateConfig.java:51)  
at com.atlassian.confluence.setup.DefaultBootstrapManager.getHibernateProperties(DefaultBootstrapManager.java:634)  
at com.atlassian.confluence.setup.DefaultBootstrapManager.performPersistenceUpgrade(DefaultBootstrapManager.java:318)  
at com.atlassian.config.bootstrap.DefaultAtlassianBootstrapManager.init(DefaultAtlassianBootstrapManager.java:81)  
at com.atlassian.confluence.setup.DefaultBootstrapManager.init(DefaultBootstrapManager.java:188)  
at com.atlassian.config.util.BootstrapUtils.init(BootstrapUtils.java:36)  
at com.atlassian.confluence.setup.ConfluenceConfigurationListener.initialiseBootstrapContext(ConfluenceConfigurationListener.java:133)  
at com.atlassian.confluence.setup.ConfluenceConfigurationListener.contextInitialized(ConfluenceConfigurationListener.java:64)  
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4682)  
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5143)  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)  
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)  
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)  
at java.util.concurrent.FutureTask.run(FutureTask.java:266)  
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)  
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)  
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)  
at java.lang.Thread.run(Thread.java:748)  
Caused by: org.h2.jdbc.JdbcSQLException: Row not found when trying to delete from index """"".I360: ( /\* key:7143451 \*/ 7143451, 'TaskQueueFlushJob', TIMESTAMP '2019-07-05 23:21:45.562', 6, 'S', 'Executed tasks for queue


Tags: confluence-server

server