設定檔建立過程中途卡住 Websphere

設定檔建立過程中途卡住 Websphere

我正在 Linux Mint 12、WAS 8.0 網路部署試用版上建立單元設定檔。但是使用manageProfiles.sh或設定檔管理工具,我無法建立任何設定檔(單元格,應用程式...)。當我檢查日誌檔案時,設定檔建立過程總是中途停止(不顯示任何錯誤,只是卡在那裡)。日誌總是這樣

<record>
    <date>2012-11-02T04:11:15</date>
    <millis>1351847475108</millis>
    <sequence>2985</sequence>
    <logger>com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter</logger>
    <level>INFO</level>
    <class>com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter</class>
    <method>messageLogged</method>
    <thread>0</thread>
    <message>replacing value for user.install.root (null) with (/opt/IBM/WebSphere/AppServer/profiles)</message>
</record>
<record>
    <date>2012-11-02T04:11:15</date>
    <millis>1351847475108</millis>
    <sequence>2986</sequence>
    <logger>com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter</logger>
    <level>INFO</level>
    <class>com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter</class>
    <method>messageLogged</method>
    <thread>0</thread>
    <message>replacing value for was.install.root (/opt/IBM/WebSphere/AppServer) with (/opt/IBM/WebSphere/AppServer)</message>
</record>
<record>
    <date>2012-11-02T04:11:15</date>
    <millis>1351847475108</millis>
    <sequence>2987</sequence>
    <logger>com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter</logger>
    <level>INFO</level>
    <class>com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter</class>
    <method>messageLogged</method>
    <thread>0</thread>
    <message>replacing value for was.repository.root (null) with (/opt/IBM/WebSphere/AppServer/profiles/config)</message>
</record>
<record>
    <date>2012-11-02T04:11:15</date>
    <millis>1351847475108</millis>
    <sequence>2988</sequence>
    <logger>com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter</logger>
    <level>INFO</level>
    <class>com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter</class>
    <method>messageLogged</method>
    <thread>0</thread>
    <message>replacing value for com.ibm.ws.scripting.wsadminprops (null) with (/opt/IBM/WebSphere/AppServer/profiles/properties/wsadmin.properties)</message>
</record>
<record>
    <date>2012-11-02T04:11:15</date>
    <millis>1351847475120</millis>
    <sequence>2989</sequence>
    <logger>com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter</logger>
    <level>INFO</level>
    <class>com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter</class>
    <method>messageLogged</method>
    <thread>0</thread>
    <message>Resetting listener available status to: false</message>
</record>
<record>
    <date>2012-11-02T04:11:15</date>
    <millis>1351847475121</millis>
    <sequence>2990</sequence>
    <logger>com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter</logger>
    <level>INFO</level>
    <class>com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter</class>
    <method>messageLogged</method>
    <thread>0</thread>
    <message>setting wsadmin requester timeouts</message>
</record>
<record>
    <date>2012-11-02T04:11:15</date>
    <millis>1351847475128</millis>
    <sequence>2991</sequence>
    <logger>com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter</logger>
    <level>INFO</level>
    <class>com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter</class>
    <method>messageLogged</method>
    <thread>0</thread>
    <message>wsadmin requester retry count = 240000, initialization retry count = 12000, shutdown retry count = 12000</message>
</record>
<record>
    <date>2012-11-02T04:11:15</date>
    <millis>1351847475128</millis>
    <sequence>2992</sequence>
    <logger>com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter</logger>
    <level>INFO</level>
    <class>com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter</class>
    <method>messageLogged</method>
    <thread>0</thread>
    <message>Checking for wsadmin listener initialization</message>
</record>

答案1

IBM 腳本有一個錯誤,因為它們假定您的預設 shell 是 bash。

您應該確保 /bin/sh 映射到 /bin/bash

執行

ls -al /bin/sh

如果它映射到 dash,則執行以下命令:

sudo rm /bin/sh
sudo ln -s /bin/bash /bin/sh

答案2

我遇到了同樣的問題,但在 RHEL6.3 for ppc(100% 支援)上我也無法使其工作。我-federateLater在設定檔建立中使用了: true。

之後我設法做到:

./bin/addNode.sh dmgr-hostname 8879 -javaoption "-Xmx512m" -profileName MY_PROFILE_NAME

這就成功了,但我也想做一個簡單的 federateLater false 。如果您還有其他問題,請隨時發布您自己的答案。

相關內容