You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Rishi Verma (JIRA)" <ji...@apache.org> on 2013/05/10 02:19:15 UTC

[jira] [Updated] (OODT-608) filemgr-client fails to run properly due to syntax errors

     [ https://issues.apache.org/jira/browse/OODT-608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rishi Verma updated OODT-608:
-----------------------------

    Attachment: OODT-608.riverma.05092013.patch.txt

OODT-608.riverma.05092013.patch.txt details:
* change 'conf' to 'etc' to filemgr properties and logging paths
* add the suffix 'file:' to spring argument paths
* change duplicate action spring path to option path
                
> 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
>
>         Attachments: OODT-608.riverma.05092013.patch.txt
>
>
> 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