2012-06-29 15 views
6

Yeni kullanıcı arabirimi kurulumuma sahibim ve bir sayfayı güncellediğimde, güncellenen değişikliklerle yenilenmediğimi fark ettim. Ben de sayfa_ {sessionId/GUID} .aspx'i göremiyorum.Tridion Yeni Kullanıcı Arabirimi Önizleme Site, değiştirilmemişse değişikliklerle yansıtılmıyor

Oturum önizlemesi DB'yi kontrol ettim ve yeni oluşturulmuş içerikle PAGE_CONTENT tablosundaki değişiklikleri görüyorum, bu nedenle oturum önizlemesi iyi çalışıyor ancak Önizleme sitesi değişiklikleri almayı ve kullanıcı arayüzünü yenilemeyi başaramıyor gibi görünüyor.

.aspx için tüm önizleme işleyicileri ve eşleştirmelerini kontrol ettim ve web.config dosyasında doğru olduklarından emin olduk. Önizleme sitesinin neden değişiklikleri göstermediği konusunda bir fikrin var mı?

CD_storage_conf.xml dosyasında oturum önizleme DB kurulumum var.

<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 (işleyicileri):

<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" /> 

Günlüğü (kaldırılmış zaman damgası ve DEBUG önek):

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. 

Herhangi bir düşünce/yanlış gittiğini ne olabileceğini üzerine işaretçileri ... ? (uzun mesaj için özür dilerim)

cevap

4

"Oturum paketleyicileri doğru şekilde yüklendikten sonra." Bir değişiklik yaptıktan sonra, günlüklerimde (hata ayıklamasında) bir sürü geribildirim alıyorum. Bu ...

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]. 

kısa versiyonu Ve doğru güncellemelerle daha sonra yükler.

Gönderdiğiniz yapılandırmada yanlış bir şey göremiyorum, bu yüzden cd_ambient_conf.xml için yaptığım yapılandırma;

<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> 

ve 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> 

Umarım bu yardımcı olur.

N

+0

sayesinde Nuno önizleme mümkün olacak düzenlemeyi deneyin. Yapılandırmaları ve günlük girişlerini de kontrol ediyorum. –

+0

Sanırım sorunu çözdüm, hala çözümden emin değilim. Aynı IIS dizininde bir/en ve/fr ile bir tane olmak üzere 2 dilde web sitem var. Bazı nedenlerden dolayı UI, sanal dizin/tr ve/fr ile düzgün şekilde çalışamamaktadır. Hatta ekledim, ancak şans yok. Aynı yapılandırmayı sanal dizinler ve kullanıcı arabirimi ile çalışıyordum. –

+0

İlginç. Bu işe yaramaz - cd_link_conf'daki aynı yapılandırmayla (Yol ayarı ile) deneyebilir misiniz? –

0

Bu dosyayı düzenle cd_ambient_conf.xml; follwoing hattını

<Cartridge File="footprint_cartridge_conf.xml"/> 
yorumsuz ve sonra değişiklikleri

Teşekkür & Saygılarımızla Abhijit Angre

İlgili konular