Protection from processor level exceptions

If using Image Quality Analysis, the Gateway Server is able to prevent processor level exceptions within IQA from taking down the Gateway Server. To prevent the Gateway Server from failing when IQA experiences processor level exceptions, change the Gateway Server IQA user exit to use the Gateway supplied interface class instead of the one supplied with Image Quality Analysis.

Add an import statement for com.ibm.icpcs.gatewayserver.iqa.IQAJobShield. This class is provided in the igateway.jar file. Modify the statement where an instance of IQAJob was created to now create an instance of its subclass, IQAJobShield. For example, change:

iqaJob = new IQAJob ();

to

iqaJob = new IQAJobShield ();
The sample user exits that are supplied in the IQARunner.java and IQARunner_V1R2.java files have these changes. To verify that exception handling is active, look for the following message on the Gateway Server console during Gateway startup:
IQAJobShield > IQA00025I: Shielded native call active for IQA thread.
It appears once for each IQA thread that is configured using the IQAThreads keyword property of Gateway.