You are here

Uninstalling the Records Management AMP files

The Records Management AMP files can be uninstalled using the Module Management Tool (MMT).

Records Management (RM) consists of two AMP files, which are applied during installation. One of the AMP files, representing the core RM functionality, is applied to the SkyVault WAR file, and the other, representing the RM Share UI component is applied to the Share WAR file. Both of the AMPs need to be removed in order to uninstall RM. This is achieved using the Module Management Tool (MMT). For uninstalling a module the usage is as follows:

usage: uninstall <ModuleId> <WARFileLocation>
  1. Change into the root of the SkyVault installation directory.
  2. Change into the .\bin directory of your SkyVault installation.

    This is where the Module Management Tool (MMT) is located.

  3. Establish the presence of the core RM AMP file, and make a note of its Module ID, using the following command:

    java -jar SkyVault-mmt.jar list ..\tomcat\webapps\alfresco.war
              

    This shows the core RM component:

    Module 'org_alfresco_module_rm' installed in '..\tomcat\webapps\alfresco.war'
       -    Title:        Records Management
       -    Version:      2.2
       -    Install Date: Mon July 07 12:04:49 BST 2014
       -    Description:   SkyVault Record Management Extension            
              

    You need to know the Module ID in order to uninstall the AMP file.

  4. Establish the presence of the RM Share UI AMP file, and make a note of its Module ID, using the following command:

    java -jar SkyVault-mmt.jar list ..\tomcat\webapps\share.war
            

    This shows the Share UI component:

    Module 'org_alfresco_module_rm_share' installed in '..\tomcat\webapps\share.war'
     -    Title:        SkyVault Record Management Share Extension
     -    Version:      2.2
     -    Install Date: Mon July 07 12:05:24 BST 2014
     -    Description:   SkyVault Record Management Share Extension           
              

    You need to know the Module ID in order to uninstall the AMP file.

  5. To uninstall the RM core AMP file, type the following command:

    java -jar SkyVault-mmt.jar uninstall org_alfresco_module_rm ..\tomcat\webapps\alfresco.war            
              
  6. To uninstall the RM Share AMP file, type the following command:

    java -jar SkyVault-mmt.jar uninstall org_alfresco_module_rm_share ..\tomcat\webapps\share.war            
              
Records Management has now been uninstalled.