Querying "Server Tasks" Buscomp results in error - "SBL-CSO-01013: Internal: the SCC context has not been initialized" (Doc ID 539589.1)

Last updated on MARCH 02, 2017

Applies to:

Siebel Tools - Version 7.7.2.2 SIA [18356] and later
z*OBSOLETE: Microsoft Windows Server 2003
Product Release: V7 (Enterprise)
Version: 7.7.2.2 [18356] Cons Goods
Database: Oracle 9.2.0.4
Application Server OS: Microsoft Windows 2003 Server
Database Server OS: Microsoft Windows 2003 Server

This document was previously published as Siebel SR 38-2450594777.
Checked for Relevance on 09-Sep-2010
Checked for Relevance on 28-AUG-2013

Symptoms

While the query on the virtual Business Component "Server Task" was successful in the first Workflow Process execution, it failed in all subsequently executed Workflow processes with the following error:


GenericLog GenericError 1 0
(srsctx.cpp (366) err=4601013 sys=0)
SBL-CSO-01013: Internal: the SCC context has not been initialized



In an attempt to periodically release Assignment Manager cache, a small script invoking the "Release" method on the related AM buscomp is used. This works successfully.  This script is run by means of a Repeating Comp Request scheduled WFP.

Because releasing assignment manager cache when any Assignment Manager task is running (either Batch or Dynamic) is not a good practice. Another piece of script was implemented Querying the "Server Tasks" buscomp within the "Server Admin" busobject. According to Bug 10451636 this is supported.

See sample script below:


var oBo = TheApplication().GetBusObject("Server Admin");
var oBc1 = oBo.GetBusComp("Enterprise Server");
var oBc2 = oBo.GetBusComp("Server Task");

oBc1.ClearToQuery();
oBc1.ExecuteQuery(); // there's only one Enterprise server

oBc2.ClearToQuery();
oBc2.SetSearchSpec("Service Component", "AsgnMgr");
oBc2.SetSearchSpec("State", "Running");
oBc2.ExecuteQuery();

if (oBc2.FirstRecord())
{
    // don't release rules now!!    
}
else
{
    // release rules now...
}



This script works fine the first time it's run (as Bus Serv within WFP through Workflow Process Manager comp). Any subsequent executions will fail. Only when the Workflow Process Manager component is bounced, the script will work again, for one time.

running 7.7.2.2 ...


Running through the Bus Serv Sim does work correctly.

 

SBL-DAT-00306, SBL-CSO-01013

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms