本節將說明如何配置「系統監視器」和「失敗事件管理程式」以使用 WebSphere Application Server 或 WebSphere Application Server Express。 如需使用 Tomcat 的相關指示,請參閱配置系統監視器和失敗事件管理程式以使用 Tomcat。
若要配置「系統監視器」和「失敗事件管理程式」以使用 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.0.2 或 5.1 版。 (您可以從 WebSphere Business Integration Server Express 或 Express Plus 的「啟動程式」來安裝 WebSphere Application Server Express v5.1)。 然後根據您是否要將安裝與 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 伺服器,請執行下列步驟:
下面是兩個範例指令:
C:\IBM\WebSphereServer\bin\CWDashboard.bat / "C:\Program Files\IBM\WebSphere\Express502\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\Express502\AppServer" / hostname.ibm.com "C:\IBM\WebSphereServer" null y
C:\Program Files\IBM\WebSphere\Express502\AppServer\bin\stopServer.bat / ICSMonitor
C:\Program Files\IBM\WebSphere\Express502\AppServer\bin\startServer.bat / ICSMonitor
http://hostname/ICSMonitor
其中 hostname 是安裝 WebSphere Application Server 或 WebSphere Application Server Express 的電腦名稱。
http://hostname/FailedEvents
其中 hostname 是安裝 WebSphere Application Server 或 WebSphere Application Server Express 的電腦名稱。
如果您不將 Web 伺服器與安裝搭配使用,則必須配置「系統監視器」和「失敗事件管理程式」以使用不同的埠號。 請執行下列動作:
下面是兩個範例指令:
C:\IBM\WebSphereServer\bin\CWDashboard.bat / "C:\Program Files\IBM\WebSphere\Express502\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\Express502\AppServer\bin\stopServer.bat / ICSMonitor
C:\Program Files\IBM\WebSphere\Express502\AppServer\bin\startServer.bat / ICSMonitor
http://hostname:portnumber/ICSMonitor
其中 hostname 是安裝 WebSphere Application Server 或 WebSphere Application Server Express 的電腦名稱。
http://hostname:portnumber/FailedEvents
其中 hostname 是安裝 WebSphere Application Server 或 WebSphere Application Server Express 的電腦名稱。