JcrResourceResolverImpl in Adobe CQ 5.4. Url mappings problem | Community
Skip to main content
Level 2
October 16, 2015
Solved

JcrResourceResolverImpl in Adobe CQ 5.4. Url mappings problem

  • October 16, 2015
  • 3 replies
  • 1607 views

Hi All,

I have a problem with url mappings defined under Configuration tab in JcrResourceResolverImpl Section.

So far there were many items defined under url mappings but after adding two new ones, resource resolver stopped resolving mappings. Those two were: "/content/brand:/brand" and "/content/mobile:/mobile".

I have not seen any problems or errors in logs. Additionaly when only one of them was added, everything was working good.

Could you explain what is wrong with my url mappings configuration? 

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 Ojjis

The pattern seems to be wrong, have you tried with "/content/brand/:/brand" and "/content/mobile/:/mobile". 
One way of doing it would be to have like "/content/mybrand/-/" and "/content/myotherbrand/-/". That worked for me.

Good Luck
/Johan

3 replies

smacdonald2008
Level 10
October 16, 2015

Have you followed the documentation located here:
http://dev.day.com/docs/en/cq/current/deploying/resource_mapping.html

Are you using the correct patterns? 

Ojjis
OjjisAccepted solution
Level 7
October 16, 2015

The pattern seems to be wrong, have you tried with "/content/brand/:/brand" and "/content/mobile/:/mobile". 
One way of doing it would be to have like "/content/mybrand/-/" and "/content/myotherbrand/-/". That worked for me.

Good Luck
/Johan

Sham_HC
Level 10
October 16, 2015

Could you please configure at repository level rather than felix console and verify.