You should remove any deployed applications from the Endeca Application Controller prior to deleting the application directory.
To remove a deployed application:
Remove the application from the Endeca Application Controller:
In a command prompt window, list the current applications by running
eaccmd list-apps
.Navigate to the
<app dir>\control
directory of a specific application.For the Discover Electronics reference application installed using the suggested directory paths, this is
C:\Endeca\apps\Discover\control
(on Windows) or/usr/local/endeca/apps/Discover/control
(on UNIX).Remove the application by running
runcommand --remove-app
.This removes the specific application and its configuration in Workbench.
List the current applications again by running
eaccmd list-apps
.The specific application should no longer display.
Navigate to
C:\Endeca\apps
(on Windows) or/usr/local/endeca/apps
(on UNIX).Delete the selected application directory.
For the Discover Electronics reference application, this is the
Discover
directory.For CAS-based applications, you must also remove the record store instances, delete dimension value ID Manager and crawl configuration associated with the application. Run the following commands to list the available components and remove them.
Get the list of available components:
CAS_ROOT
\bin\component-manager-cmd.bat list-components -hCAS_HOST
-pCAS_PORT
Identify the list of components associated with the application to be removed from the previous step:
CAS_ROOT
\bin\component-manager-cmd.bat delete-component -hCAS_HOST
-pCAS_PORT
-nAPP_COMPONENT_NAME
Remove the dimension value ID manager:
CAS_ROOT
\bin\cas-cmd.bat deleteDimensionValueIdManager -hCAS_HOST
-pCAS_PORT
-mDVAL_ID_MGR_NAME
Get the list of available crawls:
CAS_ROOT
\bin\cas-cmd.bat listCrawls -hCAS_HOST
-pCAS_PORT
Identify the crawl configuration associated with the application to be removed from the previous step:
CAS_ROOT
\bin\cas-cmd.bat deleteCrawl -hCAS_HOST
-pCAS_PORT
-idAPP_CRAWL_NAME