Thank you Tom and Lewis. I've downloaded 0.11 source and compiled project cas-filemgr. I unzipped cas-filemgr-0.11-dist.zip. I was able to add products, but got same error while trying to delete a product.
Command: ./filemgr-client -op --deleteProductById --productId e36b0c35-1e3b-4f70-8c7e-d57826d8a052 --url http://localhost:9000 Error: ERROR: Failed to delete product 'org.apache.oodt.cas.filemgr.structs.Product@1475d8e' : org.apache.xmlrpc.XmlRpcException: java.lang.NoSuchMethodException: org.apache.oodt.cas.filemgr.system.XmlRpcFileManager.removeProduct(java.util.Hashtable) Could that be caused by incorrect property settings? Wei -----Original Message----- From: Tom Barber [mailto:magicaltr...@apache.org] Sent: Wednesday, February 03, 2016 7:42 PM To: Lewis John Mcgibbney Cc: dev@oodt.apache.org Subject: Re: filemgr-client script cannot delete product by id or name There was a passing test I submitted in 0.11 to "ensure" the deletion works, technically... its fine. Tom On Wed, Feb 3, 2016 at 8:39 PM, Lewis John Mcgibbney < lewis.mcgibb...@gmail.com> wrote: > Thanks Tom. > @Wei, > I wonder if you can upgrade to OODT to 0.11 to try again? > > On Wed, Feb 3, 2016 at 12:35 PM, Tom Barber <magicaltr...@apache.org> > wrote: > >> That is similar, but to me this looks like a jar file mismatch >> because that error is a missing method, but the method can't be >> missing, other wise it surely wouldn't compile? >> >> Tom >> >> On Wed, Feb 3, 2016 at 8:17 PM, Lewis John Mcgibbney < >> lewis.mcgibb...@gmail.com> wrote: >> >>> Tom, >>> Is this issue not then one which was raised prior to the 0.11 release? >>> Lewis >>> >>> On Wed, Feb 3, 2016 at 10:54 AM, Shi, Wei <shi...@med.umich.edu> wrote: >>> >>>> Hi, >>>> I've setup an oodt test instance and followed "Solr File Manger >>>> Quick Start Guide" to deployed Solr. >>>> >>>> Now I can ingest files and query data using Solr query such as: >>>> http://localhost:8080/solr/select/?q=*:* >>>> >>>> The only problem I have is deleting a product. Neither delete by >>>> id, nor delete by name works. >>>> >>>> After execution, the file in archive folder seems to be deleted, >>>> but the folder is still there. All metadata can still be seen via >>>> OPS UI interface. And the error message shows: >>>> >>>> ------------------- >>>> ERROR: Failed to delete product >>>> 'org.apache.oodt.cas.filemgr.structs.Product@a4fc7' : >>>> java.lang.NoSuchMethodException: >>>> org.apache.oodt.cas.filemgr.system.XmlRpcFileManager.removeProduct( >>>> java.util.Hashtable) >>>> -------------------- >>>> >>>> I double checked, cas-filemgr-0.10.jar file, which should have >>>> class >>>> org.apache.oodt.cas.filemgr.system.XmlRpcFileManager.removeProduct >>>> is in library folder. I also tried to recompile version 0.12 >>>> (cas-filemgr-0.12-SNAPSHOT.jar), same error occurred. >>>> >>>> Can the files and metadata also be deleted manually via command >>>> line interface? >>>> >>>> Any suggestion is appreciated, >>>> >>>> Wei Shi, M.B.A., M.S. >>>> Architect >>>> UM Comprehensive Cancer Center >>>> NCRC 100/134 >>>> O: 734-763-8440 C: 248-835-8453 >>>> shi...@med.umich.edu >>>> >>>> >>>> >>>> ********************************************************** >>>> Electronic Mail is not secure, may not be read every day, and >>>> should not be used for urgent or sensitive issues >>>> >>> >>> >>> >>> -- >>> *Lewis* >>> >> >> > > > -- > *Lewis* > ********************************************************** Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues