Create Endevor package using SCL in sequential dataset, trying to delete SCL PS after Package creation and the PS is locked by ENDWSCCI webservices.
Getting the following error:
Release : 18.1
Component : CA Endevor Software Change Manager
Web Services has STC pooling enabled.
And PoolReapTime and AgedTimeout set to zero in Endevor.cfg, this settilg allows active STCs to remain in the pool indefinitely, that is why the SCL dataset is locked by Web Services STC.
Solution:
Option 1: Disable STC pooling, that is to set PoolMaxSize to zero in Endevor.cfg, STC gets shutdown once web services finish processing the request. Every STC corresponding to one particular Endevor request.
Option 2: With STC pooling enabled, set None zero value to PoolReapTime and AgedTimeout in Endevor.cfg
Set ResponseTimeout to none zero value, if STC process time is longer than (AgedTimeout-PoolReapTime), this will allow server waits (wait time is the value of ResponseTimeout) for an STC to process a request before cancelling that request.