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

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

要約

問題

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

更新日時: September 26, 2025

さらにヘルプが必要ですか?

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