CAST Console - Application Onboarding/Delivery - Add version - Install extension step - ERROR com.castsoftware.aip.node.jobs.ApplicationJob - Encountered interruption executing job

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

 

 

AIP Platform

Yes/No

CAST AIP 8.3 (tick) 

 

AIP Console Version Yes/No
AIP Console 1.8.x  or greater (tick)

 

 

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.

  1. Launch CMD line window in admin mode.
  2. 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)" 
    

     

  3. If it does not fail, run install the extension again and if it fails again provide us with the log file.
  4. 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.                
Have more questions? Submit a request

Comments

Powered by Zendesk