Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Download latest Tomcat
    1. Windows:
      1. Download “32-bit/64-bit Windows Service Installer” from relevant download page at http://tomcat.apache.org
      2. OpenCDS has been tested using both Apache Tomcat versions 6 and 7, and it can be built to run on either, but the public download is built for Tomcat version 7.

        1. Note:  OpenCDS will not deploy on JBoss without making some changes to the included libraries
      3. Accept defaults
      4. Installation directory may be changed if desired

      5. Set Tomcat Administrator Login to something secure

        1. You may even prefer to remove the administrator login if you have physical access to the server.
      6. Control Panel → System → Advanced → Environment Variables → System Variables

        1. Set CATALINA_HOME to, e.g., “C:\Program Files\Apache Software Foundation\Tomcat 6.0”

        2. Add %CATALINA_HOME%\bin to Path

          1. In this example, was added to beginning of Path
    2. Linux/Mac:
      1. download the tar.gz package, and unpack it to the desired location.
      2. Set CATALINA_HOME to the location of the Tomcat folder
        1. export CATALINA_HOME=/path/to/tomcat
      3. Add CATALINA_HOME/bin to PATH
        1. export PATH=$PATH:$CATALINA_HOME/bin

OpenCDS Configuration

Externalized OpenCDS configuration options are stored in the folder:

Windows:

  •  %HOME%\.opencds\opencds.properties

Linux/Mac:

  • $HOME/.opencds/opencds.properties
Code Block
titleOpenCDS Configuration Location
 

Linux/Mac:

Code Block
languagebash
 

 

 

 

 

Install OpenCDS Sample Knowledge Repository

  1. OpenCDS currently supports two configuration methods:
    1. jar on the classpath which contains the configuration files
    2. files on a connected filesystem

Jar-based Method

Filesystem-based Method

  1. A sample knowledge repository is distributed with the OpenCDS deployment file (the 'war').
  2. Download opencds-knowledge-repository-data.zip from the OpenCDS website | Members | Binary Downloads | at http://develop.opencds.org/OpenCDSDemo/latest/opencds-knowledge-repository-data.zip
  3. Unzip it to a location on the same machine where you will be running Tomcat.
    1. NOTE: you won't have to change any configuration settings if you unzip it into "C:/OpenCDS".
    2. NOTE: There is a configuration file named "opencds-decision-support-service-config.xml" that you will need to update if you have located the sample KR somewhere other than "C:/OpenCDS".
      1. This file is found inside the exploded war file at <servletContainerPath>/opencds-decision-support-service/WEB-INF/classes
      2. it specifies a default path of "C:/OpenCDS/opencds-knowledge-repository-data/resources_v1.1"

...