Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,135
Community Members
 
Community Events
168
Community Groups

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 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

311 views 0 7
Read article

Atlassian Community Events