Diagnostics and Repair in Oracle Applications Manager

Diagnostics in Oracle Applications Manager

Oracle Applications Manager allows you to run diagnostic utilities from the Diagnostics and Repair tab on the OAM Site Map.

Diagnostic Utilities

Debug Workbench

Navigation Path: Site Map > Diagnostics and Repair (tab) > Diagnostics (heading) > Debug Workbench (link)

Overview

The Debug Workbench enables you to centrally control and monitor the debugging of Oracle E-Business Suitecomponents. Using the Debug Workbench, you can set up debug rules for system components and view the debug information that has been collected.

The Debug Workbench can be launched from Oracle Applications Manager and from the Standard Request Submission (SRS) form using the button Debug Options... By default, this button is disabled. To enable this button, set the Concurrent: Allow Debugging profile option to Y.

Using the Main Debug Workbench Screen

On the main Debug Workbench screen, a table lists summary information (Rule ID, Component Name, and so on) for the debug rules that exist on the system. On this screen, you can:

Creating Debug Rules

You create debug rules to collect debug information about specific system components.

To create a new debug rule, use the following procedure:

  1. On the main Debug Workbench screen, click the Create button. This launches a multi-step flow of screens that guide you through the rule-making process.

  2. Choose the component type that you want to debug. Optionally, you can enter a comment to describe the rule.

  3. Choose the component instance.

  4. You must set up at least one debug option. Debug options such as logging level, PL/SQL profiler, SQL trace, and Reports trace are available. For a given rule, you can select any combination of available debug option values.

  5. Specify the context and schedule of the rule. You can set a rule to execute for a specific responsibility or user, and to execute either during a specific span of time or for a certain number of repetitions.

  6. Review your work and click the Finish button to save the new rule.

The new rule will appear on the main Debug Workbench screen.

Client System Analyzer Data Collections

Main Navigation Path: Site Map > Diagnostics and Repair (subtab) > Diagnostics (heading) > Client System Analyzer Data Collections (link)

Overview

In Oracle Applications Manager, you can view the data that has been collected by the Client System Analyzer. For more information about using the Client System Analyzer from the Oracle E-Business Suite, see My Oracle Support Knowledge Document 277904.1.

Tasks

You can perform the following tasks on the main Client System Analyzer Data Collections page:

Data Collection Details

The default set of collected data is organized into categories as follows.

Troubleshooting Wizards

Oracle Applications Manager provides several wizards:

Concurrent Manager Recovery

Navigation: Site Map - Diagnostics and Repair > Concurrent Manager Recovery (under Troubleshooting Wizards)

Use this feature when the Internal Concurrent Manager fails to start.

Click the Run Wizard button to start the recovery process. You cannot run this process if the Internal Concurrent Manager is currently running.

If you encounter any problems, each wizard screen can be added to the Support Cart.

Step 1- Active Managers with a Database Session

This screen lists all managers that must be stopped before proceeding with the recovery.

Listed for each manager are:

You may want to wait for any requests that are running to complete before you execute the shutdown. Drill down on the Running Request to view it.

Click Shutdown to shut down all the listed managers, and then click the Refresh icon to verify that they were shut down. If a manager fails to shut down from this page, you can drill down to the Database Session Details page and use the Terminate button to end the session from there. Return to the Concurrent Manager Recovery screen and refresh the page to verify all managers have been shut down before proceeding to the next step.

Step 2 - Managers Deemed Active but Without Database Session

Any processes listed here must be terminated before continuing. Because these processes have lost their database sessions, they must be manually terminated from the command line. Refer to your operating system documentation for instructions on terminating a process from the command line.

After terminating the processes, click Update to mark the processes as no longer active in the database table. Click the Refresh icon to verify that all processes have been terminated.

Listed for each process are:

Step 3 - Reset Conflict Resolution

Click the Reset button to reset the listed requests for conflict resolution. This action changes requests that are in a Pending/Normal phase and status to Pending/Standby. Click the Refresh icon to verify that all requests have been reset.

You can drill down on the Request ID to view the request in the Advanced Search for Requests screen.

Listed for each request are:

Step 4 - Requests that are Orphaned

This page lists the requests that do not have a manager. If any requests have Active Sessions listed, drill down on the session ID and terminate the session from the Database Session Details screen. Return to the Concurrent Manager Recovery screen and click the Refresh icon to verify that the session is no longer active.

Listed for each request are:

Request ID - Drills down to display the request in the Advanced Search for Requests page.

Concurrent Manager Recovery Summary

The summary page lists the information collected from the previous steps. After reaching this page, you should be able to restart your Internal Concurrent Manager. If you cannot, retry starting the Internal Concurrent Manager with DIAG=Y, refresh the summary page, add it to the Support Cart with the log files, and send them to Oracle Support.

Log Files Collected - Click on the log file name to view it. The log files can be added to the Support Cart.

Report Summary

Service Infrastructure

Navigation: Site Map > Diagnostics and Repair > Service Infrastructure (under Troubleshooting Wizards)

Using the Service Infrastructure diagnostic wizard, you can examine existing Generic Service Management data to determine potential problems, and update the data to eliminate the issues.

Click Run Wizard to begin using the wizard.

Step 1: Active Nodes without a Service Manager

This screen lists any active nodes without a registered service manager. Concurrent processing requires a registered Service Manager on every registered node. If you need to register service managers for the listed nodes, you can click on the Register button to do so.

Step 2: Active Concurrent Processing Nodes without an Internal Monitor

This screen lists any concurrent processing nodes that need a registered Internal Monitor. Click the Register button to register Internal Monitors for any listed nodes.

Step 3: Service Managers without Active Nodes

This screen lists service managers and Internal Monitors that are registered for deactivated or nonexistent nodes. If you do not plan on using these nodes in the future, these managers, including the Internal Monitor, can be disabled. Click the Disable button to disable the managers for a node.

Step 4: Active Nodes with Inactive Service Managers

All active nodes should have active service managers. This screen lists active nodes without active service managers. Click the Activate button to activate service manager definitions for the listed nodes.

Step 5: Enabled Service Instances without Workshifts

This screen shows service instances without any workshifts defined. You can add the Standard workshift to the listed service instances using the Add Workshifts button.

Step 6: All Nodes should be Uppercased (for Service Instances)

This screen lists any service instances that are assigned to a node that does not have an uppercase name. Use the Uppercase button to change the names of the listed nodes to uppercase.

Step 7: All Nodes should be Uppercased (for Processes)

This screen lists any processes on nodes that do not have an uppercase name. Use the Uppercase button to change the names of the listed nodes to uppercase.

Service Infrastructure Summary

This screen shows a summary of the data found for each of the previous screens, as well as any changes you made.

Configuration and Log files are listed first. Two log files and two configuration files are listed for each node. You can click on the name of the file to view it and add it to the Support Cart. You can add all the files to the Support Cart using the Add All Files to Support Cart button.

Generic Collection Service (GCS) and Forms Monitoring Wizard

Navigation Path: Site Map > Diagnostics and Repair (tab) > Troubleshooting Wizards (heading) > GCS and Forms Monitoring (link)

Overview

The GCS and Forms Monitoring wizard helps you troubleshoot the OAM Generic Collection Service.

Prerequisites

The wizard cannot be launched unless the Internal Concurrent Manager (ICM) is up and running.

Running the Wizard

Click Run Wizard to start the wizard. The steps in the wizard are as follows:

  1. If necessary, register the OAM Generic Collection Service on all listed nodes.

  2. If necessary, enable the OAM Generic Collection Service on all listed nodes.

  3. If necessary, activate the OAM Generic Collection Service on all listed nodes.

  4. See the registration of the Forms Listener.

  5. If necessary, enable the Forms Listener on all listed nodes.

  6. If necessary, set the Sign-On Audit level to "FORM".

  7. See a summary screen where you can view a log file and add files to the Support Cart.

CP Signature

The CP Signature Wizard collects information regarding the current status of concurrent processing on the system.

Navigation: Site Map > Diagnostics and Repair > CP Signature

This wizard collects information on the following:

Support Cart

The Support Cart feature allows you to save Oracle Applications Manager pages with their data and then zip them up in a file to send to Oracle Support. Oracle Support can then view your pages in the Oracle Applications Manager display format.

When you click the Add to Support Cart button, the page is added to the Support Cart. If you have filtered or sorted the data, your manipulated view is submitted.

For example, these are some of the pages with the Support Cart feature:

To view the contents of the Support Cart, click on the Support Cart global button.

Click Save Cart to save the contents to a zip file that you can send to Oracle Support.

Any contents of the cart that are not saved are automatically deleted when you log out of Oracle Applications Manager.

To restore a saved cart, click Restore Cart to browse your directory for the saved cart.

To restore a cart file, select a cart file from the list displayed, or use Browse to select a file from the directory. Then click Restore.

Support Cart Contents

Description

Enter a TAR Number and additional details for the Support Cart Contents.

Applications Signature

The Support Cart can collect a standard set of information regarding your E-Business Suite system. Oracle Support requires this information when logging a technical assistance request (TAR).

To collect this information, click Collect.

In the Generic region, information is collected on:

Click the View icon to view these pages. If you want to delete a page, select it and click the Delete button. Clicking Collect again will collect information for all four pages again.

In the Nodes region, you can specify to include or exclude output and log files for specific nodes as well.

Other Information Collected

Pages that you save using the Add to Support Cart button are listed under this tab.

Oracle Applications Manager Log

This page displays the log file generated by Oracle Applications Manager.

Navigation: Site Map > Administration > Applications Manager Log (under Others)

The current message level of the log is shown. To change the level, select the desired option and click Go.

Note: Changing the log level from this page will only be effective until the servlet is restarted. For a persistent setting, the log level initialization parameter must be changed in zone.properties. The parameter is: oracle.apps.oam.logger.level

For example:

servlet.weboam.initArgs=oracle.apps.oam.logger.level=USER

Bounce Apache/Jserv for your changes to zone.properties to take effect.

The possible settings are:

The default is USER.

The log can be added to the Support Cart.