In general, exceptions are thrown in a target connector and caught by a listening connector. As a result, a listening connector must catch these exceptions and handle them as appropriate. Typically, the listening connector generates an error message and sends it back to the requester.
Standard Exceptions
The following standard error and exception types are handled by the integration gateway, target connectors, and listening connectors:
Exception Type | Description |
---|---|
DuplicateMessageException | A target connector attempted to process a message that has already been processed. This is usually discovered based on an error that is attained from the external system that is being contacted. Of the connectors that are delivered with the PeopleSoft software, only the PeopleSoft 8.1 target connector (PSFT81TARGET) can generate this exception. Target connectors are not required to generate this exception. |
ExternalApplicationException | The message reached its intended destination but could not be processed. Determining that the destination could not process a message requires significant knowledge of the destination system, which a target connector might not have. Whenever possible, a target connector should attempt to determine this situation; otherwise this task must be decentralized and handled outside of the integration gateway. For example, the HTTP target connector (HTTPTARGET) generates this exception when the external system returns an HTTP system code of 500. |
ExternalSystemContactException | The target connector cannot establish a connection with the intended destination. This is one of the most common exceptions. When this exception is thrown during an asynchronous transaction, PeopleSoft Integration Broker tries to resend the message until successful. |
GeneralFrameworkException | A general error occurred. |
InvalidMessageException | A connector or the gateway manager determined that the message cannot be processed because of missing or erroneous information in a request or response. |
MessageMarshallingException | A gateway service’s attempt to get information from an IBRequest or IBResponse failed. This can occur when the gateway services attempt to access a content section of a document by using an out-of-range index from one of the following methods:
If you try to access IBRequest or IBResponse with an out-of-range index by using any of these methods, this exception is thrown automatically and processing is interrupted. |
MessageUnmarshallingException | A gateway service’s attempt to build an IBRequest or IBResponse failed. Failure can occur when:
These failures cause the integration gateway to generate this exception automatically and processing is interrupted. |
Java Exceptions
Target connectors and listening connectors can handle miscellaneous Java exceptions, such as NullPointerException and ArrayOutOfBoundsException.
Use the Handler Tester utility to debug service operation handler PeopleCode.
The Handler Tester utility enables you to use the PeopleSoft Pure Internet Architecture to test any of the following handler types:
OnSend.
OnRequest
OnRouteReceive
OnRouteSend.
OnAckReceive
OnNotify.
Use this table to handle common issues in PeopleSoft Integration Broker:
Area or Suspected Issue | Debugging Suggestion |
---|---|
Application server exceptions. | Check the application server log: <PS_CFG_HOME>\appserv\<Domain>\LOGS\ appsrv.log |
Message handlers are not running. | Check the application server domain status or queue status in the PeopleSoft Application Server Administration menu (PSAdmin). Select Domain Status, Server Status or Domain Status, Queue Status. |
Integration gateway. | Check the integrationGateway.properties file and verify the property settings. The default file location is <PIA_HOME>\webserv\<DOMAIN>\applications\peoplesoft\PSIGW.war.war\WEB-INF\integrationGateway.properties. |
Integration gateway. | Check the integration gateway message log. The default file location is <PIA_HOME>\webserv\<DOMAIN>\applications\peoplesoft\PSIGW.war.war\msgLog.html. |
Queues are paused. | Check the Service Operations Monitor. Select . |
A node is paused. | Check the Service Operations Monitor. Select . |
Incorrect gateway uniform resource locator (URL). | Check the Gateways component to verify that the integration gateway URL is correct. Select . |
Node inactive. | Check the node definition. Select |
Subscription PeopleCode is missing or incorrect. | Check the Service Operations Monitor. Select |
A service operation is inactive. | Check the service operation definition in the PeopleSoft Pure Internet Architecture. Select |
There are transform problems. |
|
Integration Broker security | Set the application server logging level to 4 or greater to capture information related to the following situations:
|
No comments:
Post a Comment