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

Bamboo agent 32 bit wrapper and 64 bit java

Mark Wolff April 7, 2016

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

0 votes
Mark Wolff April 8, 2016

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

0 votes
Mark Wolff April 8, 2016

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

0 votes
Felipe Kraemer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 7, 2016

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!

0 votes
Mark Wolff April 7, 2016

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
Mark Wolff April 7, 2016

Bamboo 5.9.7, btw.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events