[
https://issues.apache.org/jira/browse/OODT-781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mengying Wang updated OODT-781:
-------------------------------
Description:
I am trying to delete some product in the OODT File Manager using the product
id or name. However, the system raises "java.lang.IllegalArgumentException: URI
is not absolute" error.
Below are my commands:
./filemgr-client --op --dbyid --productId 2b0e7582-6077-11e4-ac24-8d456d2e5b9b
--url http://localhost:9000
./filemgr-client -op --deleteProductByName --productName test.txt --url
http://localhost:9000
Part of the file manager logs is shown here:
......
Oct 30, 2014 2:56:21 PM
org.springframework.beans.factory.support.AbstractBeanFactory doGetBean
FINE: Returning cached instance of singleton bean 'sqlQuery'
Oct 30, 2014 2:56:21 PM
org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient <init>
INFO: Loading File Manager Configuration Properties from:
[/Users/AngelaWang/Documents/programs/oodt-0.7/filemgr/etc/filemgr.properties]
Oct 30, 2014 2:56:21 PM
org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient <init>
INFO: Loading File Manager Configuration Properties from:
[/Users/AngelaWang/Documents/programs/oodt-0.7/filemgr/etc/filemgr.properties]
ERROR: Failed to delete product
'org.apache.oodt.cas.filemgr.structs.Product@5433d17' : java.lang.Exception:
java.lang.IllegalArgumentException: URI is not absolute
was:
I am trying to delete some product in the OODT File Manager using the product
id or name. However, the system raises "java.lang.IllegalArgumentException: URI
is not absolute" error.
Below are my commands:
./filemgr-client --op --dbyid --productId 2b0e7582-6077-11e4-ac24-8d456d2e5b9b
--url http://localhost:9000
./filemgr-client -op --deleteProductByName --productName test.txt --url
http://localhost:9000
The logs of the file manager is:
......
Oct 30, 2014 2:56:21 PM
org.springframework.beans.factory.support.AbstractBeanFactory doGetBean
FINE: Returning cached instance of singleton bean 'sqlQuery'
Oct 30, 2014 2:56:21 PM
org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient <init>
INFO: Loading File Manager Configuration Properties from:
[/Users/AngelaWang/Documents/programs/oodt-0.7/filemgr/etc/filemgr.properties]
Oct 30, 2014 2:56:21 PM
org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient <init>
INFO: Loading File Manager Configuration Properties from:
[/Users/AngelaWang/Documents/programs/oodt-0.7/filemgr/etc/filemgr.properties]
ERROR: Failed to delete product
'org.apache.oodt.cas.filemgr.structs.Product@5433d17' : java.lang.Exception:
java.lang.IllegalArgumentException: URI is not absolute
> IllegalArgumentException: RADiX filemgr-client script cannot delete product
> by id or name
> -----------------------------------------------------------------------------------------
>
> Key: OODT-781
> URL: https://issues.apache.org/jira/browse/OODT-781
> Project: OODT
> Issue Type: Bug
> Components: file manager
> Affects Versions: 0.7
> Environment: Mac OS X 10.9.2
> java version "1.7.0_51"
> Apache Maven 2.2.1
> Reporter: Mengying Wang
> Priority: Minor
>
> I am trying to delete some product in the OODT File Manager using the product
> id or name. However, the system raises "java.lang.IllegalArgumentException:
> URI is not absolute" error.
> Below are my commands:
> ./filemgr-client --op --dbyid --productId
> 2b0e7582-6077-11e4-ac24-8d456d2e5b9b --url http://localhost:9000
> ./filemgr-client -op --deleteProductByName --productName test.txt --url
> http://localhost:9000
> Part of the file manager logs is shown here:
> ......
> Oct 30, 2014 2:56:21 PM
> org.springframework.beans.factory.support.AbstractBeanFactory doGetBean
> FINE: Returning cached instance of singleton bean 'sqlQuery'
> Oct 30, 2014 2:56:21 PM
> org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient <init>
> INFO: Loading File Manager Configuration Properties from:
> [/Users/AngelaWang/Documents/programs/oodt-0.7/filemgr/etc/filemgr.properties]
> Oct 30, 2014 2:56:21 PM
> org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient <init>
> INFO: Loading File Manager Configuration Properties from:
> [/Users/AngelaWang/Documents/programs/oodt-0.7/filemgr/etc/filemgr.properties]
> ERROR: Failed to delete product
> 'org.apache.oodt.cas.filemgr.structs.Product@5433d17' : java.lang.Exception:
> java.lang.IllegalArgumentException: URI is not absolute
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)