Can't restart Bamboo
Asked by Thomas:

Hi

I have a problem with bamboo. We had some serverissues, after restarting the server i restart jira, confluence and stash but got following log on bamboo.

Starting Bamboo using Java 1.6.0_32 from Sun Microsystems Inc.

Starting Bamboo using Java 1.6.0_32 from Sun Microsystems Inc.

Port = 8085

Web App = webapp

contextPath = /

2013-03-28 00:23:52.512:INFO:oejs.Server:jetty-7.6.2.v20120308

2013-03-28 00:23:59,170 INFO \[main\] \[lifecycle\] Starting Bamboo 4.4.1 (build #3502 Tue Feb 05 12:07:59 CET 2013) using Java 1.6.0_32 from Sun Microsystems Inc.

2013-03-28 00:23:59,171 INFO \[main\] \[lifecycle\] Real path of servlet context: /var/atlassian/application-data/atlassian-bamboo-4.4.1/webapp

2013-03-28 00:23:59,316 INFO \[main\] \[DefaultAtlassianBootstrapManager\] Running pre-bootstrap validation tasks

2013-03-28 00:23:59,316 INFO \[main\] \[DefaultAtlassianBootstrapManager\] Running pre-bootstrap upgrade tasks

2013-03-28 00:23:59,316 INFO \[main\] \[lifecycle\] Using bamboo.home: /var/atlassian/application-data/bamboo_home

2013-03-28 00:23:59.324:INFO:/:Initializing Spring root WebApplicationContext

2013-03-28 00:24:00,986 INFO \[main\] \[BambooBootstrapPlaceholderConfigurer\] Loading properties file from class path resource \[bamboo-init.properties\]

2013-03-28 00:24:02,811 WARN \[main\] \[CustomType\] custom type does not implement Serializable: class com.atlassian.bamboo.security.acegi.acls.HibernateSidUserType

2013-03-28 00:24:02,811 WARN \[main\] \[CustomType\] custom type does not implement Serializable: class com.atlassian.bamboo.security.acegi.acls.HibernateSidUserType

2013-03-28 00:24:02,812 WARN \[main\] \[CustomType\] custom type does not implement Serializable: class com.atlassian.bamboo.security.acegi.acls.HibernatePermissionUserType

2013-03-28 00:24:02,956 INFO \[main\] \[ConfigurableLocalSessionFactoryBean\] Building new Hibernate SessionFactory

2013-03-28 00:24:03,054 INFO \[main\] \[MLog\] MLog clients using log4j logging.

2013-03-28 00:24:03,265 INFO \[main\] \[C3P0Registry\] Initializing c3p0-0.9.1.2 \[built 21-May-2007 15:04:56; debug? true; trace: 10\]

2013-03-28 00:24:03,340 INFO \[main\] \[AbstractPoolBackedDataSource\] Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@ce8470d9 \[ connectionPoolDataSource -\> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@de6dd5dc \[ acquireIncrement -\> 1, acquireRetryAttempts -\> 30, acquireRetryDelay -\> 1000, autoCommitOnClose -\> false, automaticTestTable -\> null, breakAfterAcquireFailure -\> false, checkoutTimeout -\> 0, connectionCustomizerClassName -\> null, connectionTesterClassName -\> com.mchange.v2.c3p0.impl.DefaultConnectionTester, debugUnreturnedConnectionStackTraces -\> false, factoryClassLocation -\> null, forceIgnoreUnresolvedTransactions -\> false, identityToken -\> cscc6c8t1cbotjlmqcdd7\|14681070, idleConnectionTestPeriod -\> 100, initialPoolSize -\> 0, maxAdministrativeTaskTime -\> 0, maxConnectionAge -\> 0, maxIdleTime -\> 30, maxIdleTimeExcessConnections -\> 0, maxPoolSize -\> 100, maxStatements -\> 0, maxStatementsPerConnection -\> 0, minPoolSize -\> 0, nestedDataSource -\> com.mchange.v2.c3p0.DriverManagerDataSource@2f40cb8d \[ description -\> null, driverClass -\> null, factoryClassLocation -\> null, identityToken -\> cscc6c8t1cbotjlmqcdd7\|2a3714c9, jdbcUrl -\> jdbc:hsqldb:/var/atlassian/application-data/bamboo_home/database/defaultdb, properties -\> {user=\*\*\*\*\*\*, password=\*\*\*\*\*\*} \], preferredTestQuery -\> null, propertyCycle -\> 0, testConnectionOnCheckin -\> false, testConnectionOnCheckout -\> false, unreturnedConnectionTimeout -\> 0, usesTraditionalReflectiveProxies -\> false; userOverrides: {} \], dataSourceName -\> null, factoryClassLocation -\> null, identityToken -\> cscc6c8t1cbotjlmqcdd7\|7afa0094, numHelperThreads -\> 3 \]

2013-03-28 00:24:18,969 WARN \[main\] \[EhCacheProvider\] Could not find configuration \[com.atlassian.user.impl.hibernate.DefaultHibernateExternalEntity\]; using defaults.

2013-03-28 00:24:18,970 WARN \[main\] \[EhCacheProvider\] Could not find configuration \[com.atlassian.user.impl.hibernate.DefaultHibernateExternalEntity.groups\]; using defaults.

2013-03-28 00:24:18,970 WARN \[main\] \[EhCacheProvider\] Could not find configuration \[bucket.user.propertyset.BucketPropertySetItem\]; using defaults.

2013-03-28 00:24:23,184 WARN \[main\] \[EhCacheProvider\] Could not find configuration \[net.sf.hibernate.cache.UpdateTimestampsCache\]; using defaults.

2013-03-28 00:24:23,185 WARN \[main\] \[EhCacheProvider\] Could not find configuration \[net.sf.hibernate.cache.StandardQueryCache\]; using defaults.

2013-03-28 00:24:46,967 WARN \[main\] \[CustomType\] custom type does not implement Serializable: class com.atlassian.bamboo.security.acegi.acls.HibernateSidUserType

2013-03-28 00:24:46,968 WARN \[main\] \[CustomType\] custom type does not implement Serializable: class com.atlassian.bamboo.security.acegi.acls.HibernateSidUserType

2013-03-28 00:24:46,968 WARN \[main\] \[CustomType\] custom type does not implement Serializable: class com.atlassian.bamboo.security.acegi.acls.HibernatePermissionUserType

2013-03-28 00:25:09,752 INFO \[main\] \[LuceneConnectionImpl\] Ensuring the index directory is valid

2013-03-28 00:25:28,633 INFO \[main\] \[SchedulerSignalerImpl\] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl

2013-03-28 00:25:28,633 INFO \[main\] \[QuartzScheduler\] Quartz Scheduler v.1.6.5 created.

2013-03-28 00:25:28,634 INFO \[main\] \[RAMJobStore\] RAMJobStore initialized.

2013-03-28 00:25:28,635 INFO \[main\] \[StdSchedulerFactory\] Quartz scheduler 'QuartzScheduler' initialized from an externally provided properties instance.

2013-03-28 00:25:28,635 INFO \[main\] \[StdSchedulerFactory\] Quartz scheduler version: 1.6.5

2013-03-28 00:25:28,635 INFO \[main\] \[QuartzScheduler\] JobFactory set to: com.atlassian.bamboo.quartz.AutowiringJobFactory@588980b7

2013-03-28 00:25:28,635 INFO \[main\] \[QuartzScheduler\] Scheduler QuartzScheduler_$_NON_CLUSTERED started.

I hope anyone can help.

Thx Thomas


Answers:
author: Sultan Maiyaki
body: We are currenttly investigating this issue from support channel were we noticed some corruption in the plugin cache and GC overhead limit. We are currently clearing the cache and see if it is neccessry to increase the RAM after that

comments: author: Thomas
body: Shutdown BambooBlow of the following folders as they will be recreated upon startup: HOME/bundled-plugins,HOME/caches,HOME/index,HOME/temp, and HOME/jms-storeRestart BambooIf the problem persist, repeat steps 1-2 again and increase the RAM allocation by editing the wrapper.conf file and changing the linewrapper.java.additional.4=-Xmx512mtowrapper.java.additional.4=-Xmx1024mThx for this perfect support!