Documentation Center

Upgrading the SDL Tridion 2013 SP1 HR1 Session Preview Java/JSP Web site extension

Upgrade the SDL Tridion 2013 SP1 HR1 Session Preview extension to a Java/JSP Web site by removing and adding JARs.

Procedure

  1. Access the library location of the Web application that contains your Session Preview Web site extension.
  2. 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
  3. 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
  4. On the SDL Web installation media, access Content Delivery\roles\session\extension-web\in-process\java\lib\. In your Web application, navigate to the WEB-INF/lib/ folder.
  5. Copy all files in this location to your Role's library location.
  6. Depending on the Web application server you use, remove the following JAR files you just copied:
    Web application serverFile to remove
    IBM WebSpherexml-apis-VERSION.jar
    Oracle WebLogicstax-api-VERSION.jar
    RedHat JBoss
    • serializer-VERSION.jar
    • stax-api-VERSION.jar
    • xalan-VERSION.jar

    where VERSION is the version number of the JAR file.

  7. 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.
  8. In the configuration location, open the following files for editing:
    • cd_webservice_conf.xml
    • cd_storage_conf.xml
    • cd_ambient_conf.xml
  9. From cd_webservice_conf.xml, copy the section called <OData>, with all of its contents, to your clipboard.
  10. In cd_storage_conf.xml, place your cursor before the <License> section and paste the copied code.
  11. Save and close cd_storage_conf.xml.
  12. From cd_webservice_conf.xml, copy the sections called <AuthenticationServer> and <Accounts>, with all of their contents, to your clipboard.
  13. 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.
  14. Save and close cd_ambient_conf.xml.
  15. Close cd_webservice_conf.xml. You can now delete this file.
  16. Restart the Web application that contains the Role.