Bamboo agent 32 bit wrapper and 64 bit java

I'm bringing up my 18th remote agent and I am hitting something I haven't seen.

INFO | jvm 5 | 2016/04/07 10:41:21 | WARNING - Unable to load the Wrapper's native library 'libwrapper.so'.
INFO | jvm 5 | 2016/04/07 10:41:21 | The file is located on the path at the following location but
INFO | jvm 5 | 2016/04/07 10:41:21 | could not be loaded:
INFO | jvm 5 | 2016/04/07 10:41:21 | XXXXXXX/bin/../lib/libwrapper.so
INFO | jvm 5 | 2016/04/07 10:41:21 | Please verify that the fileis readable by the current user
INFO | jvm 5 | 2016/04/07 10:41:21 | and that the file has not been corrupted in any way.
INFO | jvm 5 | 2016/04/07 10:41:21 | One common cause of this problem is running a 32-bit version
INFO | jvm 5 | 2016/04/07 10:41:21 | of the Wrapper with a 64-bit version of Java, or vica versa.
INFO | jvm 5 | 2016/04/07 10:41:21 | This is a 32-bit JVM.

IT did put a 64 bit Java on this machine.  Is there a 64 bit JVM I can download?  Or do I need a different Java?

5 answers

This widget could not be displayed.

Bamboo 5.9.7, btw.

This widget could not be displayed.

INFO | jvm 5 | 2016/04/07 10:41:21 | Reported cause:
INFO | jvm 5 | 2016/04/07 10:41:21 | XXXXXXX/lib/libwrapper.so: XXXXXXX/lib/libwrapper.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)

This widget could not be displayed.

Hi Mark,

Can you please ensure that you have Java 64bit installed in the machine in which you're trying to install the remote agent? Also, please configure JAVA_HOME accordingly.

You can check the Java settings by running the following commands:

  • echo %JAVA_HOME% - if on Windows
  • echo $JAVA_HOME - if on Linux / Mac
  • java -version

I hope this helps!

This widget could not be displayed.

]$ java -d32
Error: This Java instance does not support a 32-bit JVM.
Please install the desired version.

$ echo $JAVA_HOME
/common/local/jre1.7.0_75

This widget could not be displayed.

I deleted the bamboo home and started over.  All I did was change to use a different URL for the agentServer.  Go figure.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

143 views 1 3
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