Logging and Exception Handling
Overview
The following sections describe message logging and exception handling for the Adapter for PeopleSoft. A list of error codes and supporting information appears in Adapter for PeopleSoft Error Codes.
Adapter for PeopleSoft Logging Levels
The Adapter for PeopleSoft uses the Integration Server logging mechanism to log messages. You can configure and view the Integration Server logs to monitor and troubleshoot the Adapter for PeopleSoft. For detailed information about logging in the Integration Server, including instructions for configuring and viewing the different kinds of logs supported by the server, see the IBM webMethods Integration Server Administrator’s Guide for your release.
Configuring Adapter Logging Levels
Beginning with Integration Server 7.1, you can configure different logging levels for the Adapter for PeopleSoft.
Accessing Logging Information
About this task
To access the adapter's logging information
Procedure
Changing Logging Settings
About this task
To change logging settings for the adapter
Procedure
- Click Edit Logging Settings. Select the required Level of Logging for the Adapter for PeopleSoft.
- After making your changes, click Save Changes.
- For complete information about specifying the amount and type of information to include in the log, see the IBM webMethods Audit Logging Guide for your release.
Adapter for PeopleSoft Message Logging
The Integration Server maintains several types of logs; however, the Adapter for PeopleSoft only logs messages to the audit, error and server logs. Because the Adapter for PeopleSoft works in conjunction with the WmART package, the adapter's messages and exceptions typically appear within log messages for the WmART package.
The logging levels are different depending on which version of the Integration Server you are running the adapter on, as shown in the following table.
| Integration Server | Log | Description |
|---|---|---|
| Integration Server 6.5 | Audit Log | You can monitor individual adapter services using the audit log as you would audit any service in the Integration Server. The audit properties for an adapter service are available in each Adapter for PeopleSoft service template on the Audit tab. |
| Error Log | The Adapter for PeopleSoft automatically posts critical-level and error-level log messages to the server's error log. These log messages will appear as adapter run-time messages. | |
| Server Log | The Adapter for PeopleSoft posts messages to the Server log, depending on how the server log is configured. Critical-level through debug-level log messages appear as Adapter Run time log messages. V1-Verbose1 or V4-Verbose4 log messages appear as Adapter for PeopleSoft log messages. | |
| Integration Server 7.1 and higher | Audit Log | You can monitor individual adapter services using the audit log as you would audit any service in the Integration Server. The audit properties for an adapter service are available in each Adapter for PeopleSoft service template on the Audit tab. |
| Error Log | The Adapter for PeopleSoft automatically posts fatal-level and error-level log messages to the server's error log. These log messages will appear as adapter run-time messages. | |
| Server Log | The Adapter for PeopleSoft posts messages to the server log, depending on how the server log is configured. Fatal-level through debug-level log messages appear as adapter run-time log messages. Trace-level log messages appear as Adapter for PeopleSoft log messages. |
The Adapter for PeopleSoft's log messages appear in the following format: ADA.0336.nnnnc, where:
- ADA is the facility code that indicates that the message is from an adapter.
- 0336 (or 336) is the Adapter for PeopleSoft major code, which indicates that the error is generated by the Adapter for PeopleSoft.
- nnnn represents the error's minor code. For detailed descriptions of the Adapter for PeopleSoft's minor codes, see Adapter for PeopleSoft Error Codes.
- c represents the message's severity level (optional).
Because the Adapter for PeopleSoft works in conjunction with the WmART package, the adapter's messages and exceptions typically appear within log messages for the WmART package, although that is not necessarily true for verbose-level messages.
To monitor the Adapter for PeopleSoft's log messages in the Server log, ensure that your server log's logging settings are configured to monitor the following facilities:
- 0113 Adapter Runtime (Managed Object)
- 0114 Adapter Runtime
- 0115 Adapter Runtime (Listener)
- 0116 Adapter Runtime (Notification)
- 0117 Adapter Runtime (Adapter Service)
- 0118 Adapter Runtime (Connection)
- 0121 Adapter Runtime (SCC Transaction Manager)
- 0126 Adapter Runtime (SCC Connection Manager)
Handling PeopleSoft Exceptions
If a Adapter for PeopleSoft object (for example, a connection or service) encounters an error with the PeopleSoft system, it will throw an adapter error coupled with the PeopleSoft error, exactly as it was thrown by PeopleSoft. The PeopleSoft errors will be in an IData format.
For example, if a Get service fails on the PeopleSoft system at run time because its input fields contain invalid key values, you will receive an adapter error that indicates that the Get service failed, and the adapter error will contain the specific error generated on the PeopleSoft system indicating why the service failed. In this case, you would receive a PeopleSoft error specifying that the input key field values are invalid.
Adapter for PeopleSoft Error Codes
This section lists the Adapter for PeopleSoft's Critical- and Error-level minor codes, including the text of each error, information about the cause of the errors, and possible responses to the errors.
| Error Code | Description |
|---|---|
| 1000 | PeopleSoft Session Connection failed |
| Explanation:The adapter encountered a problem when trying to connect to the PeopleSoft system. | |
| Action:Check to see if the PeopleSoft application server is down, if there are network problems, or if the WmPeopleSoftAdapter\code\jars directory contains the correct psjoa.jar file. | |
| 1001 | PeopleSoft operation error |
| Explanation:This is a generic error that occurs if something goes wrong with a Get, Find, Update, Insert, or Delete Row service. The error will contain the specific exceptions or error from the PeopleSoft system. | |
| Action:Check the PeopleSoft exception and error for details about the error. | |
| 1011 | GET operation execution failed |
| Explanation:The Get service was unable to complete the operation because it encountered an error in the PeopleSoft system. The adapter error contains the specific PeopleSoft error. | |
| Action:See the PeopleSoft error for details. | |
| 1012 | FIND operation execution failed |
| Explanation:The Find service was unable to complete the operation because it encountered an error in the PeopleSoft system. The adapter error contains the specific PeopleSoft error. This error will contain the specific PeopleSoft exception and error. | |
| Action:See the PeopleSoft error for details. | |
| 1013 | INSERT operation execution failed |
| Explanation:The Insert service was unable to complete the operation because it encountered an error in the PeopleSoft system. The adapter error contains the specific PeopleSoft error. This error will contain the specific PeopleSoft exception and error. | |
| Action:See the PeopleSoft error for details. | |
| 1014 | UPDATE operation execution failed |
| Explanation:The Update service was unable to complete the operation because it encountered an error in the PeopleSoft system. The adapter error contains the specific PeopleSoft error. This error will contain the specific PeopleSoft exception and error. | |
| Action:See the PeopleSoft error for details. | |
| 1015 | Delete Row operation execution failed |
| Explanation:The Delete Row service was unable to complete the operation because it encountered an error in the PeopleSoft system. The adapter error contains the specific PeopleSoft error. This error will contain the specific PeopleSoft exception and error. | |
| Action:See the PeopleSoft error for details. | |
| 1021 | Problem connecting to PeopleSoft server - check logs |
| Explanation:The adapter encountered a problem trying to connect to the PeopleSoft system. | |
| Action:Check to see if the PeopleSoft application server is down, if there are network problems, or if the WmPeopleSoftAdapter\code\jars directory contains the correct psjoa.jar file. | |
| 1022 | Problem getting the CI Info of CI - check logs |
| Explanation:The component interface cannot be found, contains invalid properties, or is not included in the Permissions List for the user that is specified in the service's associated adapter connection. This error will contain the specific PeopleSoft exception and error. | |
| Action:See the PeopleSoft error for details. | |
| 1050 | PeopleSoft Application Server is not responding |
| Explanation:The adapter attempted to connect to the PeopleSoft system, but the PeopleSoft system did not respond. | |
| Action:Check to see if the PeopleSoft application server is down, if there are network problems, or if the WmPeopleSoftAdapter\code\jars directory contains the correct psjoa.jar file. |