02-09-2021 11:46 AM
hi all,
I have trying to install an amp generated with SDK 4.1 and java 8 in alfresco 6.2.
The documentation https://docs.alfresco.com/6.2/concepts/master-deploy.html explains to use the bin/apply_amps.sh command which is not in the alfresco/alfresco-content-repository-community:6.2.1-A8 docker container.
The alternative option is to use the java command -jar alfresco-mmt.jar install example-amp.amp alfresco.war -verbose
but if there is no war in the distribution, only the alfresco folder already unpacked.
So how do I make the deployment?
02-09-2021 12:42 PM
You should be using java-11, check the supported platform doc here:
https://docs.alfresco.com/6.2/concepts/supported-platforms-ACS.html
Within containers you have jar file i.e.
<tomcatInstallDir>/alfresco-mmt/alfresco-mmt*.jar
Check this documentation for more details: https://docs.alfresco.com/6.2/concepts/dev-extensions-modules-management-tool.html
However, its not right way to apply amps to acs running inside container directly. Your changes will be lost upon restart.
You should take advantane of DockerFile and docker-compose.yml in combination.
Take a look at the detailed steps here: https://github.com/Alfresco/acs-community-deployment/issues/131#issuecomment-691300550
Another examples are available here:
https://github.com/abhinavmishra14/change-acs-share-port-demo/blob/master/docker-compose.yml
Explore our Alfresco products with the links below. Use labels to filter content by product module.