Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

  1. Maven 2.2.1 or above
  2. Tomcat 6.x or above
  3. Java 6 (note: the djatoka service has compatibility issues with open-jdk)
  4. Subversion

Setting up DuraCloud

Any portions of the configuration below for which you need to include a replacement value will be written in all capital letters and included in brackets: \ [LIKE-THIS\]

Info

Wiki Markup
Build and deploy the DuraCloud web applications

...

Where \ [DURACLOUD_HOME\] is a directory where the application has write access (can be same as <duracloud.home> set in Maven settings.xml above)
  • The run.sh script will start an OSGi container and commandline interface to it
  • The container starts with required bundles including the 'services-admin' installed
  • Panel
    titleLinux/Mac
    1. Start OSGi service container
      Code Block
      cd //services/servicesadmin
      mvn clean -f pom-run.xml pax:provision
      cd runner
      chmod +x run.sh
      export BUNDLE_HOME=[DURACLOUD_HOME]/osgi-container
      ./run.sh
      
    Wiki Markup
    Where \ [BUNDLE_HOME\] is the full path to an empty directory where the osgi container content will be stored
  • Open the run.bat file in the runner directory in a text editor and replace all instances of "$BUNDLE_HOME" with "%BUNDLE_HOME%"
  • Note: A directory called "$BUNDLE_HOME" under the runner directory will be used as the default bundle home if one is not specified.
  • (Optional) Set up logging
    1. Download the logback.xml file found here into your bundle home directory.
    2. Open the logback.xml file in a text editor and edit the LOG_FILENAME property to point to a full file path (including file name) for a log file.
    3. Note: One benefit to performing this step will be faster start time for your OSGi container.
  • Start OSGI service container
  • Panel
    titleWindows
    1. Set up OSGi service container
      Code Block
      cd services/servicesadmin
      mvn clean -f pom-run.xml pax:provision
      cd runner
      
    2. (Optional) Set the OSGi bundle storage location
      Code Block
      set BUNDLE_HOME=[BUNDLE_HOME]
      
    Wiki Markup
    Code Block
    run.bat
    
    1. The run.bat script will start an OSGi container and commandline interface to it
    2. The container starts with required bundles including the 'services-admin' installed

    ...