我有新的UI设置和注意到,当过我更新了网页是不是清爽与更新的变化。 我没有看到任何的page_ {的sessionId / GUID}的.aspx创建无论是。
经过会议预览DB,我看到与新呈现的内容PAGE_CONTENT表的变化,所以看起来会预览工作正常,但预览网站是不是能够得到更改并刷新UI。
我已经检查了所有的预览处理程序和映射的.aspx并确保他们在web.config中正确。 为什么任何想法预览网站没有显示出来的变化?
我在cd_storage_conf.xml会话预览DB设置。
<StorageBindings>
<Bundle src="preview_dao_bundle.xml"/>
</StorageBindings>
<Wrappers>
<Wrapper Name="SessionWrapper">
<Timeout>120000</Timeout>
<Storage Type="persistence" Id="db-session-webservice" dialect="MSSQL"
Class="com.tridion.storage.persistence.JPADAOFactory">
<Pool Type="jdbc" Size="5" MonitorInterval="60"
IdleTimeout="120" CheckoutTimeout="120" />
<DataSource Class="com.microsoft.sqlserver.jdbc.SQLServerDataSource">
<Property Name="serverName" Value="localhost" />
<Property Name="portNumber" Value="1433" />
<Property Name="databaseName" Value="Tridion_Broker_SessionPreview" />
<Property Name="user" Value="usr" />
<Property Name="password" Value="pwd" />
</DataSource>
</Storage>
</Wrapper>
</Wrappers>
web.config中(处理程序):
<add verb="GET" path="*.htm" type="Tridion.ContentDelivery.Preview.Web.StaticFileHandler" />
<add verb="GET" path="*.jpg" type="Tridion.ContentDelivery.Preview.Web.StaticFileHandler" />
<add verb="GET" path="*.png" type="Tridion.ContentDelivery.Preview.Web.StaticFileHandler" />
<add verb="GET" path="*.html" type="Tridion.ContentDelivery.Preview.Web.StaticFileHandler" />
<add name="Tridion.ContentDelivery.Preview.Web.PreviewContentModule" type="Tridion.ContentDelivery.Preview.Web.PreviewContentModule" />
日志(时间戳和DEBUG前缀去掉):
ClaimStore - put: uri=taf:session:id, value=tridion_db59279b-7d37-4b2e-ad98-eaaa6af7038e
ClaimStore - put: uri=taf:session:id, value=tridion_db59279b-7d37-4b2e-ad98-eaaa6af7038e
ClaimStore - put: uri=taf:tracking:id, value=tridion_d1fa1017-a28d-4f48-a790-b74f78c69314
ClaimStore - put: uri=taf:tracking:id, value=tridion_d1fa1017-a28d-4f48-a790-b74f78c69314
SearchClaimProcessor - No match found for referrer string http://uidemo.practice.com/en/Product/musk.aspx
SearchClaimProcessor - No match found for referrer string http://uidemo.practice.com/en/Product/musk.aspx
ClaimStore - put: uri=taf:claim:ambientdata:footprintcartridge:devicetype, value=Desktop
ClaimStore - put: uri=taf:claim:ambientdata:footprintcartridge:devicetype, value=Desktop
ClaimStore - put: uri=taf:claim:ambientdata:footprintcartridge:mobiledevice, value=NotMobile
ClaimStore - put: uri=taf:claim:ambientdata:footprintcartridge:acceptlanguage, value=en-US
ClaimStore - put: uri=taf:claim:ambientdata:footprintcartridge:mobiledevice, value=NotMobile
ClaimStore - put: uri=taf:claim:ambientdata:footprintcartridge:acceptlanguage, value=en-US
PageHandler - The session wrappers are correctly installed.
上什么可能会错误的任何想法/指针...? (遗憾的长期职位)
之后,“会议包装被正确安装。” 消息,一旦我做出改变我得到我的日志反馈了很多(在调试)。 这是短版...
DEBUG PageHandler - The session wrappers are correctly installed.
DEBUG SessionManagerImpl - Retrieved the session on the current execution thread: PreviewSession [sessionId=db5c1e84-649f-4635-bbdd-fb6683e98b07, expirationDate=2012-06-29 12:31:24.65].
DEBUG PageHandler - The session db5c1e84-649f-4635-bbdd-fb6683e98b07 was found loaded!
DEBUG DynamicMetaRetriever - Searching for pageMeta for url='http://localhost:81/'.
DEBUG MetaResolverFactory - Fetching meta resolver for PAGE_META meta data type.
DEBUG MetaResolverFactory - Fetching meta resolver for PAGE_META meta data type.
DEBUG MappingsResolverImpl - Getting publication mapping for http://localhost:81/
DEBUG MappingsStrategyContext - Resolving url using strategy com.tridion.dynamiccontent.publication.mappingsstrategy.impl.StaticMappingsStrategy
DEBUG StaticMappingsStrategy - Resolving: http://localhost:81/
DEBUG ProtocolOptionMatcher - Mapped Protocol match with the url. Protocol is [http].
DEBUG ProtocolOptionMatcher - The calculated weight is [1].
DEBUG DomainOptionMatcher - The Domain extracted from the url is: [localhost]
DEBUG DomainOptionMatcher - The mapped Domain is: [localhost]
DEBUG DomainOptionMatcher - Mapped Domain match with the url. Mapped Domain is [localhost] and extracted Domain is [localhost].
DEBUG DomainOptionMatcher - The calculated weight is [10000].
DEBUG PortOptionMatcher - The Port extracted from the url is: [:81]
DEBUG PortOptionMatcher - The mapped Port is: [81]
[...]
DEBUG JPAPreviewSessionDAO - Retrieving PreviewSession by sessionId: db5c1e84-649f-4635-bbdd-fb6683e98b07
[...]
SessionManagerImpl - Retrieved the session on the current execution thread: PreviewSession [sessionId=db5c1e84-649f-4635-bbdd-fb6683e98b07, expirationDate=Fri Jun 29 12:31:25 EDT 2012].
它然后用正确的更新加载。
我看不出有什么毛病你贴的配置,所以这里是我的cd_ambient_conf.xml配置;
<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="6.1" xsi:noNamespaceSchemaLocation="schemas/cd_ambient_conf.xsd">
<Cartridges>
<Cartridge File="cd_webservice_preview_cartridge.xml"/>
<Cartridge File="footprint_cartridge_conf.xml"/>
</Cartridges>
<ClaimStoreProvider>com.tridion.siteedit.preview.PreviewClaimStoreProvider</ClaimStoreProvider>
</Configuration>
和cd_dynamic_conf:
<?xml version="1.0" encoding="UTF-8"?>
<Configuration Version="6.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="schemas/cd_dynamic_conf.xsd">
<URLMappings>
<StaticMappings>
<Publications>
<Publication Id="5">
<Host Domain="localhost" Port="81" Protocol="http" Path=""/>
</Publication>
</Publications>
</StaticMappings>
<StorageMapping IdentifyPublicationByProperty="publicationUrl"/>
</URLMappings>
<TCDLEngine>
<Renderer Class="com.tridion.tcdl.TCDLRenderer">
<Properties>
<Property Name="prop1" Value="value1"/>
<Property Name="prop2" Value="value2"/>
</Properties>
</Renderer>
</TCDLEngine>
</Configuration>
希望这有助于。
ñ
SOLUTION / FIX
应用新的hotifx“CD_2011.1.1.81686”上预览应用程序解决了这个问题。 Hotifx可以从以下网址下载https://www.sdltridionworld.com/downloads/hotfixes/SDL_Tridion_2011_SP1_1/index.aspx (需要登录)
编辑这个文件cd_ambient_conf.xml; 取消对follwoing线
<Cartridge File="footprint_cartridge_conf.xml"/>
然后尝试编辑,你将能够预览更改
感谢和问候作者Abhijit Angre
文章来源: Tridion New UI Preview Site is not reflecting with the changes unless pulished