Monday, 6 February 2017

AEM Commands

AEM Start Author Instance command
java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=30303 -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256M -Xmx1024m -Dorg.apache.sling.commons.log.level=INFO -jar cq6-author-p4502.jar -p 4502 -verbose -nofork -r author,profileName

AEM Maven Command to build bundle and content
  • mvn clean install -PautoInstallBundle -PautoInstallPackage -Dvault.useProxy=false
  • mvn clean install -PautoInstallBundle -PautoInstallPackage -Dvault.useProxy=false -Dmaven.test.skip(Skip Test)
Tar Compaction Command

Download oak-run-1.3.12.jar and place jar file with sibling to cq6-author-p4502.jar.
Execute below commands 
  1. java -jar oak-run-1.3.12.jar checkpoints C:aem\crx-quickstart\repository\segmentstore
  2. java -jar oak-run-1.3.12.jar checkpoints C:\aem\crx-quickstart\repository\segmentstore rm-unreferenced
  3. java -jar oak-run-1.3.12.jar compact C:\aem\crx-quickstart\repository\segmentstore







No comments:

Post a Comment