微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

tridion – 错误XMLConfigurationReader – 使用模式’schemas / cd_ambient_conf.xsd [closed]验证文件’cd_ambient_conf.xml’时出错

我在Tridion UI 2012的暂存网站中配置了环境数据框架.但是在日志文件中它记录下面的错误

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和Tridion SP1#HR1的jar文件时,我看到了这个错误.你很可能(非常肯定)有来自Tridion SP1的cd_core.jar而不是来自Tridion SP1 HR1.

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.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。