I have new UI setup and noticing that when ever I update a page it is not refreshing with the updated changes. I do not see either the page_{sessionId/GUID}.aspx created either.
Checked the session preview DB and I see the changes in PAGE_CONTENT table with new rendered content, so seems like session preview is working fine but the Preview site is not able to get the changes and refresh the UI.
I have checked all the preview handlers and mappings for .aspx and made sure they are correct in web.config. Any thoughts on why the preview site not showing up the changes?
I have the session preview DB setup in cd_storage_conf.xml.
<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 (handlers):
<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" />
Log (timestamp and DEBUG prefix removed):
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.
Any thoughts/pointers on what might be going wrong...? (sorry for the long post)
SOLUTION/FIX
Applying the new hotifx "CD_2011.1.1.81686" on preview application resolved the problem. Hotifx could be downloaded from https://www.sdltridionworld.com/downloads/hotfixes/SDL_Tridion_2011_SP1_1/index.aspx (login required)
Edit this file cd_ambient_conf.xml; UNcomment the follwoing line
and then try to edit you will be able to preview the changes
Thanks & regards Abhijit Angre
After the "The session wrappers are correctly installed." message, once I make a change I get a LOT of feedback on my logs (in debug). This is the short version...
[...]
[...]
And it then loads with the correct updates.
I don't see anything wrong with the config you posted, so here's my config for the cd_ambient_conf.xml;
and cd_dynamic_conf:
Hopefully this helps.
N