Documentation Center

Upgrading the Context Engine Cartridge

In addition to updating your set of JAR files, perform a number of additional tasks to update your Context Engine Cartridge Server Role.

Procedure

  1. Merge your existing Context Engine Cartridge configuration file, cwd_engine_conf.xml, with the file of the same name as found on the installation media in the \Context Engine Cartridge\configuration\samples\ folder.
  2. If you use .NET, do the following:
    1. Access the bin\ subfolder of your Web application.
    2. Remove the repository\ subfolder.
    3. Create the device database anew using this command:
      java -Xmx1024m -jar lib\cwd_engine.jar http://context.sdl.com/seed
  3. Alternatively, if you use Java, do the following:
    1. Access the WEB-INF/ subfolder of your Web application.
    2. Remove the repository/ subfolder.
    3. Create the device database anew using this command:
      java -Xmx1024m -jar lib/cwd_engine.jar http://context.sdl.com/seed
  4. Examine the Context Engine Cartridge implementation topics to configure new features as needed.
  5. Restart your Web application to apply your changes.