Installing Upgrading Designing Configuring Deploying Monitoring Administering Troubleshooting Reference JBI Components
Close Print View
Configuring: Adding Logging and Alerts to an Element
 

Classic Java CAPS

Configuring JMS Clients

Configuring Java CAPS for SSL Support

Configuring Java CAPS Business Processes

Business Process and Element Properties Overview

Business Process Properties

Modeling Element Properties

Configuring Business Properties

Configuring General Properties

Configuring Business Process Attributes

Configuring Partners

Defining Message Correlations

Viewing WSDL Files

Configuring Grid Properties

Configuring Modeling Element Properties

Adding Logging and Alerts to an Element

Configuring Business Processes for XA Transactions

Persisting Reporting Data for Business Processes

Configuring a Business Process for Reporting Persistence

Configuring Database Connection Information

Creating a Business Process Database Table

Dropping a Business Process Database Table

Configuring BPM for the OCI Driver

System Requirements for the Oracle OCI driver

Before You Begin

Implementing the OCI Driver

Implementing Transparent Application Failover

Troubleshooting

Configuring Environment Components for the Sun Business Process Manager

Configuring Sun Master Indexes (Repository)

Configuring Java CAPS Project Components for Application Adapters

Configuring Java CAPS Project Components for Communication Adapters

Configuring Java CAPS Project Components for Database Adapters

Configuring Java CAPS Project Components for Web Server Adapters

Configuring Java CAPS Environment Components for Application Adapters

Configuring Java CAPS Environment Components for Communications Adapters

Configuring Java CAPS Environment Components for Database Adapters

Configuring Java CAPS Environment Components for Web Server Adapters

Configuring JDBC/ODBC Drivers

Configuring SAP R/3 for the SAP BAPI Adapter

Configuring Secure Network Communications for SAP

Configuring Siebel EAI Workflows

Importing an SNA Custom Handshake Class

Configuring WebLogic for Asynchronous Communication

Configuring Master Index (Repository) Connectivity and Environments

Related Topics for Sun Adapter for Batch/FTP

Java EE Based Components

Broadcasting Master Index Updates to External Systems

Configuring Sun Master Indexes

Adding Logging and Alerts to an Element

You can initiate custom logging and alert entries from a Business Process modeling element. These entries can then be viewed in the logging and alerts pages for the Business Process in Enterprise Manager.

Adding Alerts to a Modeling Element

Java CAPS allows you to initiate alert entries from a Business Process element. You can define the following types of alerts (from most to least severe): critical, major, minor, warning, and information. The alert nodes take a Boolean data type, but you can specify that the data types be automatically converted when you define the mapping.

To add an alert to a modeling element
  1. Open the Business Process containing the element to which you want to add an alert entry.
  2. In the Business Process Designer, select the element.
  3. In the Business Process Designer toolbar, click Property Sheet.

    The properties for the element appear to the right of the Business Process.

  4. Click in the Alert Properties field, and then click the ellipsis (...).

    The Specify Alerts dialog box appears.

  5. Define the alert using the available methods.
  6. When you are finished defining the alert, click OK.
Adding Logger Messages to a Modeling Element

Java CAPS allows you to initiate logging entries from a Business Process element. You specify one of the log4j log levels: FATAL, ERROR, WARN, INFO, or DEBUG. When you view the log entries in Enterprise Manager, these log levels are converted to the corresponding JDK log levels. Table 2 describes the log level mapping from most to least severe.

log4j to Java Log Level Mapping

log4j Log Level
JDK Log Level
FATAL
SEVERE
ERROR
SEVERE
WARN
WARNING
INFO
INFO
DEBUG
FINE

The logger level nodes take a Boolean data type, but you can specify that the data types be automatically converted when you define the mapping.

To add a logger message to a modeling element
  1. Open the Business Process containing the element to which you want to add a logger entry.
  2. In the Business Process Designer, select the element.
  3. In the Business Process Designer toolbar, click Property Sheet.

    The properties for the element appear to the right of the Business Process.

  4. Click in the Logging Properties field, and then click the ellipsis (...).

    The Specify Log Messages dialog box appears.

  5. Define the log message using the available methods.
  6. When you are finished defining the log message, click OK.