Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Oracle BEA WebLogic

The Oracle BEA WebLogic DSM allows JSA to retrieve archived server logs and audit logs from any remote host, such as your Oracle BEA WebLogic server.

JSA uses the log file protocol to retrieve events from your Oracle BEA WebLogic server and provides information on application events that occur in your domain or on a single server.

JSA supports Oracle events by using the Log File protocol from Oracle BEA Weblogic v12.2.1.3.0.

To integrate Oracle BEA WebLogic events, take the following steps:

  1. Enable auditing on your Oracle BEA WebLogic server.

  2. Configure domain logging on your Oracle BEA WebLogic server.

  3. Configure application logging on your Oracle BEA WebLogic server.

  4. Configure an audit provider for Oracle BEA WebLogic.

  5. Configure JSA to retrieve log files from Oracle BEA WebLogic.

Enabling Event Logs

By default, Oracle BEA WebLogic does not enable event logging.

To enable event logging on your Oracle WebLogic console:

  1. Log in to your Oracle WebLogic console user interface.

  2. Select Domain >Configuration >General.

  3. Click Advanced.

  4. From the Configuration Audit Type list, select Change Log and Audit.

  5. Click Save.

You can now configure the collection of domain logs for Oracle BEA WebLogic.

Configuring Domain Logging

Oracle BEA WebLogic supports multiple instances. Event messages from instances are collected in a single domain-wide log for the Oracle BEA WebLogic server.

To configure the log file for the domain:

  1. From your Oracle WebLogic console, select Domain >Configuration >Logging.

  2. From the Log file name parameter, type the directory path and file name for the domain log.

    For example, OracleDomain.log.

  3. Configure any additional domain log file rotation parameters.

  4. Click Save.

You can now configure application logging for the server.

Configuring Application Logging

You can configure application logging for Oracle BEA WebLogic:

  1. From your Oracle WebLogic console, select Server >Logging >General.

  2. From the Log file name parameter, type the directory path and file name for the application log.

    For example, OracleDomain.log.

  3. Configure any additional application log file rotation parameters.

  4. Click Save.

You can now configure an audit provider for Oracle BEA WebLogic.

Configuring an Audit Provider

You can configure an audit provider:

  1. Select Security Realms >Realm Name >Providers >Auditing.

  2. Click New.

  3. Configure an audit provider by typing a name for the audit provider that you are creating.

  4. From the Type list, select DefaultAuditor.

  5. Click OK.

    The Settings window is displayed.

  6. Click the auditing provider that you created in Configuring an Audit Provider.

  7. Click the Provider Specific tab.

  8. Add any Active Context Handler Enteries that are needed.

  9. From the Severity list, select Information.

  10. Click Save.

You can now configure JSA to pull log files from Oracle BEA WebLogic.

Log File Log Source Parameters for Oracle BEA WebLogic

If JSA does not automatically detect the log source, add a Oracle BEA WebLogic log source on the JSA Console by using the Log file protocol.

When using the Log file protocol, there are specific parameters that you must use.

The following table describes the parameters that require specific values to collect log file events from Oracle BEA WebLogic:

Table 1: Log file Log Source Parameters for the Oracle BEA WebLogic DSM

Parameter

Value

Log Source type

Oracle BEA WebLogic

Protocol Configuration

Log file

Log Source Identifier

Type the IP address or host name for the log source. This value must match the value that is configured in the Remote Host IP or Hostname parameter.

The log source identifier must be unique for the log source type.

Event Generator

From the Event Generator list, select Oracle BEA WebLogic.

Oracle BEA WebLogic Sample Event Messages

Use these sample event messages to verify a successful integration with JSA.

Note:

Due to formatting issues, paste the message format into a text editor and then remove any carriage return or line feed characters.

Oracle BEA WebLogic sample messages when you use the Log File protocol

Sample 1: The following sample event shows that the server has successfully established a connection with the domain level diagnostic service.

Sample 2: The following sample event shows that the NetUIx container is initializing.

Sample 3: The following sample event shows that a node manager command has failed.