Upgrading the web application containing the in-process API role

To upgrade the web application containing your in-process API role, update its resources.

Procedure

  1. Access the library location of the web application that contains your API Role.
  2. If this location contains any custom JAR files that you added yourself, back them up to a safe location.
  3. Delete all files in this directory.
  4. On the SDL Tridion Sites installation media, access Content Delivery\roles\api\in-process\java\lib\.
  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. If you are upgrading the API Server Role running in a .NET web application, back up any custom files in the bin\ folder of your web application, and then delete all files in the bin\ folder.
  8. If you are upgrading the API Server Role running in a .NET web application, from the installation media folder called Content Delivery\api\in-process\dotnet\bin\, copy all files into the bin\ folder of your web application.
  9. Access the configuration location and the installation media folder Content Delivery\roles\api\in-process\config\ and for each file in the installation media folder, do one of the following:
    • If you have modified the file, merge its contents with that of the file in Content Delivery\roles\api\in-process\config\.
    • If you have not modified the file or if the file does not exist in your target location, copy the file from Content Delivery\roles\api\in-process\config\ over your current version.
  10. Restore any custom files you have backed up.
  11. Restart the web application that contains the Role.