Documentation Center

Upgrading the SDL Tridion 2013 SP1 HR1 Session Preview .NET Web site extension

Upgrade the DLLs and JARs for the extension.

Procedure

  1. Access the bin\ subfolder of the .NET Web application that contains your Session Preview Web site extension.
  2. Remove Tridion.ContentDelivery.Preview.dll.
  3. Access the lib\ subfolder of this bin\ subfolder.
  4. Remove the following JAR files, which this Role no longer uses:
    • asm.jar
    • cd_odata.jar
    • cd_odata_types.jar
    • jackson-core-asl.jar
    • jackson-jaxrs.jar
    • jackson-mapper-asl.jar
    • jackson-xc.jar
    • jersey-core.jar
    • jersey-json.jar
    • jersey-server.jar
    • jersey-servlet.jar
  5. Also remove the following JAR files, which have a new filename in this Role (showing the version):
    • cd_preview_ambient.jar
    • cd_preview_web.jar
    • cd_session.jar
    • cd_wrapper.jar
    • jettison.jar
  6. On the SDL Web installation media, access Content Delivery\roles\session\extension-web\in-process\dotnet\bin\.
  7. Copy all files in this location, including the lib\ subfolder and all of its files, into the bin\ subolder of your .NET Web application.
  8. Access the configuration location and do one of the following:
    • If you have modified the file logback.xml, merge its contents with that of the file Content Delivery\roles\session\extension-web\in-process\config\logback.xml.
    • Otherwise, copy Content Delivery\roles\session\extension-web\in-process\config\logback.xml over your current logback.xml.
  9. In the configuration location, open the following files for editing:
    • cd_webservice_conf.xml
    • cd_storage_conf.xml
    • cd_ambient_conf.xml
  10. From cd_webservice_conf.xml, copy the section called <OData>, with all of its contents, to your clipboard.
  11. In cd_storage_conf.xml, place your cursor before the <License> section and paste the copied code.
  12. Save and close cd_storage_conf.xml.
  13. From cd_webservice_conf.xml, copy the sections called <AuthenticationServer> and <Accounts>, with all of their contents, to your clipboard.
  14. In cd_ambient_conf.xml, place your cursor inside the <Security> section, before the <Rules> subsection or, if there is no <Rules> subsection, just before the closing tag </Security>, and then paste the copied code.
  15. Save and close cd_ambient_conf.xml.
  16. Close cd_webservice_conf.xml. You can now delete this file.
  17. Restart the Web application that contains the Role.