Hey Bill, Thanks. In your filemgr.properties file you have:
# XML repository manager configuration org.apache.oodt.cas.filemgr.repositorymgr.dirs=file:///Users/brideout/Docum ents/Projects/OODT/cas-filemgr/policy,file:///Users/brideout/Documents/Proj ects/OODT/cas-filemgr/policy # XML validation layer configuration org.apache.oodt.cas.filemgr.validation.dirs=file:///dir1,file:///dir2 The first repositorymgr properties looks to be duplicate, I think you only need the first (before the comma); you can remove the other one after the comma. In your validation.dirs property it's still set to the default value. Set it to: file:///Users/brideout/Documents/Projects/OODT/cas-filemgr/policy Restart filemgr, and then try and ingest again. Cheers! Chris ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: [email protected] WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -----Original Message----- From: Bill Rideout <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Thursday, June 6, 2013 10:40 AM To: "[email protected]" <[email protected]> Subject: Problem with filemgr quick install >I am now working my way through the Component level user guides via > >https://cwiki.apache.org/confluence/display/OODT/Component+Level+User+Guid >es ><https://cwiki.apache.org/confluence/display/OODT/Component+Level+User+Gui >des>. The File Manager install seemed to work fine, until I tried the >test: > >dhcp28:bin brideout$ ./filemgr-client --url http://localhost:9000 >--operation --ingestProduct --productName example.txt --productStructure >Flat --productTypeName GenericFile --metadataFile > >file:///Users/brideout/Documents/Projects/OODT/cas-filemgr/bin/example.txt >.met ><file:///Users/brideout/Documents/Projects/OODT/cas-filemgr/bin/example.tx >t.met> --refs > >file:///Users/brideout/Documents/Projects/OODT/cas-filemgr/bin/example.txt > ><file:///Users/brideout/Documents/Projects/OODT/cas-filemgr/bin/example.tx >t> >Jun 6, 2013 1:31:37 PM >org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient <init> >INFO: Loading File Manager Configuration Properties from: >[../etc/filemgr.properties] >Jun 6, 2013 1:31:37 PM >org.apache.oodt.cas.filemgr.repository.XMLRepositoryManager >getProductTypeByName >WARNING: XMLRepositoryManager: Unable to find product type: >[GenericFile], returning null >ERROR: Failed to ingest product 'example.txt' : java.lang.Exception: >java.lang.NullPointerException >dhcp28:bin brideout$ > >I am running Mac 10.7, and I did install an alternate version of mvn >(2.2) to follow the standard build procedure. I've attached a copy of >../etc/filemgr.properties and the two example.txt* files. > >Thanks for your help. > >Bill Rideout >[email protected] > > > > >
