Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Issue in Enabling CRXDE Lite in AEM

Avatar

Level 1

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.ht...

1 Accepted Solution

Avatar

Correct answer by
Administrator

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-manage...

// 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.ht...

I hope this helps.

~kautuk



Kautuk Sahni

View solution in original post

4 Replies

Avatar

Level 4

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

Avatar

Correct answer by
Administrator

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-manage...

// 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.ht...

I hope this helps.

~kautuk



Kautuk Sahni

Avatar

Level 1

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);