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

Bamboo 5.9.7, btw.

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)

0 votes

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!

]$ 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

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
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,346 views 21 17
View question

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