Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Unable to start bamboo server - permissions issue

Hi,

I am getting the following issue when tried to start the Bamboo server.

 

2018-05-14 09:36:14,559 WARN [localhost-startStop-1] [DefaultListableBeanFactory] Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'immutablePlanManager' defined in class path resource [applicationContextManagers.xml]: Cannot create inner bean 'com.atlassian.bamboo.plan.cache.ImmutablePlanManagerImpl#2b3ab7ac' of type [com.atlassian.bamboo.plan.cache.ImmutablePlanManagerImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.plan.cache.ImmutablePlanManagerImpl#2b3ab7ac' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'labelManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'labelManager' defined in class path resource [applicationContextManagers.xml]: Cannot create inner bean 'com.atlassian.bamboo.labels.LabelManagerImpl#a94eb50' of type [com.atlassian.bamboo.labels.LabelManagerImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.labels.LabelManagerImpl#a94eb50' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'buildResultsIndexer' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'buildResultsIndexer' defined in class path resource [applicationContextManagers.xml]: Cannot create inner bean 'com.atlassian.bamboo.index.buildresult.DefaultBuildResultsIndexer#14a437ac' of type [com.atlassian.bamboo.index.buildresult.DefaultBuildResultsIndexer] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.index.buildresult.DefaultBuildResultsIndexer#14a437ac' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'buildResultLuceneConnection' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'buildResultLuceneConnection' defined in class path resource [applicationContextManagers.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.bamboo.index.LuceneConnectionImpl]: Constructor threw exception; nested exception is com.atlassian.bonnie.LuceneException: org.apache.lucene.store.LockReleaseFailedException: Cannot forcefully unlock a NativeFSLock which is held by another indexer component: /media/atlassian-data/data/bamboo/current/index/results/write.lock

 

Please let me know what is causing it?

 

Warm regards,

Javed Gardezi

1 answer

0 votes
Robert W Atlassian Team May 14, 2018

Hi Javed,

 

 

We most often see this error when an incorrect or incompatible version of Java is installed on the system.  What version of the JAVA jdk do you have installed?

Hi @Robert W

Thank you for your reply. Below are the details of the JAVA jdk version installed on Bamboo server.

JDK 1.8
atlassian-bamboo-6.4.0

However, I have resolved the problem. Still time to time I get issue on the Bamboo server when I restart the server.

The way I have resolved the issue is, first in the installation directory search for all the `write.lock`

find . -name "write.lock"

After that I have delete the lock file

> rm -r ./data/bamboo/current/index/search/write.lock
> rm -r ./data/bamboo/current/index/version/write.lock
> rm -r ./data/bamboo/current/index/results/write.lock

 

Warm regards,

Javed Gardezi

Suggest an answer

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

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

190 views 4 6
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