Run Extensions at Application Level is a task that occurs after Run Analysis. It will process additional analysis and measurement capabilities both for technologies that are not supported "out-of-the-box" and for technologies supported in CAST AIP.
For more information, refer to CAST AIP Extensions > CAST AIP Extensions Documentation > Extensions - an introduction
In this page, the different logs lines corresponding to "Run Extension at Application Level" task is listed with functional and technical explanation of the logs that it generates.
Select the log lines that you are interested in from the list below
CAST-MS<ID>.log.txt
Here is the part of CAST-MS log file handling Run Extension at Application Level task.
INF: 2016-10-10 16:06:32: starting Task Run Extensions at application level for J2EE TKB Extension
The command line to execute the Task. Note that it is not AnaRun.exe that is executed, but Python.exe that is located in the ThirdParty\Python folder in the Cast Installation Folder.
INF: 2016-10-10 16:06:32: <CAST Installation Folder>\ThirdParty\Python34\python.exe <CAST Installation Folder>\ThirdParty\Python34\Lib\site-packages\cast\application\internal\run_plugins.py --log <LISA FOLDER>\01c96ab6cd7b473292fc9d0a1d5da16c\ApplicationExtensions.castlog --application J2EE TKB Extension --database postgresql --host SBOW10LAP --port 2280 --user operator --password ****** --schema cbsbo_802_local --castdirectory <CAST Installation Folder>\ --event end_application --temporary <LTSA FOLDER>/01c96ab6cd7b473292fc9d0a1d5da16c --intermediate <LISA FOLDER>/01c96ab6cd7b473292fc9d0a1d5da16c
INF: 2016-10-10 16:06:36: Task message: No Task message
The log file location is :
INF: 2016-10-10 16:06:36: Log file: <LISA Folder>\<Application UUID>\ApplicationExtensions.castlog
INF: 2016-10-10 16:06:36: ending Task Run Extensions at application level for J2EE TKB Extension
ApplicationExtensions.castlog
Here is the "Run Extension at Application Level" log file. The name is always ApplicationExtensions.castlog. Each time a Snapshot / Analysis is run, the log is overwritten
Information about the extensions installed on the Analysis Machine environment. In this example : html5 1.1.0-beta1, php 1.1.1, wbslinker 1.1.0-beta1
2016-10-10 16:06:32,894 INFO MODULMSG ; Body Running Extensions at application level ...
2016-10-10 16:06:32,894 INFO MODULMSG ; Body Connecting to knowledge base ...
2016-10-10 16:06:34,736 INFO MODULMSG ; Body Connecting to knowledge base Done
2016-10-10 16:06:34,778 INFO MODULMSG ; Body Registering Extension com.castsoftware.html5 1.1.0-beta1
2016-10-10 16:06:34,779 INFO MODULMSG ; Body Registering Extension com.castsoftware.internal.platform 0.0.5
2016-10-10 16:06:34,782 INFO MODULMSG ; Body Registering Extension com.castsoftware.php 1.1.1
2016-10-10 16:06:34,785 INFO MODULMSG ; Body Registering Extension com.castsoftware.wbslinker 1.1.0-beta1
2016-10-10 16:06:35,023 INFO MODULMSG ; Body Updating cast system views ...
2016-10-10 16:06:35,880 INFO MODULMSG ; Body Updating cast system views Done
List of extension to be used :
2016-10-10 16:06:35,881 DEBUG MODULMSG ; Body Marking extension jobs as unused ...
2016-10-10 16:06:36,126 DEBUG MODULMSG ; Body Marking extension jobs as unused Done
In this example, the Extension html5 is being used :
2016-10-10 16:06:36,126 INFO MODULMSG ; Body Running plugin com.castsoftware.html5...
The task log all the action performed by the extension used :
2016-10-10 16:06:36,233 DEBUG MODULMSG ; Body executing statement : raw insert into ObjPro
(
select IdObj, dep.IdPro, 0 from ObjPro p, (select IdProMain, IdPro from ProDep where IdPro in (select IdKey from Keys where ObjTyp = 1020005)) dep
where p.IdPro = IdProMain and p.IdObj != IdProMain and IdObj in (select IdKey from Keys where ObjTyp in (select IdTyp from TypCat where IdCatParent = 1020004))
except
select * from ObjPro where IdPro in (select IdPro from ProDep where IdPro in (select IdKey from Keys where ObjTyp = 1020005))
);
2016-10-10 16:06:36,233 DEBUG MODULMSG ; Body executing statement insert into ObjPro
(
select IdObj, dep.IdPro, 0 from ObjPro p, (select IdProMain, IdPro from ProDep where IdPro in (select IdKey from Keys where ObjTyp = 1020005)) dep
where p.IdPro = IdProMain and p.IdObj != IdProMain and IdObj in (select IdKey from Keys where ObjTyp in (select IdTyp from TypCat where IdCatParent = 1020004))
except
select * from ObjPro where IdPro in (select IdPro from ProDep where IdPro in (select IdKey from Keys where ObjTyp = 1020005))
)
2016-10-10 16:06:36,237 INFO MODULMSG ; Body Done running plugin com.castsoftware.html5.
2016-10-10 16:06:36,237 INFO MODULMSG ; Body Running plugin com.castsoftware.internal.platform...
2016-10-10 16:06:36,247 DEBUG MODULMSG ; Body executing statement : raw update ProDep pd1
set IdProMain = pd2.IDProMain
from ProDep pd2
where pd1.IdPro in (select IdKey from Keys where ObjTyp = 141813) and
pd1.IdProMain in (select IdKey from Keys where ObjTyp in (select IdTyp from TypCat where IdCatParent = 1000011 and IdTyp != 1000001)) and
pd1.IdProMain = pd2.IdPro and
pd2.IdProMain in (select IdKey from Keys where ObjTyp = 1000001);
2016-10-10 16:06:36,247 DEBUG MODULMSG ; Body executing statement update ProDep pd1
set IdProMain = pd2.IDProMain
from ProDep pd2
where pd1.IdPro in (select IdKey from Keys where ObjTyp = 141813) and
pd1.IdProMain in (select IdKey from Keys where ObjTyp in (select IdTyp from TypCat where IdCatParent = 1000011 and IdTyp != 1000001)) and
pd1.IdProMain = pd2.IdPro and
pd2.IdProMain in (select IdKey from Keys where ObjTyp = 1000001)
2016-10-10 16:06:36,250 INFO MODULMSG ; Body Done running plugin com.castsoftware.internal.platform.
2016-10-10 16:06:36,250 INFO MODULMSG ; Body Running plugin com.castsoftware.wbslinker...
2016-10-10 16:06:36,345 INFO MODULMSG ; Body Done running plugin com.castsoftware.wbslinker.
2016-10-10 16:06:36,345 DEBUG MODULMSG ; Body Deleting unused job extension ...
2016-10-10 16:06:36,446 DEBUG MODULMSG ; Body Deleting unused job extension done
End of the "Run Extension at Application Level"
2016-10-10 16:06:36,446 INFO MODULMSG ; Body Running Extensions at application level Done