Issue in Enabling CRXDE Lite in AEM | Community
Skip to main content
April 11, 2017
Solved

Issue in Enabling CRXDE Lite in AEM

  • April 11, 2017
  • 4 replies
  • 3435 views

Hi,

I am trying to open AEM 6.2 in my local machine to open in production readymode. using nosamplecontent runmode.

I started AEM with below steps:

java -Denv=dev -XX:-UseSplitVerifier -XX:MaxPermSize=512M -Xmx2048M -Dsling.run.modes=author,nosamplecontent,sandbox,www01 -jar aem-quickstart-6.2.jar -gui

But as part of enabling the crxde light I need to change configuration of following component:

org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet

But I am not able to find this component in felix console. Could anyone please help ?

https://docs.adobe.com/docs/en/aem/6-2/administer/security/security-checklist/enabling-crxde-lite.html

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kautuk_sahni

Hi 

Pleas have a look at the reply posted by Opkar in forum post:

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__u0ri-hi_guys_according.html

// There is a comamnd further down in the documentation [0] which if you run, will enable CRXDE Lite to work correctly

    curl -u admin:admin -F "jcr:primaryType=sling:OsgiConfig" -F "alias=/crx/server" -F "dav.create-absolute-uri=true" -F "dav.create-absolute-uri@TypeHint=Boolean"     http://localhost:4502/apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet

    After you run the above command, the OSGI config for "SlingDavExServlet" will appear.

[0] https://docs.adobe.com/docs/en/aem/6-2/administer/security/security-checklist/enabling-crxde-lite.html

I hope this helps.

~kautuk

4 replies

vjetty
Level 4
April 11, 2017
vjetty
Level 4
April 11, 2017

Hi, Akash

At the bottom of the documentation, a curl command is provided....Try this 

curl -u admin:admin -F "jcr:primaryType=sling:OsgiConfig" -F "alias=/crx/server" -F "dav.create-absolute-uri=true" -F "dav.create-absolute-uri@TypeHint=Boolean" http://localhost:4502/apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet

Hope this helps.

Thanks,

Vamsi

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
April 12, 2017

Hi 

Pleas have a look at the reply posted by Opkar in forum post:

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__u0ri-hi_guys_according.html

// There is a comamnd further down in the documentation [0] which if you run, will enable CRXDE Lite to work correctly

    curl -u admin:admin -F "jcr:primaryType=sling:OsgiConfig" -F "alias=/crx/server" -F "dav.create-absolute-uri=true" -F "dav.create-absolute-uri@TypeHint=Boolean"     http://localhost:4502/apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet

    After you run the above command, the OSGI config for "SlingDavExServlet" will appear.

[0] https://docs.adobe.com/docs/en/aem/6-2/administer/security/security-checklist/enabling-crxde-lite.html

I hope this helps.

~kautuk

Kautuk Sahni
Adobe Employee
April 17, 2018

Hi ,

I am Installing AEM 6.2 on a windows server machine.

I was sending http post request to enable crx/de . Response body shows 200 /ok but nothing changes on web console. Also, crx remains disbaled.

parms.put("alias", "/crx/server");

parms.put("dav.create-absolute-uri", "true");

parms.put("dav.protectedhandlers", "org.apache.jackrabbit.server.remoting.davex.AclRemoveHandler");

parms.put("dav.create-absolute-uri@TypeHint=Boolean", "true");

HTTPPost.httpPost(

"http://localhost:" + "4502"

+ "/system/console/configMgr/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet",

parms, "admin", password);