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
- Access the library location of the Web application that contains your Session Preview Web site extension.
- 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
- 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
- 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.
- Copy all files in this location to your Role's library location.
- Depending on the Web application server you use, remove the following JAR files you just copied:
Web application server File to remove IBM WebSphere xml-apis-VERSION.jar Oracle WebLogic stax-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.
- 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.
- In the configuration location, open the following files for editing:
- cd_webservice_conf.xml
- cd_storage_conf.xml
- cd_ambient_conf.xml
- From cd_webservice_conf.xml, copy the section called
<OData>, with all of its contents, to your clipboard. - In cd_storage_conf.xml, place your cursor before the
<License>section and paste the copied code. - Save and close cd_storage_conf.xml.
- From cd_webservice_conf.xml, copy the sections called
<AuthenticationServer>and<Accounts>, with all of their contents, to your clipboard. - 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. - Save and close cd_ambient_conf.xml.
- Close cd_webservice_conf.xml. You can now delete this file.
- Restart the Web application that contains the Role.