Documentation Center

Copying Context Engine Cartridge 1.1 for SDL Tridion 2011 SP1 resources

Copy JAR files and a configuration file to add the Context Engine Cartridge to a Web application.

Procedure

  1. On the server that contains the Web application you have created or selected, navigate to the JAR resource folder of your Web application:
    • For a .NET Web application, navigate to the bin\lib\ folder.
    • For a Java Web application, navigate the files to the WEB-INF/lib/ directory.
  2. In the SDL Context Engine Cartridge 1.1 for SDL Tridion 2011 SP1 installation media (that is, in the extracted contents of the distribution zip file ), navigate to the java\lib\ folder . You see the following JAR files in this location:
    • cwd_cartridge-2011.jar
    • cwd_engine-2011.jar
  3. Add the SDL Context Engine Cartridge 1.1 for SDL Tridion 2011 SP1 Cartridge to SDL Tridion by copying these files to your JAR resource folder.
  4. Navigate to the java\third-party-lib\ folder of the SDL Context Engine Cartridge 1.1 for SDL Tridion 2011 SP1 installation media. Copy the JAR files in this location to your JAR resource folder:
    • commons-beanutils.jar
    • commons-configuration.jar
    • commons-digester.jar
    • commons-jexl.jar
    • commons-lang.jar
    • ehcache.jar
    • hibernate-ehcache.jar
    • hsqldb.jar
    • patricia-trie.jar
    • snakeyaml.jar
    • ua-parser.jar
  5. On the installation media, navigate to the \Context Engine Cartridge\configuration\samples\ folder of the installation media. In your Web application, navigate to the location of your other configuration files:
    • For a .NET Web application, go to the bin\config\ folder.
    • For a Java Web application, go to the WEB-INF/classes/ directory.
  6. Copy the following files from the installation media to this location:
    • cwd_engine_cartridge_conf_sample.xml
    • cwd_engine_vocabulary_conf_sample.xml
    • cwd_engine_conf_sample.xml
  7. Rename each of these files to remove the _sample part from the filename. For example, rename cwd_engine_cartridge_conf_sample.xml to cwd_engine_cartridge_conf.xml.