deploy amp in alfresco 6.2

cancel
Showing results for 
Search instead for 
Did you mean: 
lucastancapiano
Partner

deploy amp in alfresco 6.2

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?

1 Reply
abhinavmishra14
Advanced

Re: deploy amp in alfresco 6.2

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/alfres...

https://github.com/abhinavmishra14/change-acs-share-port-demo/blob/master/configs-to-override/share/...

https://github.com/abhinavmishra14/change-acs-share-port-demo/blob/master/docker-compose.yml

~Abhinav
(ACSCE, AWS SAA, Azure Admin)