Adobe Experience Manager 6.5
How to force recompilation of all Sling scripts like JSP, Java, and Sightly in AEM 6.5?
Sometimes the JSP, HTL clientLibs, or classes will not get recompiled automatically in Adobe Experience Manager (AEM). Strange UI issues can occur, and compilation errors may be seen in the logs. Now, we do not have libraries under the
/var/clientlibs folder anymore. They are in the file system.
1. Recompile via AEM Web Console:
2. Recompile via the file system
For classes, JSPs and Sightly cache:
find launchpad/felix -path "*/bundle*/data/classes" -type d
Note: Classes and Sightly cache are stored in the Apache Sling Commons FileSystem ClassLoaderbundle. You can also check the bundle number in the AEM Web Consoleand access that folder directly on the file system under
find launchpad/felix -path "*/bundle*/data/outputcache" -type d.
*Note:*Clientlibs is now stored in the Adobe Granite UI Clientlibs. You can also check the bundle number in the AEM Web Consoleand access that folder directly on the file system under
crx-quickstart/launchpad/felix by going under same bundle.
cq-force-recompilation64.sh to automate the recompile process on AEM 6.4. Example arguments:
./cq-force-recompilation64.sh crx-quickstart/ http://localhost:4502 admin:admin