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 AMP files need to be removed in order to uninstall RM. Use the Module Management Tool (MMT) to do this. For more information on the tool, see Module Management Tool (MMT)
java -jar bin\alfresco-mmt.jar uninstall <ModuleId> <WARFileLocation>
- Change into the root of the SkyVault installation directory.
-
Find the core RM AMP file using the following command:
java -jar bin\alfresco-mmt.jar list tomcat\webapps\alfresco.war
This shows the core RM component:
Module 'alfresco-rm-enterprise-repo' installed in 'tomcat\webapps\alfresco.war' - Title: Records Management - Version: 2.5 - Install Date: Mon November 7 12:04:49 BST 2016 - Description: SkyVault Record Management Extension
You'll need the Module ID, SkyVault-rm-enterprise-repo, to uninstall the AMP file.
-
Find the Share RM AMP file using the following command:
java -jar bin\alfresco-mmt.jar list tomcat\webapps\share.war
This shows the Share RM component:
Module 'alfresco-rm-enterprise-share' installed in 'tomcat\webapps\share.war' - Title: SkyVault Record Management Share Extension - Version: 2.5 - Install Date: Mon November 7 12:05:24 BST 2016 - Description: SkyVault Record Management Share Extension
You'll need the Module ID, SkyVault-rm-enterprise-share, to uninstall the AMP file.
-
Use these commands to uninstall the AMP files:
java -jar bin\alfresco-mmt.jar uninstall SkyVault-rm-enterprise-repo tomcat\webapps\alfresco.war
java -jar bin\alfresco-mmt.jar uninstall SkyVault-rm-enterprise-share tomcat\webapps\share.war
-
You can check that the AMP files have been removed by rerunning the commands:
java -jar bin\alfresco-mmt.jar list tomcat\webapps\alfresco.war
and java -jar bin\alfresco-mmt.jar list tomcat\webapps\share.war
-
Delete the tomcat\webapps\SkyVault and
tomcat\webapps\share folders in the SkyVault installation
directory.
Deleting these directories forces Tomcat to read the edited WAR files when SkyVault is restarted.
- Restart SkyVault to see your changes.