Hi,
An exception is occurring on our system and the stack trace looks like this:
Caused by: java.lang.NullPointerException at org.apache.jsp.apps.cq.gui.components.authoring.pagestatus.pagestatus_jsp._jspService(pagestatus_jsp.java:202) at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:502) ... 391 more
Where does CQ store pagestatus_jsp.java? Is there a way to view it?
Thanks.
Solved! Go to Solution.
/var/classes/<dynamic_id>/org/apache/jsp
/var/classes/<dynamic_id>/org/apache/jsp
Does this hold good in 6.1 as well ? coz I am not seeing it anymore. The classes folder is completely empty.
The class loader in 6.1 for JSP files was changed to FSClassLoader bundle. The compiled JSP files are now stored in the filesystem and not in the CRX repository. Check this link - http://labs.6dglobal.com/blog/2015-06-23/new-apache-sling-fs-classloader-console/
Hi
Adding more information for community members:-
As mentioned by Sham, AEM stores compiled JSP at /var/classes/<dynamic_id>/org/apache/jsp.
So, when you install a AEM package containing a new version of our /apps code (with .jsp or .java files contained), not all of the JSP code is recompiled after installing the package. So solution to this problem is :-
Link:- https://helpx.adobe.com/experience-manager/kb/CQ5JSPsNotRecompilingOnPackageInstallation.html
I hope this would help you.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
It does not hold true for 6.1, as well as the link provided by Kunal you can use the method in this thread to get to the location of generated files: http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...
Regards,
Opkar
Thanks Kunal and Opkar .. Think we can treat this as answered.
FYI since labs.6dglobal.com is down, here's the same article about the Apache Sling FSClassLoader Console on my personal blog: https://www.danklco.com/posts/2015/06/23/new-apache-sling-fs-classloader-console/
Views
Likes
Replies