As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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 -verbosebut 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/configs-to-override/alfresco/Dockerfile#L38
https://github.com/abhinavmishra14/change-acs-share-port-demo/blob/master/configs-to-override/share/Dockerfile#L42
https://github.com/abhinavmishra14/change-acs-share-port-demo/blob/master/docker-compose.yml