Handling loss of connection to the application

Each time the connector framework calls the connector application-specific component, the application-specific code validates that the connection with the application is still open. For a business object handler, this check should be done in either the doVerbFor() method or in each verb method.

If the connection has been lost, the doVerbFor() method should log a fatal error message so that email notification is triggered if the LogAtInterchangeEnd connector configuration property is set to True. The method should also return a outcome status to inform the connector controller that the application is not responding. When this occurs, the process in which the connector runs is stopped. A system administrator must fix the problem with the application and restart the connector to continue processing of business object requests.

For more information, see

Copyright IBM Corp. 1997, 2004