Pathway/iTS 1.0 README for S Systems
is handled in the generated Java code. In SCOBOL, after
the execution of the ON ERROR clause, the execution continues
with the statement next to the BEGIN-TRANSACTION statement. But,
in the generated Java code, after the execution of the ON ERROR
clause, the control returns to the caller of the program unit.
The caller of the program unit catches InvocationTargetException.
The BEGIN-TRANSACTION, SENDs and END-TRANSACTION are host delegated
tasks performed by the Gateway (PathTCP3 and the SCOBOL GATEWAY)
on the NonStop(TM) Kernel Operating System. If the transaction on
the NSK is aborted abnormally due to the loss of the socket link
with the client or due to an abnormal termination of TMF, the
applet executing the converted Java code takes the ON ERROR clause
of the BEGIN-TRANSACTION in the same manner as SCOBOL. In other
words, if the link between the client and the Gateway breaks while
in transaction mode, that is, while in-between BEGIN-TRANSACTION
and END-TRANSACTION, then the ON ERROR clause of the
BEGIN-TRANSACTION is executed by the client. If the ON ERROR clause
is not present, then "Error 3301: TRANSACTION ERROR" is thrown by
the applet and the application stops.
After executing the ON ERROR clause, an exception
(ScobolTxnException) is thrown which is caught by the caller of
the program unit as InvocationTargetException. The control then
returns to the place where the program unit was invoked.
This problem might occur when the client is "in transaction mode",
AND one of the following occurs:
a) The TMF is abnormally terminated
b) The socket link between the client and Gateway is lost.
"b" above might occur if the same application is run
in multiple browsers on the same Windows OS desktop.
Known workarounds:
a) From a single Windows OS desktop, run the application in a single
browser. In order to restart the application, close the browser
and restart the browser.
b) Modify the catch block of the CALL statement in the generated
Java code to catch ScobolTxnException and add code in the
catch block to continue the execution as desired.
(SOLN 10-001113-7456)
file:///C|/READMEs PATHWAY/PathwayiTS 1.0/ReadmePwyiTS15Ssystems.txt
file:///C|/READMEs PATHWAY/PathwayiTS 1.0/ReadmePwyiTS15Ssystems.txt (9 of 9) [4/27/2004 11:11:25 AM]