Sun Java System Application Server Enterprise Edition 8.2 版本說明

當伺服器以 64 位元模式執行時,無法使用 lbplugin (libpassthrough.so) (ID 6480952)

說明

當以 64 位元模式使用 Web Server 7.0 執行 Application Server Enterprise Edition 8.2 時,嘗試執行負載平衡器外掛程式的 64 位元版本因以下錯誤失敗︰


failure: CORE2253: Error running Init function load-modules: dlopen 
of /export/home/mareks/opt/webserver7/plugins/lbplugin/bin/libpassthrough.so 
failed (ld.so.1: webservd: fatal: /export/home/mareks/opt/webserver7/plugins/
lbplugin/bin/libpassthrough.so: wrong ELF class: ELFCLASS32)
failure: server initialization failed

發生此問題是由於無適用於 Application Server Enterprise Edition 8.2 的 64 位元負載平衡器外掛程式,而 64 位元 Web Server 需要 64 位元外掛程式。

使用以下指令即可判斷 Web Server 是以 64 位元還是 32 位元模式執行︰


wadm get-config-prop --user=admin --config=xxx --password-file=xxx platform

解決方案

目前沒有開發 Application Server Enterprise Edition 8.2 的 64 位元負載平衡器計畫。若要解決此問題,請使用 Web Server 7.0 反向代理功能,或將 Web Server 7.0 重新配置為以 32 位元模式執行。請參閱 Web Server 文件以取得說明。