我在Tridion UI 2012的暂存网站中配置了环境数据框架.但是在日志文件中它记录下面的错误 – 2 012-11-08 11:42:20,095 WARN AmbientDataContext - There is no current ambient data context - the ambient data framework
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.
但是在文档中没有提到启用cookie标记.
问题与我以前的问题的第二部分完全相似 –
Error in configuring ambient data framework for Content Delivery web Service
(请参阅编辑 – 关于CDA应用程序).
这个问题的答案适合我以前的一个案例.所以请从那里参考我的配置文件.这个新问题的唯一目的是接近广大受众.之后我会赞成将它标记为前一个副本,或者我将剪切并粘贴此公共部分.
我们非常感谢早期的帮助.
Tridion SP1 HR1是Tridion UI / XM 2012的先决条件.您需要从Tridion SP1 HR1替换所有jar文件并重新启动预览站点的AppPool.复制后,您将在日志中看到如下所示的消息,而不是ERROR.
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.