Kbase P64932: Persistent instances of Static SmartDataObjects are not getting cleaned up on a Stateless AppServer
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  28/09/2004 |
|
Status: Unverified
SYMPTOM(s):
Persistent instances of Static SmartDataObjects are not getting cleaned up on a Stateless AppServer
Static SmartDataObjects are not destroyed in Stateless AppServer
CHANGE:
Migration to Dynamics 2.1A01
CAUSE:
DestroyStateless property is set to FALSE for Static SDOs, which is not supported yet
FIX:
Upgrade to Dynamics 2.1A02
FIX:
Set the DestroyStateless property value to TRUE:
Add the following code in the beginning of the initializeObject internal
procedure in the query.p super-procedure.
DEFINE VARIABLE lDynamic AS LOGICAL NO-UNDO.
DEFINE VARIABLE cObjectType AS CHARACTER NO-UNDO.
{get DynamicObject lDynamic TARGET-PROCEDURE}.
{get ObjectType cObjectType TARGET-PROCEDURE}.
IF NOT lDynamic AND cObjectType = 'SmartDataObject':U THEN
{set DestroyStateless TRUE TARGET-PROCEDURE}.