Bamboo remote agent - WARNING - Unable to load the Wrapper's native library 'wrapper.dll'

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

問題

Remote agent will not start due to 32-bit wrapper running with 64-bit version of Java:

The following appears in the bamboo-agent-home/log/atlassian-bamboo.log

INFO   | jvm 1    | 2016/10/27 15:33:45 | WARNING - Unable to load the Wrapper's native library 'wrapper.dll'.
INFO   | jvm 1    | 2016/10/27 15:33:45 |           The file is located on the path at the following location but
INFO   | jvm 1    | 2016/10/27 15:33:45 |           could not be loaded:
INFO   | jvm 1    | 2016/10/27 15:33:45 |             E:\bamboo-agent-home\bin\..\lib\wrapper.dll
INFO   | jvm 1    | 2016/10/27 15:33:45 |           Please verify that the file is readable by the current user
INFO   | jvm 1    | 2016/10/27 15:33:45 |           and that the file has not been corrupted in any way.
INFO   | jvm 1    | 2016/10/27 15:33:45 |           One common cause of this problem is running a 32-bit version
INFO   | jvm 1    | 2016/10/27 15:33:45 |           of the Wrapper with a 64-bit version of Java, or vica versa.
INFO   | jvm 1    | 2016/10/27 15:33:45 |           This is a 32-bit JVM.
INFO   | jvm 1    | 2016/10/27 15:33:45 |           Reported cause:
INFO   | jvm 1    | 2016/10/27 15:33:45 |             wrapper (Not found in java.library.path)
INFO   | jvm 1    | 2016/10/27 15:33:45 |           System signals will not be handled correctly.

診断

環境

  • Verify current JAVA_HOME environment variable bits set on the remote agent server

診断ステップ

# Linux
echo $JAVA_HOME
 
# Windows
echo %JAVA_HOME%

原因

64-bit Java version installed is not compatible with the 32-bit wrapper.dll

ソリューション

Update the <bamboo-agent-home>/conf/wrapper.conf file's wrapper.java.command to the below settings:

wrapper.java.command=$JAVA_HOME\bin\java

 

 

最終更新日 2017 年 11 月 30 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.