12-20-2018 01:33 PM
I can't uninstall an AMP from share.war, I'm using the module management tool (mmt.jar) and it gives me the next error
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
at org.alfresco.repo.module.tool.InstalledFiles.load(InstalledFiles.java:96)
at org.alfresco.repo.module.tool.ModuleManagementTool.uninstallModule(ModuleManagementTool.java:475)
at org.alfresco.repo.module.tool.ModuleManagementTool.main(ModuleManagementTool.java:886)
it happens too when I use the apply_amps.sh script.
Note: I don have an backup war of previous amps instalations
12-21-2018 02:48 AM
It looks like one of the modules (likely the one you want to uninstall) contains a modifications.install file which contains an invalid line of text. This does not look like a bug in the MMT tool, which creates the file in the first place, but like someone / something may have modified the modifications.install file incorrectly...
12-20-2018 10:36 PM
Just to confirm, are you saying that on a fresh installation of Alfresco, you cannot run apply_amps.sh to install an AMP that is known to work with the version you are using?
If that is the case, please share your exact Alfresco version, your JDK version, your OS, and a link to the AMP you are trying to install.
If this is a custom AMP you built, does it run okay in the SDK? What version of the SDK did you use to build it?
12-21-2018 12:11 PM
hi Jeff, is not a fresh installation, my AMP works fine in a fresh installation.
12-21-2018 02:48 AM
It looks like one of the modules (likely the one you want to uninstall) contains a modifications.install file which contains an invalid line of text. This does not look like a bug in the MMT tool, which creates the file in the first place, but like someone / something may have modified the modifications.install file incorrectly...
12-21-2018 12:18 PM
Hi Axel, I don't know how the modifications.install how file works, but i will take a look in that.
thanks
12-21-2018 01:08 PM
Thanks to both!
I solve the problem installing the AMP in a fresh installation of alfresco and using the generated share.war in my old installation.
I think that the problem was the modifications.install war
Greetings
Explore our Alfresco products with the links below. Use labels to filter content by product module.