Alfresco Community-5.2.0. MMT didn't Install.

Showing results for 
Search instead for 
Did you mean: 
Member II

Alfresco Community-5.2.0. MMT didn't Install.

I'm running Alfresco Community-5.2.0. I use mmt to introduce my expansion. It reports accurately, however it doesn't introduce the container record. I introduced the very expansion in another Alfresco establishment of the very setup and that functions admirably.

Here is the orders I utilized:

[/opt/alfresco-community]$ sudo java -version
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)

[/opt/alfresco-community]$ sudo java -jar ./bin/alfresco-mmt.jar install ~/alf-exts/montage-qcdoc-share-jar-2.3.amp  ./tomcat/webapps/share.war -verbose
Installing AMP '*****/alf-exts/montage-qcdoc-share-jar-2.3.amp' into WAR './tomcat/webapps/share.war'
Backing up file...
The back up is at '/opt/alfresco-community/./tomcat/webapps/share.war-1550201260616.bak'
INFO: Checking the war version using the manifest.
Adding files relating to version '2.3' of module 'montage-qcdoc-share-jar'
 - File '/WEB-INF/lib/montage-qcdoc-share-jar-2.3.jar' added to war from amp
[/opt/alfresco-community]$ sudo java -jar ./bin/alfresco-mmt.jar list  ./tomcat/webapps/share.war
Module 'montage-qcdoc-share-jar' installed in './tomcat/webapps/share.war'
 - Title: *****************
 - Version: 2.3
 - Install Date: Fri Feb 15 11:27:40 CST 2019
 - Description: **********************
[/opt/alfresco-community]$ cd /opt/alfresco-community/tomcat/webapps/share
[/opt/alfresco-community/tomcat/webapps/share]$ ls WEB-INF/classes/alfresco/module/
There is no folder montage-qcdoc-share and the two files under that folder are missing.
[/opt/alfresco-community/tomcat/webapps/share]$ ls WEB-INF/lib/montage-*
The jar file montage-qcdoc-share-jar-2.3.jar is expected but missing.
1 Reply
Established Member II

Re: Alfresco Community-5.2.0. MMT didn't Install.

Did you restart tomcat? You are installing AMP to share.war, but you are checking expanded directory share. You have to restart tomcat so it deploys share again from share.war.