Rishi Verma created OODT-608:
--------------------------------

             Summary: filemgr-client fails to run properly due to syntax errors
                 Key: OODT-608
                 URL: https://issues.apache.org/jira/browse/OODT-608
             Project: OODT
          Issue Type: Bug
          Components: radix
    Affects Versions: 0.5
            Reporter: Rishi Verma
            Assignee: Rishi Verma
             Fix For: 0.6


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to