19.3    Housekeeping

The standard housekeeping activities can be executed by using the background processing within the AEX. Background jobs can be accessed via SAP NetWeaver Administrator (navigate to SOAMonitoringBackground Job Processing Monitor).

The next section will explore each of the background jobs.

19.3.1    Archiving

Message archiving provides the ability to archive messages that have been processed successfully or manually edited to an archiving space.

There are two archive sessions required to archive a message:

19.3.2    Deletion

Within SAP PO, only messages that have fulfilled the following criteria will automatically be deleted from the database by the deletion job:

19.3.3    Restarting

The restarting job can be scheduled to automatically restart messages that are in an error status. This is applicable for all messages for which the number of defined restart attempts has been exceeded. The restart attempts attribute specifies how many times a failing message can be retried before abandoning it. For restarting messages, the following parameters can be used:

Blacklisting

Blacklisting is a mechanism that can be used to prevent situations in which individual messages can cause the server to overload and even fail.

For example, a message with a big payload (in terms of size) can cause the server to crash. Blacklisting is the process of identifying and isolating messages that can potentially harm the system or messages that were being processed when there was a server failure.

If a Java server node fails, and a message can’t be processed successfully after two attempts, then the messages will be assigned an NDLV status. When messages are in an NDLV state, an administrator must decide whether to allow the message to be reprocessed or to put the message in a FAIL state.

19.3.4    Recovery

This type of job is used to recover jobs that are lost as a result of a database failure. By default, the recovery job runs once per day, but additional recovery jobs can be scheduled if required.