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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bamboo bootstrap failed: Your Bamboo instance could not start because health check failed.

I am getting this error when trying to start bamboo -

 

You cannot access Bamboo at present. Look at the table below to identify the reasons:

 

Bamboo bootstrap failed: Your Bamboo instance could not start because health check failed. Contact Atlassian Support at https://support.atlassian.com

 

Tried multiple this solution but not worked - 

 

https://community.atlassian.com/t5/Bamboo-questions/Bamboo-bootstrap-failed-Your-Bamboo-instance-could-not-start/qaq-p/774670

 

https://community.atlassian.com/t5/Bamboo-questions/Bamboo-bootstrap-failed-Your-Bamboo-instance-could-not-start/qaq-p/1191234

1 answer

0 votes
Jeyanthan I Atlassian Team Apr 07, 2020

Hi Deepa,

There can be multiple reasons for Bamboo health check to fail. To understand what went wrong, you may go through your <BAMBOO_HOME>/logs/atlassian-bamboo.log. Do you mind sharing the last 50-100 lines here?

Cheers,
Jey

2020-04-07 14:19:18,020 INFO [localhost-startStop-2] [Dispatchers] Dispatcher org.apache.struts2.dispatcher.Dispatcher destroyed
2020-04-07 14:19:18,034 INFO [localhost-startStop-2] [CompressingFilter] CompressingFilter is being destroyed...
2020-04-07 14:19:18,036 INFO [localhost-startStop-2] [Dispatchers] Dispatcher org.apache.struts2.dispatcher.Dispatcher destroyed
2020-04-07 14:19:18,091 INFO [localhost-startStop-2] [BambooPluginManager] Plugin state will no longer be persisted.
2020-04-07 14:21:11,648 INFO [localhost-startStop-1] [BootstrapLoaderListener] Starting BootstrapLoaderListener
2020-04-07 14:21:11,649 INFO [localhost-startStop-1] [lifecycle] *******************************
2020-04-07 14:21:11,649 INFO [localhost-startStop-1] [lifecycle] * Bamboo is starting up *
2020-04-07 14:21:11,649 INFO [localhost-startStop-1] [lifecycle] *******************************
2020-04-07 14:21:11,651 INFO [localhost-startStop-1] [ServletContextHolder] Setting servlet context: Bamboo
2020-04-07 14:21:11,839 INFO [localhost-startStop-1] [lifecycle] atlassian.org.osgi.framework.bootdelegation set to javax.servlet,javax.servlet.*,sun.*,com.sun.*,org.w3c.dom.*,org.apache.xerces.*,org.jboss.byteman.*,jdk.internal.reflect
2020-04-07 14:21:12,164 INFO [localhost-startStop-1] [BootstrapLoaderListener] App classloader is the same as web app classloader
2020-04-07 14:21:14,326 INFO [localhost-startStop-1] [lifecycle] Starting Bamboo 7.0.1 (build #70014 Wed Mar 11 15:07:19 IST 2020) using Java 1.8.0_242 from Private Build
2020-04-07 14:21:14,327 INFO [localhost-startStop-1] [lifecycle] Real path of servlet context: /home/deepasingh/BambooHomeDir/atlassian-bamboo-7.0.1/atlassian-bamboo/
2020-04-07 14:21:14,722 INFO [localhost-startStop-1] [DefaultBootstrapManager] Running validation tasks
2020-04-07 14:21:14,802 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] ----------------------------------------------------------------------
2020-04-07 14:21:14,802 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] 1 : Assert that Bamboo isn't running on HSQL database (post-bootstrap)
2020-04-07 14:21:14,802 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] ----------------------------------------------------------------------
2020-04-07 14:21:14,811 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] Task 1 completed successfully.
2020-04-07 14:21:14,845 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] -------------------------------------------------------------------
2020-04-07 14:21:14,845 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] 2 : Validate that JDBC driver is available in classpath (bootstrap)
2020-04-07 14:21:14,845 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] -------------------------------------------------------------------
2020-04-07 14:21:14,847 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] Task 2 completed successfully.
2020-04-07 14:21:14,857 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] ---------------------------------------------------------------------------
2020-04-07 14:21:14,858 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] 3 : Validate if build number in home directory matches database (bootstrap)
2020-04-07 14:21:14,858 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] ---------------------------------------------------------------------------
2020-04-07 14:21:15,726 INFO [MLog-Init-Reporter] [MLog] MLog clients using slf4j logging.
2020-04-07 14:21:16,009 INFO [localhost-startStop-1] [C3P0Registry] Initializing c3p0-0.9.5.4 [built 23-March-2019 23:00:48 -0700; debug? true; trace: 10]
2020-04-07 14:21:16,244 INFO [localhost-startStop-1] [AbstractPoolBackedDataSource] Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@76d54efb [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@86a03c31 [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, debugUnreturnedConnectionStackTraces -> false, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, identityToken -> z8kfsxa9n9f41s1lw4rgn|5ce80e8d, idleConnectionTestPeriod -> 30, initialPoolSize -> 3, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 120, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 100, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@7a27a4a7 [ description -> null, driverClass -> null, factoryClassLocation -> null, forceUseNamedDriverClass -> false, identityToken -> z8kfsxa9n9f41s1lw4rgn|ad4542f, jdbcUrl -> jdbc:h2:/home/deepasingh/BambooHomeDir/database/h2, properties -> {user=******, password=******} ], preferredTestQuery -> null, privilegeSpawnedThreads -> false, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false; userOverrides: {} ], dataSourceName -> null, extensions -> {}, factoryClassLocation -> null, identityToken -> z8kfsxa9n9f41s1lw4rgn|fa33e06, numHelperThreads -> 3 ]
2020-04-07 14:21:17,403 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] Task 3 completed successfully.
2020-04-07 14:21:17,415 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] -----------------------------------------
2020-04-07 14:21:17,415 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] 4 : Verify Java compatibility (bootstrap)
2020-04-07 14:21:17,415 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] -----------------------------------------
2020-04-07 14:21:17,415 INFO [localhost-startStop-1] [JavaVersionIsSupported] Testing compatibility of Java version 1.8.0_242 with this version of Bamboo.
2020-04-07 14:21:17,415 INFO [localhost-startStop-1] [JavaVersionIsSupported] Detected Java version 1.8.0_242, your version is supported.
2020-04-07 14:21:17,415 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] Task 4 completed successfully.
2020-04-07 14:21:17,425 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] -----------------------------------------------------------------
2020-04-07 14:21:17,425 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] 2901 : Test if build number is applicable for upgrade (bootstrap)
2020-04-07 14:21:17,425 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] -----------------------------------------------------------------
2020-04-07 14:21:17,425 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] Task 2901 completed successfully.
2020-04-07 14:21:17,434 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] ------------------------------------------------------------
2020-04-07 14:21:17,434 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] 2902 : Test if plan keys are correctly formatted (bootstrap)
2020-04-07 14:21:17,434 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] ------------------------------------------------------------
2020-04-07 14:21:17,441 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] Task 2902 completed successfully.
2020-04-07 14:21:17,460 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] -----------------------------------------------------------------------------
2020-04-07 14:21:17,460 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] 4300 : Make sure there's single row in HIBERNATE_UNIQUE_KEY table (bootstrap)
2020-04-07 14:21:17,460 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] -----------------------------------------------------------------------------
2020-04-07 14:21:17,470 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] Task 4300 completed with errors.
2020-04-07 14:21:17,507 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] -------------------------------------------------------------------------------------
2020-04-07 14:21:17,508 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] 4410 : Make sure that all branch keys start with their master's chain key (bootstrap)
2020-04-07 14:21:17,508 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] -------------------------------------------------------------------------------------
2020-04-07 14:21:17,521 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] Task 4410 completed successfully.
2020-04-07 14:21:17,530 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] ---------------------------------------------------------
2020-04-07 14:21:17,530 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] 51010 : Check if lucene index root dir exists (bootstrap)
2020-04-07 14:21:17,530 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] ---------------------------------------------------------
2020-04-07 14:21:17,531 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] Task 51010 completed successfully.
2020-04-07 14:21:17,538 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] -----------------------------------------------------------------------------
2020-04-07 14:21:17,539 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] 51012 : Make sure that MySQL server uses InnoDB engine for tables (bootstrap)
2020-04-07 14:21:17,539 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] -----------------------------------------------------------------------------
2020-04-07 14:21:17,544 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] Task 51012 completed successfully.
2020-04-07 14:21:17,562 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] --------------------------------------------------------------------------
2020-04-07 14:21:17,562 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] 51102 : Make sure server key has been initialized and is valid (bootstrap)
2020-04-07 14:21:17,562 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] --------------------------------------------------------------------------
2020-04-07 14:21:17,562 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] Task 51102 completed successfully.
2020-04-07 14:21:17,571 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] -------------------------------------------
2020-04-07 14:21:17,571 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] 51111 : Verify DB compatibility (bootstrap)
2020-04-07 14:21:17,571 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] -------------------------------------------
2020-04-07 14:21:17,582 INFO [localhost-startStop-1] [DatabaseIsSupported] Testing compatibility of [H2] 1.4.0 (1.4.196 (2017-06-10)) using JDBC driver [H2 JDBC Driver] 1.4.0 (1.4.196 (2017-06-10)) with this version of Bamboo.
2020-04-07 14:21:17,583 INFO [localhost-startStop-1] [DatabaseIsSupported] Detected H2 version [H2] 1.4.0 (1.4.196 (2017-06-10)), your DBMS version is supported.
2020-04-07 14:21:17,583 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] Task 51111 completed successfully.
2020-04-07 14:21:17,602 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] ---------------------------------------------
2020-04-07 14:21:17,602 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] 51210 : Verify file name encoding (bootstrap)
2020-04-07 14:21:17,602 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] ---------------------------------------------
2020-04-07 14:21:17,606 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] Task 51210 completed successfully.
2020-04-07 14:21:17,615 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] ---------------------------------------------------------------------------
2020-04-07 14:21:17,616 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] 51301 : Test if collation and commit isolation is set correctly (bootstrap)
2020-04-07 14:21:17,616 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] ---------------------------------------------------------------------------
2020-04-07 14:21:17,616 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] Task 51301 completed successfully.
2020-04-07 14:21:17,624 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] ----------------------------------------------------------------
2020-04-07 14:21:17,624 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] 51302 : Check that MySQL tables are case insensitive (bootstrap)
2020-04-07 14:21:17,625 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] ----------------------------------------------------------------
2020-04-07 14:21:17,631 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] Task 51302 completed successfully.
2020-04-07 14:21:17,646 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] ---------------------------------------------------------------------------------------
2020-04-07 14:21:17,646 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] 51404 : Make sure OSGi bundle cache directory is empty, clean it if needed. (bootstrap)
2020-04-07 14:21:17,646 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] ---------------------------------------------------------------------------------------
2020-04-07 14:21:17,665 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] Task 51404 completed successfully.
2020-04-07 14:21:17,682 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] -------------------------------------------------------------------
2020-04-07 14:21:17,682 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] 60001 : Make sure JNDI location of mail server is valid (bootstrap)
2020-04-07 14:21:17,682 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] -------------------------------------------------------------------
2020-04-07 14:21:17,683 INFO [localhost-startStop-1] [MailServerJndiLocationIsValid] Validating JNDI location of mail server in configuration file '/home/deepasingh/BambooHomeDir/bamboo-mail.cfg.xml'.
2020-04-07 14:21:17,744 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] Task 60001 completed successfully.
2020-04-07 14:21:17,763 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] ---------------------------------------------------------------------------------------------
2020-04-07 14:21:17,763 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] 60601 : Validate existing Atlassian User directories for Embedded Crowd migration (bootstrap)
2020-04-07 14:21:17,763 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] ---------------------------------------------------------------------------------------------
2020-04-07 14:21:17,767 INFO [localhost-startStop-1] [AbstractDbmsBean] Detected schema: PUBLIC
2020-04-07 14:21:17,794 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] Task 60601 completed successfully.
2020-04-07 14:21:17,919 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] ---------------------------------------------------------------------------------------------
2020-04-07 14:21:17,919 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] 60602 : Validate existing Atlassian User directories for Embedded Crowd migration (bootstrap)
2020-04-07 14:21:17,919 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] ---------------------------------------------------------------------------------------------
2020-04-07 14:21:17,935 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] Task 60602 completed successfully.
2020-04-07 14:21:17,935 FATAL [localhost-startStop-1] [DefaultBootstrapManager] Validation tests failed: [Task 4300 failed:, com.atlassian.bamboo.upgrade.tasks.validation.ThereIsSingleRowInHibernateUniqueKeyTable: multiple entries in the HIBERNATE_UNIQUE_KEY table]
2020-04-07 14:21:18,030 FATAL [localhost-startStop-1] [DefaultBootstrapManager] Validation tests failed: Your Bamboo instance could not start because health check failed. Contact Atlassian Support at https://support.atlassian.com
2020-04-07 14:21:18,035 INFO [localhost-startStop-1] [lifecycle] Bamboo home directory: /home/deepasingh/BambooHomeDir
2020-04-07 14:21:18,035 INFO [localhost-startStop-1] [lifecycle] Default charset: UTF-8, file name ecoding: UTF-8
2020-04-07 14:21:18,055 INFO [localhost-startStop-1] [UpgradeLauncher] Upgrades not performed since the application has not been set up yet.
2020-04-07 14:21:18,110 INFO [localhost-startStop-1] [CompressingFilter] CompressingFilter has initialized
2020-04-07 14:21:19,401 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
2020-04-07 14:21:21,558 INFO [localhost-startStop-1] [Dispatchers] Dispatcher org.apache.struts2.dispatcher.Dispatcher initialised
2020-04-07 14:21:21,729 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
2020-04-07 14:21:23,040 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
2020-04-07 14:21:23,312 INFO [localhost-startStop-1] [Dispatchers] Dispatcher org.apache.struts2.dispatcher.Dispatcher initialised
2020-04-07 14:21:23,507 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
2020-04-07 14:21:24,172 INFO [http-nio-8085-exec-1] [JohnsonFilter] The application is still starting up, or there are errors. Redirecting request from '/start.action' to '/error/errorEvents.action'
2020-04-07 14:21:24,172 INFO [http-nio-8085-exec-2] [JohnsonFilter] The application is still starting up, or there are errors. Redirecting request from '/start.action' to '/error/errorEvents.action'

Jeyanthan I Atlassian Team Apr 07, 2020

Thanks for sharing.

2020-04-07 14:21:17,935 FATAL [localhost-startStop-1] [DefaultBootstrapManager] Validation tests failed: [Task 4300 failed:, com.atlassian.bamboo.upgrade.tasks.validation.ThereIsSingleRowInHibernateUniqueKeyTable: multiple entries in the HIBERNATE_UNIQUE_KEY table]

 The error above indicates there are multiple entries in the HIBERNATE_UNIQUE_KEY table, when Bamboo is expecting only a single row.

Please follow the instructions here to resolve this error.

Cheers,
Jey

Hi,

 

I am facing same problem with different errors.

can you please tell me what is a issue. 

 

com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1163)
at com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)
at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1908)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)
Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/deepasingh/BambooHomeDir7/database/h2.mv.db [1.4.196/7]
at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765)
at org.h2.mvstore.FileStore.open(FileStore.java:173)
at org.h2.mvstore.MVStore.<init>(MVStore.java:347)
at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930)
at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155)
... 23 more
2020-05-29 12:18:49,583 WARN [C3P0PooledConnectionPoolManager[identityToken->z8kfsxaaqemtahr38dx2|eb9e9d]-HelperThread-#0] [BasicResourcePool] Having failed to acquire a resource, com.mchange.v2.resourcepool.BasicResourcePool@56d94a2d is interrupting all Threads waiting on a resource to check out. Will try again in response to new client requests.
2020-05-29 12:18:49,584 WARN [C3P0PooledConnectionPoolManager[identityToken->z8kfsxaaqemtahr38dx2|eb9e9d]-HelperThread-#2] [BasicResourcePool] com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@87cb3cd -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:
org.h2.jdbc.JdbcSQLException: Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode [90020-196]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
at org.h2.message.DbException.get(DbException.java:168)
at org.h2.mvstore.db.MVTableEngine$Store.convertIllegalStateException(MVTableEngine.java:188)
at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:168)
at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100)
at org.h2.engine.Database.getPageStore(Database.java:2476)
at org.h2.engine.Database.open(Database.java:697)
at org.h2.engine.Database.openDatabase(Database.java:276)
at org.h2.engine.Database.<init>(Database.java:270)
at org.h2.engine.Engine.openSession(Engine.java:64)
at org.h2.engine.Engine.openSession(Engine.java:176)
at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154)
at org.h2.engine.Engine.createSession(Engine.java:137)
at org.h2.engine.Engine.createSession(Engine.java:27)
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:116)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:100)
at org.h2.Driver.connect(Driver.java:69)
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:175)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203)
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1176)
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1163)
at com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)
at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1908)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)
Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/deepasingh/BambooHomeDir7/database/h2.mv.db [1.4.196/7]
at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765)
at org.h2.mvstore.FileStore.open(FileStore.java:173)
at org.h2.mvstore.MVStore.<init>(MVStore.java:347)
at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930)
at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155)
... 23 more
2020-05-29 12:18:49,585 WARN [C3P0PooledConnectionPoolManager[identityToken->z8kfsxaaqemtahr38dx2|eb9e9d]-HelperThread-#2] [BasicResourcePool] Having failed to acquire a resource, com.mchange.v2.resourcepool.BasicResourcePool@56d94a2d is interrupting all Threads waiting on a resource to check out. Will try again in response to new client requests.
2020-05-29 12:19:21,183 ERROR [atlassian-scheduler-quartz2.local_Worker-1] [RemoteDirectoryInstanceFactoryUtil] Illegal access: this web application instance has been stopped already. Could not load [com.atlassian.crowd.directory.InternalDirectory]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
java.lang.ClassNotFoundException: Illegal access: this web application instance has been stopped already. Could not load [com.atlassian.crowd.directory.InternalDirectory]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1368)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1218)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1180)
at com.atlassian.crowd.util.SpringContextInstanceFactory.getInstance(SpringContextInstanceFactory.java:21)
at com.atlassian.crowd.util.SpringContextInstanceFactory.getInstance(SpringContextInstanceFactory.java:17)
at com.atlassian.crowd.directory.loader.RemoteDirectoryInstanceFactoryUtil.newRemoteDirectory(RemoteDirectoryInstanceFactoryUtil.java:36)
at com.atlassian.crowd.directory.loader.InternalDirectoryInstanceLoaderImpl.getRawDirectory(InternalDirectoryInstanceLoaderImpl.java:39)
at com.atlassian.crowd.directory.loader.InternalDirectoryInstanceLoaderImpl.getRawDirectory(InternalDirectoryInstanceLoaderImpl.java:28)
at com.atlassian.crowd.directory.loader.AbstractDirectoryInstanceLoader.getDirectory(AbstractDirectoryInstanceLoader.java:16)
at com.atlassian.crowd.directory.loader.InternalDirectoryInstanceLoaderImpl.getDirectory(InternalDirectoryInstanceLoaderImpl.java:53)
at com.atlassian.crowd.directory.loader.InternalDirectoryInstanceLoaderImpl.getDirectory(InternalDirectoryInstanceLoaderImpl.java:28)
at com.atlassian.crowd.directory.loader.DelegatingDirectoryInstanceLoaderImpl.getDirectory(DelegatingDirectoryInstanceLoaderImpl.java:67)
at com.atlassian.crowd.manager.directory.monitor.DirectoryMonitorRefresherJob.lambda$runJob$0(DirectoryMonitorRefresherJob.java:100)
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:269)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566)
at com.atlassian.crowd.manager.directory.monitor.DirectoryMonitorRefresherJob.runJob(DirectoryMonitorRefresherJob.java:107)
at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:134)
at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:106)
at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:90)
at com.atlassian.scheduler.quartz2.Quartz2Job.execute(Quartz2Job.java:28)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [com.atlassian.crowd.directory.InternalDirectory]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1378)
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1366)
... 27 more
2020-05-29 12:19:21,184 WARN [atlassian-scheduler-quartz2.local_Worker-1] [DirectoryMonitorRefresherJob] Unable to instantiate directory 65537 when updating synchronisation schedules

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center is here!

G’day Bamboo customers, The wait is over! Bamboo Data Center edition you have been asking for is finally here! This self-managed enterprise offering of Bamboo has the resilience, reliability, and s...

548 views 1 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you