Purpose

This page will help you solve problems related to adding and/or deleting an application in the CAST AIP Console.

CAST AIP Console is a front end web application which 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 more information, refer to:

Applicable Platform

AIP Platform

Yes/No

CAST AIP 8.3(tick) 
AIP Console VersionYes/No
AIP Console 1.8.x  or greater(tick)
Action Plan
  1. If you see an error when adding an application like "relation "cms_pref_sources" does not exist", this is usually due to some sort of configuration issue, so verify your configuration.
    1. If you have a Global DLM configured, and are using an AIP Console verison < 1.18.x, then trying deleting and adding the Global DLM and see if this resolves your issue.
      1. There is a fix for this issue in regards to the Global DLM in AIP Console 1.18.x and greater
  2. If your Add Application step fails at the step - "Declare application in Management database" with the below stack - 
Error Stack
ERROR com.castsoftware.aip.node.jobs.ApplicationJob - Encountered fatal error executing job
com.castsoftware.webi.common.exceptions.InvalidRequestException: Only '*.{allowedExtensions}' files are allowed
at com.castsoftware.webi.common.PathValidator.validate(PathValidator.java:43) ~[cast-common-1.23.0.jar!/:1.23.0]
at com.castsoftware.webi.common.services.serverfolders.ServerFoldersServiceImpl.parseJsonPath(ServerFoldersServiceImpl.java:288) ~[cast-common-services-1.23.0.jar!/:1.23.0]
at com.castsoftware.webi.common.services.serverfolders.ServerFoldersServiceImpl.getAbsolutePaths(ServerFoldersServiceImpl.java:261) ~[cast-common-services-1.23.0.jar!/:1.23.0]
at com.castsoftware.aip.management.services.applications.DlmServiceImpl.addDlmFiles(DlmServiceImpl.java:71) ~[aip-management-services-1.23.0.jar!/:1.23.0]
at com.castsoftware.aip.node.jobs.steps.appmanagement.declaration.ManageApplicationStep.addDefaultDlmFiles(ManageApplicationStep.java:95) ~[aip-node-services-1.23.0.jar!/:1.23.0]
at com.castsoftware.aip.node.jobs.steps.appmanagement.declaration.ManageApplicationStep.execute(ManageApplicationStep.java:68) ~[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(Unknown Source) [?:1.8.0_291]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_291]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_291]

You need to make sure the DLM File configured in the global settings of AIP Console follows the requirement as per the document here - Administration Center - Settings - Default Dynamic Links Rules

  1. Select the section you are interested in.
  2. If the problem you are facing does not match any case listed in this page, report your problem to CAST Technical Support and provide the below Relevant input for CAST Technical Support to reproduce the issue.
Notes/comments

Related Pages