bitbucket 4.7.1 fails to start after install

I'm new at Bitbucket and did a fresh install of Bitbucket Server on 64 bit Redhat linux system with the recommended installer. Unfortunatelly the server will not start without errors.

I get stacktrace in catalina.log:

ERROR: Unable to start system bundle. (java.lang.StackOverflowError: operating system stack overflow)
rg.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
java.lang.StackOverflowErrorROR: Unable to start system bundle

Information on different pages mention problems with startup Bitbucket but non of them seems to apply to my instance.


What did I try:

  • reinstall
  • reinstall perl and git
  • checked config



3 answers

1 accepted

We are running java version "1.8.0" Java(TM) SE Runtime Environment (build pxa6480sr3-20160428_01(SR3)) IBM J9 VM (build 2.8, JRE 1.8.0 Linux amd64-64 Compressed References 20160427_301573 (JIT enabled, AOT enabled) J9VM - R28_Java8_SR3_20160427_1620_B301573 JIT  - GC   - R28_Java8_SR3_20160427_1620_B301573_CMPRSS J9CL - 20160427_301573) JCL - 20160421_01 based on Oracle jdk8u91-b14


I think this is another Java-taste - IBM Java - and don't know if it is compatible with Oracle JDK or OpenJDK.

We are going to install Oracle Java and see what happens. I will provide new info once I have it.

0 vote

Are you using the correct JAVA version?

Hello Maarten,

did you solve this problem? I had the same problem with JIRA and we use also the IBM-Java. (It is a company 





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
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,819 views 26 12
Join discussion

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