本節將說明如何配置 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.sh,位於 ProductDir/bin 目錄中 (其中的 ProductDir 依預設是代表 Home_directory/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.0 版。) 然後根據您是否要將安裝與 Web 伺服器搭配使用而定,進行下列各節其中之一:
WebSphere Application Server 隨附於 Web 伺服器; 但 WebSphere Application Server Express 並不隨附於 Web 伺服器。如果您使用 WebSphere Application Server Express 且想使用 Web 伺服器,則必須取得並安裝 IBM HTTP Server (可免費從 IBM 網站取得) 和 WebSphere Application Server Express 的 Web 伺服器外掛程式。如需相關資訊,請參閱 WebSphere Application Server Express 文件。
若要配置 Web 型工具以使用 Web 伺服器,請執行下列步驟:
以下是指令範例:
Home_directory/IBM/WebSphereServer/CWDashboard.sh \ "opt/IBM/WebSphere/Express60/AppServer" \ hostname.ibm.com "Home_directory/IBM/WebSphere/Server" \ "DB2_Installation_Dir/java" y
WASinstDir/bin/stopServer.sh ICSMonitor
WASinstDir/bin/startServer.sh 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 型工具,才能使用不同的埠號。 請執行下列動作:
以下是指令範例:
Home_directory/IBM/WebSphereServer/CWDashboard.sh \ "/opt/IBM/WebSphere/Express60/AppServer" \ hostname.ibm.com "Home_directory/IBM/WebSphereServer \ "DB2_Installation_Dir/java" n 7089 7043
WASinstDir/bin/stopServer.sh ICSMonitor
WASinstDir/bin/startServer.sh 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 的電腦名稱。