如果您執行以下指令,請參閱 install_dir\samples\ee-samples\failover\apps\mqfailover\docs\index.html:
主控台 1
cd install_dir\samples\ee-samples asant start-mq-master-broker1 |
主控台 2
cd install_dir\samples\ee-samples asant start-mq-cluster-broker1 |
主控台 3
cd install_dir\samples\ee-samples asant start-mq-cluster-broker2 |
主控台 4
cd install_dir\samples\ee-samples asadmin start-domain domain1 |
如果您已經執行任何其他 Enterprise Edition 範例的 asant setup-one-machine-cluster-without-ha 或 asant setup-one-machine-cluster-with-ha,則請執行 asant configure-mq;否則請執行 asant setup-one-machine-cluster-and-configure-mq。在這種情況下,指令顯示成功:
start_nodeagent: [echo] Start the node agent cluster1-nodeagent [exec] Command start-node-agent executed successfully. |
然後系統會無限期懸置。
目前尚無解決方案。這種問題同樣影響在 Windows 上使用 ant 目標的所有 Enterprise Edition 範例。解決方法是按下 Ctrl+C 登出當機程序,然後再重新執行。