Hi All,
Sometimes in my local I am observing changes in the HTL file are not reflecting properly even everything is correct. I suspect this is happening due the the Java classes created out of HTL file is cached and is not updating properly. I looked into the OSGI configuration for this "Apache Sling Scripting HTL Engine Configuration" (Image1) As shown below describing this path is determined by Class loader configuration (image 2)
As described in image 2 the stored file are in "Controls where the filesystem compiled scripts cache is stored. When the value is set to null (default) the cache is stored on the bundle persistent storage area. (fsclassloader.fileSystemCompiledScriptsCacheLocation)" so where can I find bundle persistent storage area?
Solved! Go to Solution.
Views
Replies
Total Likes
After googling a bit I found out
This was changed in AEM 6.1
Refer to this blog for more details
https://www.danklco.com/posts/2015/06/new-apache-sling-fs-classloader-console.html
Currently, to find the appropriate files, you will need to locate the bundle ID for the FSClassLoader bundle, then the java files will be located at:
[AEM_INSTALL_DIR]/crx-quickstart/launchpad/felix/bundle[BUNDLE_ID]/data/classes
Views
Replies
Total Likes
Hi @shehjadk07
To find the location, please follow below steps:
This is the folder where compiled classes are placed by AEM.
Here is the https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-16543.html?lang=en
resolution for how to clear classes and HTL cache.
Hope that helps!
Regards,
Santosh
After googling a bit I found out
This was changed in AEM 6.1
Refer to this blog for more details
https://www.danklco.com/posts/2015/06/new-apache-sling-fs-classloader-console.html
Currently, to find the appropriate files, you will need to locate the bundle ID for the FSClassLoader bundle, then the java files will be located at:
[AEM_INSTALL_DIR]/crx-quickstart/launchpad/felix/bundle[BUNDLE_ID]/data/classes
Views
Replies
Total Likes