Closed alfredorico closed 7 years ago
It sounds like maybe you did not put the share AMPs in amps_share. There are two different directories. One is "amps" which is for repository tier AMP files and the other is amps_share which is for Share tier AMP files.
Hi Jeff, I'm glad you answered me.
I just uninstalled both amps, then were moved content-tutorial-share-1.0.0-SNAPSHOT.amp to amps_share as you said and rerun ./apply_amps.sh. Finally a tomcat restart and now new amps are avaliables.
Thanks a lot!.
Sure, no problem. I'm glad you got it working!
Hi Jeff, nice to say hello again!..
I just uninstalled both amps packages (content-tutorial-repo and content-tutorial-share) usign:
java/bin/java -jar ./bin/alfresco-mmt.jar uninstall content-tutorial-repo tomcat/webapps/alfresco.war java/bin/java -jar ./bin/alfresco-mmt.jar uninstall content-tutorial-share tomcat/webapps/alfresco.war
Then, after restart tomcat, content-tutorial-share AMP project it's still available for use :( and I don't know how to remove from UI. On administration -> Modules Navigator it's showing.
Any suggest? Thanks a lot.
java/bin/java -jar ./bin/alfresco-mmt.jar uninstall content-tutorial-share tomcat/webapps/alfresco.war
if you wanted to remove your share amp then remove it from share.war
java/bin/java -jar ./bin/alfresco-mmt.jar uninstall content-tutorial-share tomcat/webapps/share.war
Yes, exactly. Also note that when you use the MMT to uninstall, it updates the WAR, but Tomcat might not re-deploy the updated WAR. So after you run uninstall, make sure you go remove the exploded alfresco and share directories from the Tomcat webapps directory.
Any customizations you've added to the exploded directories will be lost, but that's why all of your customizations should be in an AMP. If they are, you have nothing to worry about by deleting the exploded directories and letting Tomcat re-deploy the WARs.
On Fri, Mar 17, 2017 at 1:27 AM, vikash09 notifications@github.com wrote:
java/bin/java -jar ./bin/alfresco-mmt.jar uninstall content-tutorial-share tomcat/webapps/alfresco.war
if you wanted to remove your share amp then remove it from share.war
java/bin/java -jar ./bin/alfresco-mmt.jar uninstall content-tutorial-share tomcat/webapps/share.war
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/jpotts/alfresco-developer-series/issues/17#issuecomment-287277482, or mute the thread https://github.com/notifications/unsubscribe-auth/ABz-27M8mRKHOn06CnExUNlrpa78swEQks5rmifCgaJpZM4MHqNq .
Hi Jeff, greettings from Venezuela.
I hope you'll be fine and could see this message because elsewhere I haven't found any email or contact about you ;-)
I have made "Working With Custom Content Types in Alfresco" tutorial step by step and everything works as expected with "mvn integration-test -Pamp-to-war". New custom types are loaded and showed.
Then, I uploaded amp files generated on target folder (for repo and share) to amp's folder on an alfresco wizard-made-fresh-installation within a VPS server using ./apply_amps.sh. Apparently everything goes find, when I run java/bin/java -jar bin/alfresco-mmt.jar list tomcat/webapps/alfresco.war both modules "content-tutorial-repo AMP project" and "content-tutorial-share AMP project" are listed, but inside alfresco share nothing it's showed about them. (Even restarting tomcat server after /apply_amps.sh )
This tests was made on several versions of alfresco, from 5.1.e (maven sdk defaults) to 5.2.c. Even I have cloned the alfresco-developers-series github repo, and I haved repeated generation steps using run.sh script included and got nothing.
I don't know what to do. I'm a new alfresco user. Could you give me some advice?.
Thanks a lot.