Expand my Community achievements bar.

SOLVED

MSM how to Syncronize a Site (w/ reSync Blueprint)

Avatar

Level 6

We have a problem, one of our multi-lingual site, created with the blueprint. One of our MSM AEM sites is not connected at all. What can we do to ensure the site is working as expected?

 

/content/easde/language-master/en (language-master is the blueprint; en is the language copy);

/content/easde/CAN/en (connected to blueprint);

/content/easde/USA/en (connected to blueprint);

/content/easde/GB/en (not-connected to blueprint);

What can I do in the JCR to re-connect /content/easde/GB/en to the blueprint, so that I can rollout a page from /content/easde/language-master/en, and everyone should get the rolled out page?

Currently, rolling out from the /content/easde/language-master/en is actually rolling out to CAN, USA, GB as expected. 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

What is the configuration you have added?

Which version of AEM are you using?

Please verify jcr:mixinTypes property present at jcr:content node or not. 

SivaPrasadReddyS_0-1634845806014.png

 

Also, you can verify below and see if that helps?

https://github.com/adobe/aem-project-archetype/issues/360 

https://github.com/adobe/aem-project-archetype/pull/361 

View solution in original post

4 Replies

Avatar

Community Advisor

Hi AEM Wizard,

 

Can you please tell us whether /content/easde/GB/en is created as LiveCopy site ? or you are trying to establish the connection after the site is created? 

 

You can try below:

1. If the site is not created as Livecopy, you can try adding cq:LiveSyncConfig node under GB/en/jcr:content and cq:master property pointing to the blueprint site. You can refer other sites like /content/easde/USA/en where rollout is working and try to mimic same cq:LiveSyncConfig node and see how it works.

 

You can also check below and see for more info: 

https://experienceleague.adobe.com/docs/experience-manager-64/administering/introduction/msm-livecop... 

 

Avatar

Level 6

After this configuration, I am no longer able to roll out any of my pages.

 

21.10.2021 10:55:30.320 *ERROR* [0:0:0:0:0:0:0:1 [1634838930309] POST /bin/wcmcommand HTTP/1.1] com.day.cq.wcm.msm.impl.commands.RolloutCommand Error during roll-out.
com.day.cq.wcm.api.WCMException: java.lang.NullPointerException
at com.day.cq.wcm.msm.impl.RolloutManagerImpl.rolloutResource(RolloutManagerImpl.java:851) [com.day.cq.wcm.cq-msm-core:5.12.38]
at com.day.cq.wcm.msm.impl.RolloutManagerImpl.rolloutPage(RolloutManagerImpl.java:728) [com.day.cq.wcm.cq-msm-core:5.12.38]
at com.day.cq.wcm.msm.impl.RolloutManagerImpl.rolloutPageRelations(RolloutManagerImpl.java:620) [com.day.cq.wcm.cq-msm-core:5.12.38]
at com.day.cq.wcm.msm.impl.RolloutManagerImpl.rollout(RolloutManagerImpl.java:514) [com.day.cq.wcm.cq-msm-core:5.12.38]
at com.day.cq.wcm.msm.impl.commands.RolloutCommand.performCommand(RolloutCommand.java:153) [com.day.cq.wcm.cq-msm-core:5.12.38]
at com.day.cq.wcm.core.impl.commands.WCMCommandService$CommandHolder.performCommand(WCMCommandService.java:178) [com.day.cq.wcm.cq-wcm-core:5.12.106]
at com.day.cq.wcm.core.impl.commands.WCMCommandServlet.performCommand(WCMCommandServlet.java:120) [com.day.cq.wcm.cq-wcm-core:5.12.106]
at com.day.cq.commons.servlets.AbstractCommandServlet.doPost(AbstractCommandServlet.java:49) [com.day.cq.cq-commons:5.12.16]
at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.java:146) [org.apache.sling.api:2.20.0]
at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:342) [org.apache.sling.api:2.20.0]
at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:374) [org.apache.sling.api:2.20.0]
at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:552) [org.apache.sling.engine:2.6.20]
at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:44) [org.apache.sling.engine:2.6.20]
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:82) [org.apache.sling.engine:2.6.20]
at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:156) [com.day.cq.wcm.cq-wcm-core:5.12.106]
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:72) [org.apache.sling.engine:2.6.20]
at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:375) [com.day.cq.wcm.cq-wcm-core:5.12.106]
at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:190) [com.day.cq.wcm.cq-wcm-core:5.12.106]
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:72) [org.apache.sling.engine:2.6.20]
at com.day.cq.wcm.core.impl.page.PageLockFilter.doFilter(PageLockFilter.java:91) [com.day.cq.wcm.cq-wcm-core:5.12.106]
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:72) [org.apache.sling.engine:2.6.20]
at com.day.cq.personalization.impl.TargetComponentFilter.doFilter(TargetComponentFilter.java:94) [com.day.cq.cq-personalization:5.12.38]
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:72) [org.apache.sling.engine:2.6.20]
at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:282) [org.apache.sling.engine:2.6.20]
at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChain.java:49) [org.apache.sling.engine:2.6.20]
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:76) [org.apache.sling.engine:2.6.20]
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.6.20]
at com.day.cq.wcm.core.impl.warp.TimeWarpFilter.doFilter(TimeWarpFilter.java:109) [com.day.cq.wcm.cq-wcm-core:5.12.106]
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:72) [org.apache.sling.engine:2.6.20]
at com.adobe.cq.social.ugcbase.security.impl.SaferSlingPostServlet.doFilter(SaferSlingPostServlet.java:126) [com.adobe.cq.social.cq-social-ugcbase-impl:2.5.2]

Avatar

Correct answer by
Community Advisor

What is the configuration you have added?

Which version of AEM are you using?

Please verify jcr:mixinTypes property present at jcr:content node or not. 

SivaPrasadReddyS_0-1634845806014.png

 

Also, you can verify below and see if that helps?

https://github.com/adobe/aem-project-archetype/issues/360 

https://github.com/adobe/aem-project-archetype/pull/361 

Avatar

Level 2

Check in the Blueprint Control Center.It shows successfully rolled out and failed ones in colod coding.You can also perform synch them to Global Blue Print core site as well.