When working on a CQ5 project for a client that involves multiple development environments, I came across an issue on some of the dev servers. For most of them, logging into CRXDE Lite gave me the full tree of the JCR repository. On a couple of others, CRXDE Lite displayed nothing more than the root node.
Viewing the error.log gave me this error:
28.01.2013 23:02:35.405 *INFO* [10.73.64.4 [1359414155401] GET /crx/server/crx.default/jcr%3aroot/.1.json HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Resource /crx/server/crx.default/jcr:root/.1.json not found
After asking around, I discovered that CRXDE Lite used WebDAV in order to communicate with the JCR. After checking the CQ5 OSGi console, I saw that the following bundles were not running:
Apache Sling DavEx Access to repositories
Apache Sling Simple WebDAV Access to repositories
After starting these two bundles and refreshing CRXDE Lite, all was well again.
Moral of the story: Things tend to work better when the switch is in the ‘on’ position – know where these switches are when it’s dark.
Thank You. Thank You. Thank You.
Thanks man! you save my day!
Thanks Man! Very useful post!
Thanks for your valuable post. – It saves my time.
Thank you!!
This doesn’t work for me, when I use secured URL
Thanks much!!!
Thank you, man. If it is not working, also check configuration for “Apache Sling DavEx servlet”, its parameter “Root Path” should have value “/crx/server”, not “/server”. More info here: http://apoorva-ganapathy.blogspot.fr/2016/10/enabling-crxde-in-aem.html