安裝 DB2 Content Manager 8.3 時出現錯誤代碼 144,安裝日誌(<IBMCMROOT>/log/cminstall.log)記錄關鍵異常:
RMUpdateSSL Exception encountered in process
java.lang.NumberFormatException: For input string: "@@Port@@"
...
cmcfgrmas: DEBUG: runConfigureRM() rc = 144
...
Execution of program "cmcfgrmas.bat" completed with errors. rc = 144
環境:IBM HTTP Server V2.0.47.1 + WebSphere Application Server V5.1。
註:若使用 IBM HTTP Server 2.0.x + WebSphere AS V6,則不會出現此問題。
安裝程式嘗試自動配置 IBM HTTP Server 的 SSL 功能。若 HTTP Server 配置檔 <IBMHttpServer>/conf/httpd.conf 中存在未解析的佔位符:
Listen @@Port@@
RMUpdateSSL 讀取該行時嘗試將 @@Port@@ 解析為整數埠號,導致 NumberFormatException,進而觸發安裝失敗(代碼 144)。
<IBMHttpServer>/conf/httpd.conf 以文字編輯器編輯。Listen @@Port@@ 行,修改為具體埠號(標準 HTTP 埠):
Listen 80
此問題本質是 IBM HTTP Server 2.0 與 WebSphere AS 5.1 組合下,安裝程式無法正確處理配置檔中的變數佔位符。透過將 @@Port@@ 替換為實際埠號 80,即可繞過解析錯誤,順利完成安裝。若後續仍遇問題,請聯繫 IBM 技術支援中心。