Uploaded image for project: 'OODT (Retired)'
  1. OODT (Retired)
  2. OODT-608

filemgr-client fails to run properly due to syntax errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.5
    • 0.6
    • radix
    • None

    Description

      The bundled RADiX filemgr-client [1] script contains some syntax errors that prevent it from running properly within the context of RADiX.

      Namely:
      a. The JAVA Spring "action" property sent into the XmlRpcFilemgrClient class is used twice and overshadows the "option" property
      i.e. "-Dorg.apache.oodt.cas.cli.action.spring.config" occurs twice accidently
      b. The use of an absolute path (and env variable FILEMGR_HOME) within the spring config properties for "org.apache.oodt.cas.cli.*.spring.config" causes XmlRpcFilemgrClient to interpret the path incorrectly. Specifically, it assumes a relative path, and thus prepends the current directory with the environment variable's expanded path following. Often, this causes the same base path to occur twice within the final path.
      c. The given paths for "-Dorg.apache.oodt.cas.filemgr.properties" and "-Djava.util.logging.config.file" point to the "conf" directory for looking up files; however, this should instead be the "etc" directory within the context of RADiX.

      –-
      [1] http://svn.apache.org/repos/asf/oodt/tags/0.5/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/resources/bin/filemgr-client

      Attachments

        Activity

          People

            riverma Rishi Verma
            riverma Rishi Verma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: