Hi,
We have a custom model deploy in an amp. Currently, we've join several amps in the same project and we'd like to deploy as jar. What would be the best steps to uninstall the amp and deploy the jar wihout having issues with the model?
Thanks and regards.
Solved! Go to Solution.
AMPs are bundled with alfresco.war when using apply-amps tool.
I would take your alfresco.war to a separate environment and I'll undeploy the AMP and deploy the JAR. Just to test that it works. If both AMP and JAR modules have the same module.id and module.version, that would work.
AMPs are bundled with alfresco.war when using apply-amps tool.
I would take your alfresco.war to a separate environment and I'll undeploy the AMP and deploy the JAR. Just to test that it works. If both AMP and JAR modules have the same module.id and module.version, that would work.
Thanks Ángel.
I unistalled the amp and deploy the jar. However I get an error about the some differences found in the model. However, both projects had different module.id. I'm going to use the same module.id and module.version and I'll check it.
Hi,
I'm using the same module.id and module.version. Removed the amp through apply-amps tool and deployd the jar. However, I get the following error:
org.alfresco.error.AlfrescoRuntimeException: 00030000 GetModelsDiff return status is 404
at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1181).
Thanks.
As long as you don't make any changes to the deployed models it should work.
Did you change namespaces, type definitions or model names?
Look carefully to the logs, because this error you showed may come from previous and more verbose errors.
Thanks Narkuss.
As Angel said it is necessary to has the same modele.id and module.version. By mistake I had a different letter in my module.id and it was provoking the "difference in the model".
Thank you very much.
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.