Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
Atlassian Team members are employees working across the company in a wide variety of roles.
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
AUG Leaders

Atlassian Community Events