Kbase P100935: Sonic Adapter: 4GL client hangs after catching -5 exception
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  17/02/2006 |
|
Status: Unverified
SYMPTOM(s):
Sonic Adapter: 4GL client hangs after catching -5 exception
javax.jms.JMSException: Connection dropped, Error code -5.
waitForMessages is used with no timeout
RUN waitformessages IN session ("inwait", THIS-PROCEDURE, ?).
the User Defined Function inwait returns a logical variable.
When the UDF returns FALSE the waitforMessages will end
CAUSE:
The application had the error handler to catch the -5 exception but it was not setting the logical variable that the UDF returns to FALSE
FIX:
The logic inside the error handler needs to set the logical variable that the UDF returns to FALSE so that the waitForMEssages wil end.