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

Cannot start Bamboo - Could not create the Java Virtual Machine

I've just installed Bamboo 6.6.2 and I cannot start it:

 

$ ./bin/start-bamboo.sh

To run Bamboo in the foreground, start the server with start-bamboo.sh -fg

Server startup logs are located in /opt/atlassian-bamboo-6.6.2/logs/catalina.out

Bamboo Server Edition
Version : 6.6.2


If you encounter issues starting or stopping Bamboo Server, please see the Troubleshooting guide at https://confluence.atlassian.com/display/BAMBOO/Installing+and+upgrading+Bamboo

Using CATALINA_BASE: /opt/atlassian-bamboo-6.6.2
Using CATALINA_HOME: /opt/atlassian-bamboo-6.6.2
Using CATALINA_TMPDIR: /opt/atlassian-bamboo-6.6.2/temp
Using JRE_HOME: /usr/lib/jvm/java-10-oracle
Using CLASSPATH: /opt/atlassian-bamboo-6.6.2/bin/bootstrap.jar:/opt/atlassian-bamboo-6.6.2/bin/tomcat-juli.jar
Tomcat started.

 

but 

$ curl http://localhost:8085/

curl: (7) Failed to connect to localhost port 8085: Connection refused

 

Java was installed following these instructions: https://www.linuxuprising.com/2018/04/install-oracle-java-10-in-ubuntu-or.html

 

$ java --version

java 10.0.2 2018-07-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)

 

$ echo $JAVA_HOME
/usr/lib/jvm/java-10-oracle

 

$ cat logs/catalina.out
-Djava.endorsed.dirs=/opt/atlassian-bamboo-6.6.2/endorsed is not supported. Endorsed standards and standalone APIs
in modular form will be supported via the concept of upgradeable modules.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

 

Any pointer how could I fix this?

 

1 answer

Replacing the Oracle Java with Open JDK solved the problem.

 

sudo apt-get install openjdk-8-jdk

rsperafico Atlassian Team Sep 17, 2018

Hi @Gabor Szabo,

The issue reported is not related to replacing Oracle Java with OpenJDK as Atlassian Bamboo runs with both. Instead, the issue was related to the Java version you were running:

$ java --version

java 10.0.2 2018-07-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)

When you installed the suggested Java version (1.8) as per described in our https://confluence.atlassian.com/display/BAMBOO/Supported+platforms this resolved the issue.

Thanks,

Rafael

Like Steffen Opel _Utoolity_ likes this

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 ...

220 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