WebSphere Application Server 中的公共基本事件

公共基本事件是一个 XML 文档,它定义将由企业管理和业务应用程序使用的事件的公共表示。公共基本事件定义公共字段、它们可以使用的值以及这些值的确切含义。

每当发生需要进行记录以供稍后分析或者可能需要触发其他工作的这样一些情况时,应用程序就会创建一个事件对象。事件是一种结构化通知,用于报告与各种情况相关的信息。事件可报告以下三种信息:
  • 情况:发生的情况
  • 受影响的组件(例如,已关闭的服务器)的标识
  • 报告该情况的组件的标识,该组件可能与受影响的组件相同

创建了事件对象的应用程序称为事件源。事件源可以使用事件的公共结构。接受这种结构的标准称为公共基本事件。公共基本事件是定义为主动自主计算的一部分的 XML 文档。

公共基本事件模型是一种标准,它定义将由企业管理和业务应用程序使用的事件的公共表示法。此标准是由 IBM® Autonomic Computing Architecture Board 开发的,它支持使用基于 XML 的公共格式来实现日志记录、跟踪、管理和业务事件的编码。通过这种格式可以将不同应用程序产生的不同类型的事件关联起来。有关公 共基本事件模型的更多信息,请参阅公共基本事件规范(规范情况数据格式:公共基本事件 V1.0.1)。Common Event Infrastructure 目前支持版本 1.0.1 的规范。

避免故障 避免故障:
对于 WebSphere® Application Server V9.0,如果删除了一个先前在启用了公共事件基础结构 (CEI) 的情况下部署的应用程序服务器,并且在删除该服务器之前未卸载 CEI,那么在创建要对其部署 CEI 的应用程序服务器时,必须使用不同名称。如果在应用程序服务器上部署 CEI,而该应用程序服务器的名称与先前已删除但未卸载其 CEI 的服务器完全相同,那么将发生以下错误:
com.ibm.websphere.management.exception.AdminException: ADMA5026E: No valid target is specified in ObjectName
WebSphere:cell=targetCell,node=targetNode,server=targetServer for module EventServerMdb.jar+META-INF/ejb-jar.xml
If you did not uninstall CEI before deleting the application server, you must ensure that you use a name for the new application server that is different from the name of the server that was previously deployed with the common event infrastructure.
gotcha

The basic concept behind the Common Base Event model is the situation. A situation can be anything that happens anywhere in the computing infrastructure, such as a server shutdown, a disk-drive failure, or a failed user login. The Common Base Event model defines a set of standard situation types that accommodate most of the situations that might arise (for example, StartSituation and CreateSituation).

The Common Base Event contains all of the information that is needed by the consumers to understand the event. This information includes data about the runtime environment, the business environment, and the instance of the application object that created the event.

For complete details on the Common Base Event format, see the XML schema that is included in the Common Base Event specification document, at http://www.ibm.com/developerworks/autonomic/books/fpy0mst.htm#HDRCBEDESC .


指示主题类型的图标 概念主题



时间戳记图标 最近一次更新时间: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=ctrb_cei
文件名:ctrb_cei.html