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?
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
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.