Tutorial: Logging service component events

This tutorial will give you an example of how to set up service component event monitors that are published to the WebSphere® logger, and how to view the events in the log file. The scenario you will follow for this example will show you how to select service component event points for monitoring in applications already deployed and running on your process server. You will see how the monitoring function fires an event whenever the processing of an application reaches one of those event points. Each of those fired events takes the form of a standardized Common Base Event, which is published as an XML string directly to a log file.

Objectives of this tutorial

After completing this tutorial you will be able to:
  • Select service component event points to monitor, with the output published to the process server loggers.
  • View the stored events in the log files.

Time required to complete this tutorial

This tutorial requires approximately 15-20 minutes to complete.

Prerequisites

In order to perform this tutorial, you must have:
  • Configured and started a process server.
  • Configured the CEI.
  • Enabled the diagnostic trace service on the process server.
  • Installed and started the Samples Gallery application on the process server.
  • Installed and started the business rules sample application on the process server. Follow the instructions on the Samples Gallery page to set up and run the business rules sample application.
After all of these prerequisites have been completed, run the business rules sample application from the Samples Gallery at least once before proceeding with the tutorial.
Related concepts
Viewing and interpreting log output
Event catalog
Related tasks
Enabling the diagnostic trace service
Related information
Accessing the Samples (Samples Gallery)
Configuring the Common Event Infrastructure

Terms of use |

Last updated: Tue Feb 21 17:02:05 2006

(c) Copyright IBM Corporation 2005.
This information center is powered by Eclipse technology (http://www.eclipse.org)