[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Raising a QUIT on purpose in a StateFree AppServer session

  • Thread starter Thread starter Stefan Drissen
  • Start date Start date
Status
Not open for further replies.
S

Stefan Drissen

Guest
[quote user="PhilF"] Would it make sense to use a FINALLY clause to ensure that resources (such as persistent procedures) are properly cleaned out? [/quote] The FINALLY block is not executed when a STOP condition is raised. A STOP condition is raised by CANCEL-REQUESTS() (sent from client to asynch appserver) or by a LOCK WAIT TIMEOUT (defaults to 10 seconds for WebSpeed agents) . In 11.7 the -catchStop startup parameter was added which partially numbs the pain - but even with this parameter enabled the FINALLY block is only executed if there is a CATCH Progress.Lang.Stop. So FINALLY becomes a diluted 'if you're lucky and have met all the preconditions, we may finally' block.

Continue reading...
 
Status
Not open for further replies.
Back
Top