本節將說明如何配置 Web 型工具,使用 WebSphere Application Server 或 WebSphere Application Server Express。 如需使用 Tomcat 的相關指示,請參閱配置 Web 型工具以使用 Tomcat。
若要配置 Web 型工具,使用 WebSphere Application Server 或 WebSphere Application Server Express, 您可以執行 WebSphere Business Integration Server Express 及 Express Plus 隨附的 Script。 Script 稱為 CWDashboard.bat 且位於目錄 ProductDir\bin (其中 ProductDir 代表預設目錄 C:\IBM\WebSphereServer)。 您可以執行此 Script 以配置工具來使用或不使用 Web 伺服器,例如 IBM HTTP Web Server。
繼續進行之前,請確定您已經安裝 WebSphere Application Server 或 WebSphere Application Server Express 5.1.1 (或更新版本)。(您可以從 WebSphere Business Integration Server Express 或 Express Plus 的「啟動程式」來安裝 WebSphere Application Server Express 第 6 版。) 然後根據您是否要將安裝與 Web 伺服器搭配使用而定,進行下列各節其中之一:
WebSphere Application Server 提供 Web 伺服器;但 WebSphere Application Server Express 並不提供。如果您使用 WebSphere Application Server Express 且想要使用 Web 伺服器, 則必須取得並安裝 IBM HTTP Server (可以從 IBM 網站免費取得) 及 WebSphere Application Server Express 的 Web 伺服器外掛程式。 如需相關資訊,請參閱 WebSphere Application Server Express 文件。
若要配置 Web 型工具以使用 Web 伺服器,請執行下列步驟:
下面是兩個範例指令:
C:\IBM\WebSphereServer\bin\CWDashboard.bat / "C:\Program Files\IBM\WebSphere\Express60\AppServer" / hostname.ibm.com "C:\IBM\WebSphereServer" / "C:\Program Files\IBM\SQLLIB\java" y
C:\IBM\WebSphereServer\bin\CWDashboard.bat / "C:\Program Files\IBM\WebSphere\Express60\AppServer" / hostname.ibm.com "C:\IBM\WebSphereServer" null y
C:\Program Files\IBM\WebSphere\Express60\AppServer\bin\stopServer.bat / ICSMonitor
C:\Program Files\IBM\WebSphere\Express60\AppServer\bin\startServer.bat / ICSMonitor
http://hostname/ICSMonitor
其中 hostname 是安裝
WebSphere Application Server 或 WebSphere Application Server
Express 的電腦名稱。http://hostname/WebDeployment
其中 hostname 是安裝
WebSphere Application Server 或 WebSphere Application Server
Express 的電腦名稱。如果您不將 Web 伺服器與安裝搭配使用,則必須配置 Web 型工具,才能使用不同的埠號。請執行下列動作:
下面是兩個範例指令:
C:\IBM\WebSphereServer\bin\CWDashboard.bat / "C:\Program Files\IBM\WebSphere\Express60\AppServer" / hostname.ibm.com "C:\IBM\WebSphereServer" / "C:\Program Files\IBM\SQLLIB\java" n 7089 7043
C:\IBM\WebSphereServer\bin\CWDashboard.bat / "C:\Program Files\IBM\WebSphere\Express502\AppServer" / hostname.ibm.com "C:\IBM\WebSphereServer" null n 7089 7043
C:\Program Files\IBM\WebSphere\Express60\AppServer\bin\stopServer.bat / ICSMonitor
C:\Program Files\IBM\WebSphere\Express60\AppServer\bin\startServer.bat / ICSMonitor
http://hostname:portnumber/ICSMonitor其中 hostname 是安裝 WebSphere Application Server 或 WebSphere Application Server Express 的電腦名稱。
http://hostname:portnumber/WebDeployment其中 hostname 是安裝 WebSphere Application Server 或 WebSphere Application Server Express 的電腦名稱。