Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

dynamic media css/artwork is not getting sync when configuring dynamic media scene7

Avatar

Avatar
Validate 1
Level 3
manish_anand
Level 3

Likes

19 likes

Total Posts

56 posts

Correct Reply

3 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 3
manish_anand
Level 3

Likes

19 likes

Total Posts

56 posts

Correct Reply

3 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
manish_anand
Level 3

22-09-2018

Hi All,

while setting up dynamic media for AEM 6.3.2.2, sample assets are getting synced to scene7 but css files are not. i am getting error below.

>>   +/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicmixedmedia-sample/jcr:content/related/s7Set/sling:members/dynamicimageset-sample/sling:resource

21.09.2018 16:32:25.979 *INFO* [sling-oak-observation-250] com.adobe.cq.dam.ips.impl.replication.trigger.ReplicateOnModifyListener Adding S7Sync jobs for 25 action(s): [UPDATED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicvideo-sample.mp4), UPDATED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicvideo-sample.mp4), UPDATED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicvideo-sample.mp4.svideo.vtt), UPDATED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicspinset-sample), UPDATED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicspinset-sample), UPDATED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicspinset-sample), UPDATED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicspinset-sample), UPDATED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicspinset-sample), UPDATED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicspinset-sample), UPDATED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicspinset-sample), UPDATED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicspinset-sample), UPDATED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicspinset-sample), UPDATED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicimageset-sample), NODE_DELETED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicimageset-sample/jcr:content/related/s7Set/sling:members/Backpack_B.jpg), UPDATED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicimageset-sample), UPDATED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicimageset-sample), UPDATED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicimageset-sample), UPDATED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicimageset-sample), UPDATED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicimageset-sample), UPDATED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicimageset-sample), UPDATED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicmixedmedia-sample), UPDATED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicmixedmedia-sample), UPDATED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicmixedmedia-sample), UPDATED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicmixedmedia-sample), UPDATED(/content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicmixedmedia-sample)]

21.09.2018 16:32:25.986 *ERROR* [Thread-14] com.day.cq.dam.s7dam.common.utils.SampleAssetUtils Unable to persist sample assets to folder: /content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE

org.apache.sling.api.resource.PersistenceException: Unable to commit changes to session.

                             at org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.commit(JcrResourceProvider.java:499)

                             at org.apache.sling.resourceresolver.impl.providers.stateful.AuthenticatedResourceProvider.commit(AuthenticatedResourceProvider.java:215)

                             at org.apache.sling.resourceresolver.impl.helper.ResourceResolverControl.commit(ResourceResolverControl.java:421)

                             at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.commit(ResourceResolverImpl.java:1177)

                             at com.day.cq.dam.s7dam.common.utils.SampleAssetUtils.prepareSampleAssets(SampleAssetUtils.java:198)

                             at com.day.cq.dam.s7dam.common.event.DMS7TargetFolderReadyHandler.handleEvent(DMS7TargetFolderReadyHandler.java:85)

                             at org.apache.felix.eventadmin.impl.handler.EventHandlerProxy.sendEvent(EventHandlerProxy.java:415)

                             at org.apache.felix.eventadmin.impl.tasks.HandlerTask.runWithoutBlacklistTiming(HandlerTask.java:102)

                             at org.apache.felix.eventadmin.impl.tasks.SyncDeliverTasks.execute(SyncDeliverTasks.java:104)

                             at org.apache.felix.eventadmin.impl.tasks.AsyncDeliverTasks$TaskExecuter.run(AsyncDeliverTasks.java:166)

                             at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

                             at java.util.concurrent.FutureTask.run(Unknown Source)

                             at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

                             at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

                             at java.lang.Thread.run(Unknown Source)

Caused by: javax.jcr.InvalidItemStateException: OakState0001: Unresolved conflicts in /content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicimageset-sample/jcr:content/related/s7Set/sling:members

                             at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:237)

                             at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:212)

                             at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.newRepositoryException(SessionDelegate.java:670)

                             at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.save(SessionDelegate.java:496)

                             at org.apache.jackrabbit.oak.jcr.session.SessionImpl$8.performVoid(SessionImpl.java:419)

                             at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.performVoid(SessionDelegate.java:274)

                             at org.apache.jackrabbit.oak.jcr.session.SessionImpl.save(SessionImpl.java:416)

                             at com.adobe.granite.repository.impl.CRX3SessionImpl.save(CRX3SessionImpl.java:208)

                             at org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.commit(JcrResourceProvider.java:497)

                             ... 14 common frames omitted

Caused by: org.apache.jackrabbit.oak.api.CommitFailedException: OakState0001: Unresolved conflicts in /content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicimageset-sample/jcr:content/related/s7Set/sling:members

                             at org.apache.jackrabbit.oak.plugins.commit.ConflictValidator.failOnMergeConflict(ConflictValidator.java:115)

                             at org.apache.jackrabbit.oak.plugins.commit.ConflictValidator.propertyAdded(ConflictValidator.java:84)

                             at org.apache.jackrabbit.oak.spi.commit.CompositeEditor.propertyAdded(CompositeEditor.java:83)

                             at org.apache.jackrabbit.oak.spi.commit.EditorDiff.propertyAdded(EditorDiff.java:82)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareProperties(SegmentNodeState.java:617)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:480)

                             at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:148)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:555)

                             at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:148)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:555)

                             at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:148)

                             at org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:415)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:608)

                             at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:148)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:555)

                             at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:148)

                             at org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:415)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:608)

                             at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:148)

                             at org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:415)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:608)

                             at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:148)

                             at org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:415)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:608)

                             at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:148)

                             at org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:415)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:608)

                             at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:148)

                             at org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:415)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:608)

                             at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:148)

                             at org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:415)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:608)

                             at org.apache.jackrabbit.oak.spi.commit.EditorDiff.process(EditorDiff.java:52)

                             at org.apache.jackrabbit.oak.spi.commit.EditorHook.processCommit(EditorHook.java:54)

                             at org.apache.jackrabbit.oak.spi.commit.CompositeHook.processCommit(CompositeHook.java:61)

                             at org.apache.jackrabbit.oak.spi.commit.CompositeHook.processCommit(CompositeHook.java:61)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeStore$Commit.prepare(SegmentNodeStore.java:611)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeStore$Commit.optimisticMerge(SegmentNodeStore.java:634)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeStore$Commit.execute(SegmentNodeStore.java:690)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeStore.merge(SegmentNodeStore.java:334)

                             at org.apache.jackrabbit.oak.core.MutableRoot.commit(MutableRoot.java:249)

                             at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.commit(SessionDelegate.java:347)

                             at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.save(SessionDelegate.java:494)

                             ... 19 common frames omitted

21.09.2018 16:32:26.238 *ERROR* [Thread-14] com.day.cq.dam.s7dam.common.utils.SampleAssetUtils Unable to prepare folder for preset CSS and artwork: /content/dam/myCompany/newdynamicmediavideos/_CSS/_OOTB

org.apache.sling.api.resource.PersistenceException: Unable to commit changes to session.

                             at org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.commit(JcrResourceProvider.java:499)

                             at org.apache.sling.resourceresolver.impl.providers.stateful.AuthenticatedResourceProvider.commit(AuthenticatedResourceProvider.java:215)

                             at org.apache.sling.resourceresolver.impl.helper.ResourceResolverControl.commit(ResourceResolverControl.java:421)

                             at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.commit(ResourceResolverImpl.java:1177)

                             at com.day.cq.dam.s7dam.common.utils.SampleAssetUtils.prepareOotbFolder(SampleAssetUtils.java:128)

                             at com.day.cq.dam.s7dam.common.utils.SampleAssetUtils.preparePresets(SampleAssetUtils.java:313)

                             at com.day.cq.dam.s7dam.common.event.DMS7TargetFolderReadyHandler.handleEvent(DMS7TargetFolderReadyHandler.java:86)

                             at org.apache.felix.eventadmin.impl.handler.EventHandlerProxy.sendEvent(EventHandlerProxy.java:415)

                             at org.apache.felix.eventadmin.impl.tasks.HandlerTask.runWithoutBlacklistTiming(HandlerTask.java:102)

                             at org.apache.felix.eventadmin.impl.tasks.SyncDeliverTasks.execute(SyncDeliverTasks.java:104)

                             at org.apache.felix.eventadmin.impl.tasks.AsyncDeliverTasks$TaskExecuter.run(AsyncDeliverTasks.java:166)

                             at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

                             at java.util.concurrent.FutureTask.run(Unknown Source)

                             at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

                             at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

                             at java.lang.Thread.run(Unknown Source)

Caused by: javax.jcr.InvalidItemStateException: OakState0001: Unresolved conflicts in /content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicimageset-sample/jcr:content/related/s7Set/sling:members

                             at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:237)

                             at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:212)

                             at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.newRepositoryException(SessionDelegate.java:670)

                             at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.save(SessionDelegate.java:496)

                             at org.apache.jackrabbit.oak.jcr.session.SessionImpl$8.performVoid(SessionImpl.java:419)

                             at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.performVoid(SessionDelegate.java:274)

                             at org.apache.jackrabbit.oak.jcr.session.SessionImpl.save(SessionImpl.java:416)

                             at com.adobe.granite.repository.impl.CRX3SessionImpl.save(CRX3SessionImpl.java:208)

                             at org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.commit(JcrResourceProvider.java:497)

                             ... 15 common frames omitted

Caused by: org.apache.jackrabbit.oak.api.CommitFailedException: OakState0001: Unresolved conflicts in /content/dam/myCompany/newdynamicmediavideos/_DMSAMPLE/dynamicimageset-sample/jcr:content/related/s7Set/sling:members

                             at org.apache.jackrabbit.oak.plugins.commit.ConflictValidator.failOnMergeConflict(ConflictValidator.java:115)

                             at org.apache.jackrabbit.oak.plugins.commit.ConflictValidator.propertyAdded(ConflictValidator.java:84)

                             at org.apache.jackrabbit.oak.spi.commit.CompositeEditor.propertyAdded(CompositeEditor.java:83)

                             at org.apache.jackrabbit.oak.spi.commit.EditorDiff.propertyAdded(EditorDiff.java:82)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareProperties(SegmentNodeState.java:617)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:480)

                             at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:148)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:555)

                             at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:148)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:555)

                             at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:148)

                             at org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:415)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:608)

                             at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:148)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:555)

                             at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:148)

                             at org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:415)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:608)

                             at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:148)

                             at org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:415)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:608)

                             at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:148)

                             at org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:415)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:608)

                             at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:148)

                             at org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:415)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:608)

                             at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:148)

                             at org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:415)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:608)

                             at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:148)

                             at org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:415)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:608)

                             at org.apache.jackrabbit.oak.spi.commit.EditorDiff.process(EditorDiff.java:52)

                             at org.apache.jackrabbit.oak.spi.commit.EditorHook.processCommit(EditorHook.java:54)

                             at org.apache.jackrabbit.oak.spi.commit.CompositeHook.processCommit(CompositeHook.java:61)

                             at org.apache.jackrabbit.oak.spi.commit.CompositeHook.processCommit(CompositeHook.java:61)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeStore$Commit.prepare(SegmentNodeStore.java:611)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeStore$Commit.optimisticMerge(SegmentNodeStore.java:634)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeStore$Commit.execute(SegmentNodeStore.java:690)

                             at org.apache.jackrabbit.oak.segment.SegmentNodeStore.merge(SegmentNodeStore.java:334)

                             at org.apache.jackrabbit.oak.core.MutableRoot.commit(MutableRoot.java:249)

                             at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.commit(SessionDelegate.java:347)

                             at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.save(SessionDelegate.java:494)

                             ... 20 common frames omitted

21.09.2018 16:32:26.260 *INFO* [sling-oak-observation-249] com.adobe.cq.dam.ips.impl.replication.trigger.ReplicateOnModifyListener Received events:

  >> NODE_ADDED

  >>   +/content/dam/myCompany/newdynamicmediavideos/_CSS

  >>   +/content/dam/myCompany/newdynamicmediavideos/_CSS/_OOTB

check the log in bold.

my questions:

-->is there any filter which by mistake i created to restrict css files to get sync.

--> it was working fine during initial setup, but now i had to change the dns for video delivery(s7g10.scene7.com and s7mbrstream-g1.scene7.com) specific to my company.so i had to re setup everything and i deleted all existing assets (videos, sampleassets, css) from scene7. By any chance, are they still there causing conflict as per logs?

--> I dont think dns changes has anything to do with syncing css to scene7, those domains are used for delivery. we use proxy to connect scene7, But i checked it is not blocking any request to scene7.

--> When i try to publish viewer presets via tools->assets->viewerpresets (http://host:port/mnt/overlay/dam/gui/content/s7dam/viewerpresets/viewerpresets.html ) i get below error in console. Ofcourse i am getting this because content/dam/mycompany/newdynamicmediavideos/_CSS/_OOTB/ doesnt have css files.

Please help

Regards,

Manish

View Entire Topic

Avatar

Avatar
Validate 1
Level 3
manish_anand
Level 3

Likes

19 likes

Total Posts

56 posts

Correct Reply

3 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 3
manish_anand
Level 3

Likes

19 likes

Total Posts

56 posts

Correct Reply

3 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
manish_anand
Level 3

23-09-2018

Anybody has any idea about this issue?