Consultor Eletrônico



Kbase P186722: The OpenEdge Web Service client leaves many open sockets in the CLOSE_WAIT state behind
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   28/04/2011
Status: Unverified

SYMPTOM(s):

The OpenEdge Web Service client leaves many open sockets in the CLOSE_WAIT state behind

The OpenEdge Web Service client is causing many orphan connections in the CLOSE_WAIT state

FACT(s) (Environment):

OpenEdge 10.2x
All Supported Operating Systems

CAUSE:

The Web Service handles are not being cleaned up properly before the main ABL procedure ends.

FIX:

Make sure you perform a DISCONNECT() on the server handle and also make sure that you delete the Server and Port Type handles before the end of the main ABL procedure. For example:
CREATE SERVER hWebService.
lTest = hWebService:CONNECT(...).
RUN WSTestObj SET hWSTestObj ON hWebService.

DELETE PROCEDURE hWSTestObj.
hWebService:DISCONNECT().
DELETE OBJECT hWebService.