Can't load jquery ui resources in AEM 6.3 | Community
Skip to main content
15473203
Level 2
May 8, 2018
Solved

Can't load jquery ui resources in AEM 6.3

  • May 8, 2018
  • 2 replies
  • 1691 views

I'm trying to get the resource /libs/clientlibs/granite/jquery-ui/resources/ui-bg_glass_75_dadada_1x400.png to load on my publish AEM 6.3 instances but every time I get errors like

8.05.2018 15:26:19.921 *INFO* [127.0.0.1 [1525811179908] GET /libs/clientlibs/granite/jquery-ui/resources/ui-bg_glass_75_dadada_1x400.png HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Resource /libs/clientlibs/granite/jquery-ui/resources/ui-bg_glass_75_dadada_1x400.png not found

Even If I do this:

slingRequest.getResourceResolver().getResource("/libs/clientlibs/granite/jquery-ui/resources/ui-bg_glass_75_dadada_1x400.png");

It always returns null. How am I supposed to be able to load jquery ui resources using the jquery ui provided from AEM?

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 arunpatidar

The issue is with the permission in lib folder on publish instance.

make sure your user/service-user/CUG has read permission to /libs/clientlibs/granite/jquery-ui/resources/ui-bg_glass_75_dadada_1x400.png

by default following permission is set on publish for anonymous user

2 replies

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
May 8, 2018

The issue is with the permission in lib folder on publish instance.

make sure your user/service-user/CUG has read permission to /libs/clientlibs/granite/jquery-ui/resources/ui-bg_glass_75_dadada_1x400.png

by default following permission is set on publish for anonymous user

Arun Patidar
15473203
15473203Author
Level 2
May 9, 2018

Thanks, all I had to do was allow the read permission for the anonymous user on for /libs/clientlibs/granite/jquery-ui/resources on the publish instances and it worked.