Bamboo wont start: ERROR [Finalizer] [FelixOsgiContainerManager] JarContent: Unable to read bytes

Our copy of Bamboo will no longer start. Checking $BAMBOO_HOME/logs/atlassian-bamboo.log contains this exception (the first before a couple more and then bamboo shuts itself down):

I really need to get this fixed as we need to push live today! Argh!

2014-06-30 10:19:00,797 ERROR [Finalizer] [FelixOsgiContainerManager] JarContent: Unable to read bytes.

java.lang.IllegalStateException: zip file closed

at java.util.zip.ZipFile.ensureOpen(ZipFile.java:634)

at java.util.zip.ZipFile.getEntry(ZipFile.java:305)

at java.util.jar.JarFile.getEntry(JarFile.java:226)

at org.apache.felix.framework.util.JarFileX.getEntry(JarFileX.java:61)

at org.apache.felix.framework.cache.JarContent.getEntryAsBytes(JarContent.java:120)

at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1738)

at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:716)

at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)

at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

at org.apache.http.impl.conn.PoolingClientConnectionManager.shutdown(PoolingClientConnectionManager.java:284)

at org.apache.http.impl.conn.PoolingClientConnectionManager.finalize(PoolingClientConnectionManager.java:121)

at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)

at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:101)

at java.lang.ref.Finalizer.access$100(Finalizer.java:32)

at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:190)

2 answers

1 accepted

Thankfully we run our servers on VMWare. I was unable to resolve this issue so in the end had to revert to a previous snapshot from last week. Not ideal and not an option available to everybody, but it did resolve the issue for us.

I've deleted the cache directories and restarted Bamboo, but to no avail; still the same messages output to the log. I read online that Bamboo has a safe mode that will start it without any user installed plugins, but I can't find how I would start bamboo in start mode from the command line. Any suggestions?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,581 views 0 6
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you