This page will help you to solve problems related to failure at the install extension step while adding a version of an application to the CAST AIP Console.
The error encountered is com.castsoftware.aip.node.jobs.ApplicationJob - Encountered interruption executing job
CAST AIP Console is a front-end web application that provides a means to configure, run, and manage CAST AIP analyses on multiple analysis machines.
CAST AIP Console gives an Application Overview showing the application state regarding versions, analysis and snapshots, Technologies and framework identification, and Matching technology between Tech Survey and source code delivered
For any issues with specific packaging, discovery, and extraction issues, please see the pages for the Delivery Manager Tool: Delivery Manager Tool Component DMT
For more information, refer to:
- Official documentation: CAST AIP Console
- Specifically for version addition: Add a new Version - deliver code - generate snapshot
- As well as : Advanced onboarding - add a new version and deliver source code
AIP Platform | Yes/No |
---|---|
CAST AIP 8.3 |
AIP Console Version | Yes/No |
---|---|
AIP Console 1.8.x or greater |
If while adding a version in AIP Console, it fails at the step install extensions:
with below error in the install extensions log file:
2022-03-03 02:32:55.412429 Error MODULMSG ; Job execution Error during CAST-Servman-Utilities command execution (error code: 1).\r\n 0 ; 0 0 0 [Module name] 0 0 2022-03-03 02:32:55.412429 Error MODULMSG ; Job execution Exporting custom environment profiles to 'D:\CAST\Implementation\Logs\Servman-20220303-023142\EnvE03D.aex':Failed. 0 ; 0 0 dll_parametrize\dll_parametrize.cpp 386 [Module name] 0 0 2022-03-03 02:32:55.413429 Error MODULMSG ; Job execution Fail to export custom environment profiles 'D:\CAST\Implementation\Logs\Servman-20220303-023142\EnvE03D.aex' 0 ; 0 0 dll_parametrize\dll_parametrize.cpp 681 [Module name] 0 0 2022-03-03 02:32:55.413429 Error MODULMSG ; Job execution Error executing DLL 0 ; 0 0 servman\installstep.cpp 1817 [Module name] 0 0 2022-03-03 02:32:55.414429 Information MODULMSG ; Job execution Execution command from DLL : d:\program files\cast\8.3\installscripts\common\dll_parametrize.dll : Done 0 ; 0 0 0 [Module name] 0 0 2022-03-03 02:32:55.417434 Information MODULMSG ; Job execution Command ended with error. 0 ; 0 0 0 [Module name] 0 0 2022-03-03 02:32:55.417434 Information MODULMSG ; Job execution 0 fatal error(s); 4 error(s); 0 warning(s); 790 information message(s). 0 ; 0 0 0 [Module name] 0 0
and the below messages in the cmsapi log file ,
02:31:37.700 [getMultipleThreadsTaskExecutor-3] INFO com.castsoftware.aip.node.jobs.ApplicationJob - Executing step: 'install_extensions' 02:31:37.700 [getMultipleThreadsTaskExecutor-3] INFO com.castsoftware.aip.node.jobs.ApplicationJob - Setting log path to 'C:\ProgramData\CAST\AipConsole\AipNode\logs\external_logs\69b4e5d7-abbf-4c99-86dd-5f07f4e22ae1\install_extensions\install_extensions.txt' 02:32:55.504 [getMultipleThreadsTaskExecutor-3] ERROR com.castsoftware.aip.node.jobs.ApplicationJob - Encountered interruption executing job com.castsoftware.aip.node.jobs.JobInterruptedException: Failed to execute Servman command. Exit value: 3008 at com.castsoftware.aip.node.services.cli.servman.ServmanExecutorServiceImpl.execute(ServmanExecutorServiceImpl.java:247) ~[aip-node-services-1.23.0.jar!/:1.23.0] at com.castsoftware.aip.node.services.cli.servman.ServmanExecutorServiceImpl.installExtensionUsingModifyCombined(ServmanExecutorServiceImpl.java:193) ~[aip-node-services-1.23.0.jar!/:1.23.0] at com.castsoftware.aip.node.services.cli.servman.ServmanExecutorServiceImpl.installExtensions(ServmanExecutorServiceImpl.java:155) ~[aip-node-services-1.23.0.jar!/:1.23.0] at com.castsoftware.aip.node.jobs.steps.dmt.InstallExtensionsStep.execute(InstallExtensionsStep.java:80) ~[aip-node-services-1.23.0.jar!/:1.23.0] at com.castsoftware.aip.node.jobs.ApplicationJob.doExecute(ApplicationJob.java:182) ~[aip-node-services-1.23.0.jar!/:1.23.0] at com.castsoftware.aip.node.jobs.ApplicationJob.execute(ApplicationJob.java:116) [aip-node-services-1.23.0.jar!/:1.23.0] at com.castsoftware.aip.node.jobs.JobThread.run(JobThread.java:41) [aip-node-services-1.23.0.jar!/:1.23.0] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at java.lang.Thread.run(Thread.java:834) [?:?] 02:32:55.504 [getMultipleThreadsTaskExecutor-3] INFO com.castsoftware.aip.node.jobs.steps.ApplicationJobStep - Nothing to rollback for step install_extensions
Then as a workaround follow the steps described below.
- Launch CMD line window in admin mode.
Run the command below providing the path to the log file.
<CAST_INSTALLATION_FOLDER>\EPManager.exe -DATABASE(CASTStorageService) "-CONNECT_STRING('<Postgres_server:PORT>', 'operator', '<passowrd>', '<local_schema>')" "-LOG('<path_to_log_file>', USELOGFILE)"
- If it does not fail, run install the extension again and if it fails again provide us with the log file.
- If the problem you are facing does not match any case listed on this page, report your problem to CAST Technical Support and provide the following Relevant input for CAST Technical Support to reproduce the issue.