Skip Headers

Oracle Workflow Administrator's Guide
Release 2.6.3.5

Part Number B12160-02
Previous Next       Contents Index Glossary
         Previous  Next          Contents  Index  Glossary

Handling Mailer Errors

To check the status of a particular notification or help investigate errors, you can run a script named wfmlrdbg.sql that displays debugging information. In Oracle Applications, you can also obtain this information by running a diagnostic test through Oracle Diagnostics. See: wfmlrdbg.sql and Oracle Workflow Diagnostic Tests.

Additionally, in Oracle Applications you can run diagnostic tests through Oracle Diagnostics to check that at least one notification mailer is configured, to validate the notification mailer configuration parameters, and to check that all users with a notification preference to receive e-mail have an e-mail address defined. See: Oracle Workflow Diagnostic Tests.

Note: In Oracle Applications, you must particularly check the notification preference and e-mail address for the SYSADMIN user. This user is the default recipient for several types of notifications such as error notifications. By default, the SYSADMIN user has a notification preference to receive e-mail notifications. To enable Oracle Workflow to send e-mail to this user, navigate to the Users window in Oracle Applications and assign SYSADMIN an e-mail address that is fully qualified with a valid domain. However, if you want to access notifications only through the Oracle Workflow Worklist Web page, then you should change the notification preference for SYSADMIN to "Do not send me mail" in the Preferences page. In this case you do not need to define an e-mail address. See: System Administration Setup Tasks, Oracle Applications System Administrator's Guide.

The Generic Service Component Framework lets you control how errors are handled through the component-level Max Error Count parameter and the container-level SVC_COMP_MAX_ERROR_COUNT parameter.

The total number of errors before a mailer is permanently stopped consists of the Max Error Count value multiplied by the SVC_COMP_MAX_ERROR_COUNT value. For example, using the default values, a mailer can encounter 10 * 5 = 50 errors before it becomes System Deactivated.

If a mailer encounters multiple consecutive errors, it may be advantageous to let the container restart the mailer. Restarting causes the mailer to establish new connections and instantiate new objects, which may resolve the errors. Consequently, if you want to allow more errors before you must manually intervene to restart the mailer, it is usually better to increase the SVC_COMP_MAX_ERROR_COUNT value than the Max Error Count value.

For more information about configuring service component and container parameters, please refer to the Oracle Workflow Manager online help.

In case of a large number of errored notifications, Oracle Workflow provides special scripts for mass mailer reprocessing. Do not run these scripts unless you are directed to do so by Oracle Support.

The following scripts are located in the $FND_TOP/patch/115/sql directory for Oracle Applications, or in the ORACLE_HOME/wf/admin/sql directory for standalone Oracle Workflow.

	sqlplus <user/pwd> @wfntfqup <APPSuser> <APPSpwd> <FND_schema>

	sqlplus <user/pwd> @wfnequ <APPSuser> <APPSpwd> <FND_schema>

The following scripts are located in the $FND_TOP/patch/115/sql directory for Oracle Applications, or in the ORACLE_HOME/wf/sql directory for standalone Oracle Workflow.

	sqlplus <user/pwd> @wfntffix

	sqlplus <user/pwd> @wfntfsnd <item_type> <begin_date_after>

See: Implementing Notification Mailers

See: Setting Up Notification Mailers


         Previous  Next          Contents  Index  Glossary



Oracle Logo
Copyright © 2003, 2004, Oracle. All rights reserved.