ERROR XMLConfigurationReader - Error checking file 'cd_ambient_conf.xml' with schema / cd_ambient_conf.xsd

I set up the environment data environment on my intermediate website for Tridion UI 2012. But in the log file it writes below error -

2

012-11-08 11:42:20,095 WARN AmbientDataContext - There is no current ambient data context - the ambient data framework is not properly initialised 2012-11-08 11:42:20,204 ERROR XMLConfigurationReader - Error while validating file 'cd_ambient_conf.xml' with schema 'schemas/cd_ambient_conf.xsd'. cvc-complex-type.2.4.a: Invalid content was found starting with element 'ClaimStoreProvider'. One of '{Cookies}' is expected. 

But the documentation does not mention anywhere to enable the cookie tag. The question exactly resembles the second part of my previous questions - Error setting up the data environment for the content delivery web service (see Editing the CDA application). The answer to this question was suitable for one of my previous cases. So please submit my configuration files. The only intention for this new question is to approach a wide audience. Subsequently, I would be grateful to mark it as a duplicate of the previous one, or I cut and paste the common part into this one. Help would have been better appreciated earlier.

+4
source share
1 answer

I saw this error when you mix jar files Tridion SP1 and Tridion SP1#HR1 . You most likely (with confidence) have cd_core.jar from Tridion SP1 and not from Tridion SP1 HR1 .

Tridion SP1 HR1 is a prerequisite for Tridion UI / XM 2012. You need to replace all jar files from Tridion SP1 HR1 and restart the AppPool preview site. After copying, you will see the messages as shown in the log below, instead of ERRORS.

 WARN AmbientDataContext - There is no current ambient data context - the ambient data framework is not properly initialised DEBUG AmbientDataContext - Setting current ambient data context: com.tridion.ambientdata.web.WebContext INFO AmbientDataConfig - Found claimStoreProvider definition in configuration file: com.tridion.siteedit.preview.PreviewClaimStoreProvider. 
+5
source

Source: https://habr.com/ru/post/1444818/


All Articles