Bamboo not starting on fresh express installation
Asked by Jesus Lopez:

Hello guys,

Im having an issue when starting the new fresh installation of bamboo, basically I have the following error:

2020-08-25 09:46:58,526 WARN \[C3P0PooledConnectionPoolManager\[identityToken-\>2rvxtzaca9pugx6uzy77\|76b5f2ae\]-HelperThread-#0\] \[ThreadPoolAsynchronousRunner\] An Error forced the closing of Thread\[C3P0PooledConnectionPoolManager\[identityToken-\>2rvxtzaca9pugx6uzy77\|76b5f2ae\]-HelperThread-#0,5,main\]. Will attempt to reconstruct, but this might mean that something bad is happening.  
java.lang.ExceptionInInitializerError  
at com.ibm.icu.text.Collator.\<clinit\>(Collator.java:946)  
at java.lang.Class.forName0(Native Method)  
at java.lang.Class.forName(Class.java:264)  
at org.h2.value.CompareMode.\<clinit\>(CompareMode.java:57)  
at org.h2.engine.SessionRemote.\<init\>(SessionRemote.java:95)  
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:1138)  
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1125)  
at com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)  
at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1870)  
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)  
Caused by: java.lang.IllegalArgumentException: Invalid version number: Version number may be negative or greater than 255  
at com.ibm.icu.util.VersionInfo.getInstance(VersionInfo.java:191)  
at com.ibm.icu.impl.ICUDebug.getInstanceLenient(ICUDebug.java:65)  
at com.ibm.icu.impl.ICUDebug.\<clinit\>(ICUDebug.java:69)  
... 17 more  
2020-08-25 09:46:58,526 WARN \[C3P0PooledConnectionPoolManager\[identityToken-\>2rvxtzaca9pugx6uzy77\|76b5f2ae\]-HelperThread-#2\] \[ThreadPoolAsynchronousRunner\] An Error forced the closing of Thread\[C3P0PooledConnectionPoolManager\[identityToken-\>2rvxtzaca9pugx6uzy77\|76b5f2ae\]-HelperThread-#2,5,main\]. Will attempt to reconstruct, but this might mean that something bad is happening.  
java.lang.NoClassDefFoundError: Could not initialize class org.h2.value.CompareMode  
at org.h2.engine.SessionRemote.\<init\>(SessionRemote.java:95)  
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:1138)  
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1125)  
at com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)  
at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1870)  
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)  
2020-08-25 09:46:58,526 WARN \[C3P0PooledConnectionPoolManager\[identityToken-\>2rvxtzaca9pugx6uzy77\|76b5f2ae\]-HelperThread-#1\] \[ThreadPoolAsynchronousRunner\] An Error forced the closing of Thread\[C3P0PooledConnectionPoolManager\[identityToken-\>2rvxtzaca9pugx6uzy77\|76b5f2ae\]-HelperThread-#1,5,main\]. Will attempt to reconstruct, but this might mean that something bad is happening.  
java.lang.NoClassDefFoundError: Could not initialize class org.h2.value.CompareMode  
at org.h2.engine.SessionRemote.\<init\>(SessionRemote.java:95)  
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:1138)  
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1125)  
at com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)  
at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1870)  
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)

I don't really know how to fix it. But it loops on the installation of the DB. Could you please help me? Thanks a lot


Answers:
author: Alexey Chystoprudov
body: It's issue related to Java version, please use 1.8u250 and below, versions 1.8u254+ cause overflow at H2 DB, see <https://jira.atlassian.com/browse/BAM-21018>

Another solution is to use non embedded DB like PostgreSQL or use Bamboo 7.1.1+