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

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

Bamboo Remote Agent installed As service But startup fails Edited

JAVA_HOME is \jdk 1.8

Agent version is 6.2.5

Here is log,

STATUS | wrapper | 2018/03/20 17:53:27 | --> Wrapper Started as Service
STATUS | wrapper | 2018/03/20 17:53:27 | Launching a JVM...
INFO | jvm 1 | 2018/03/20 17:53:28 | Wrapper (Version 3.2.3-atlassian-1) http://wrapper.tanukisoftware.org
INFO | jvm 1 | 2018/03/20 17:53:28 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
INFO | jvm 1 | 2018/03/20 17:53:28 |
INFO | jvm 1 | 2018/03/20 17:53:28 | WrapperSimpleApp: Unable to locate the class com.atlassian.bamboo.agent.bootstrap.AgentBootstrap: java.lang.UnsupportedClassVersionError: com/atlassian/bamboo/agent/bootstrap/AgentBootstrap : Unsupported major.minor version 52.0
INFO | jvm 1 | 2018/03/20 17:53:28 |
INFO | jvm 1 | 2018/03/20 17:53:28 | WrapperSimpleApp Usage:
INFO | jvm 1 | 2018/03/20 17:53:28 | java org.tanukisoftware.wrapper.WrapperSimpleApp {app_class} [app_arguments]
INFO | jvm 1 | 2018/03/20 17:53:28 |
INFO | jvm 1 | 2018/03/20 17:53:28 | Where:
INFO | jvm 1 | 2018/03/20 17:53:28 | app_class: The fully qualified class name of the application to run.
INFO | jvm 1 | 2018/03/20 17:53:28 | app_arguments: The arguments that would normally be passed to the
INFO | jvm 1 | 2018/03/20 17:53:28 | application.
STATUS | wrapper | 2018/03/20 17:53:30 | <-- Wrapper Stopped

1 answer

2 votes
Mirek Community Leader Mar 20, 2018

You probably have multiple Java versions installed.

Please make sure that the latest one is used by Bamboo. In other words you need to ensure Bamboo is starting up using Java 8, otherwise it won't work. You can force this to always use specific version.. you can do this by editing <BAMBOO_INSTALL>/bin/start-bamboo.sh and edit this line..

JAVA_HOME="your/java/path"

Sorry My question header was not complete. Actually I have installed my Remote Agent as a service in windows but when I tried to start the service I am getting above warning in log.

Mirek's comment was on point - it looks like the agent is starting with a too new version of Java.

Cheers,

Christian

Premier Support Engineer

Atlassian

after changing JAVA_HOME to my java path getting below error

STATUS | wrapper | 2018/03/20 18:52:22 | Starting the Bamboo Remote Agent service...
INFO | wrapper | 2018/03/20 18:52:28 | Waiting to start...
INFO | wrapper | 2018/03/20 18:52:33 | Waiting to start...
INFO | wrapper | 2018/03/20 18:52:38 | Waiting to start...
INFO | wrapper | 2018/03/20 18:52:43 | Waiting to start...
ERROR | wrapper | 2018/03/20 18:52:44 | The Bamboo Remote Agent service was launched, but failed to start.

I even tried with jdk 1.7 but no luck.

Please check your PATH,JAVA_HOME, JAVA_JDK or JAVA_JRE variables. If that is correctly set you can alternatively verify wrapper.java.command located in the file <bamboo-agent-home>/conf/wrapper.conf

wrapper.java.command=%JAVA_HOME%/bin/java
Like Nikos Antonatos likes this

It worked,Thank you @Mirek

Suggest an answer

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

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

587 views 1 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