執行配置 XML 檔會套用設定。
您可以從指令行使用 execute 指令來套用配置設定。
您需要為 Web 應用程式部署設定檔執行配置 XML 檔。
如果要執行配置 XML 檔,請執行下列動作:
- 啟動或停止應用程式伺服器。
選項 |
敘述 |
WebSphere® Application Server |
啟動尚未執行的應用程式伺服器。 |
JBoss Application Server |
停止應用程式伺服器。 |
Oracle WebLogic 伺服器 |
啟動尚未執行的應用程式伺服器。 |
- 將現行目錄切換至 ier_install_path\configure,其中 ier_install_path 是安裝 IBM® Enterprise
Records 軟體的位置。
- 輸入下列指令來執行 Web 應用程式部署設定檔中的所有作業,該設定檔位於 ier_install_path\configure\profiles\WSWebApplicationDeploymentProfile 目錄中。 比方說,如果是 Windows:
configmgr_cl.exe execute -profile "ier_install_path
\configure\profiles\WSWebApplicationDeploymentProfile"
如果是 UNIX:
./configmgr_cl execute -profile "ier_install_path
/configure/profiles/WSWebApplicationDeploymentProfile"
其中 WSWebApplicationDeploymentProfile 用於 WebSphere Application Server 設定檔。
如需執行 execute 指令的相關資訊,請參閱本主題結尾的鏈結。
記住: 如果路徑包括的目錄名稱有空格,請以引號括住整個路徑。