You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oodt.apache.org by Bill Rideout <br...@haystack.mit.edu> on 2013/06/06 19:40:04 UTC

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+Guides.  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 --refs file:///Users/brideout/Documents/Projects/OODT/cas-filemgr/bin/example.txt
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
brideout@haystack.mit.edu


Re: Problem with filemgr quick install

Posted by Bill Rideout <br...@haystack.mit.edu>.
Cameron,

Attached is a tar file of /Users/brideout/Documents/Projects/OODT/cas-filemgr/policy.  Thanks for your help.

Bill Rideout



On Jun 6, 2013, at 6:48 PM, Cameron Goodale wrote:

> Bill,
> 
> Sounds like a policy issue. Can you send the xml files in /Users/brideout/Documents/Projects/OODT/cas-filings/policy to the list.
> 
> The message says file manager I'd looking for Product type GenericFile, which is defined in product-types.xml.
> 
> Thanks, 
> 
> Cameron
> 
> On Jun 6, 2013 10:41 AM, "Bill Rideout" <br...@haystack.mit.edu> wrote:
> I am now working my way through the Component level user guides via https://cwiki.apache.org/confluence/display/OODT/Component+Level+User+Guides.  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 --refs file:///Users/brideout/Documents/Projects/OODT/cas-filemgr/bin/example.txt
> 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
> brideout@haystack.mit.edu
> 
> 
>  
> !DSPAM:51b111ef252321687619800!


Re: Problem with filemgr quick install

Posted by Bill Rideout <br...@haystack.mit.edu>.
Cameron,

Attached is a tar file of /Users/brideout/Documents/Projects/OODT/cas-filemgr/policy.  Thanks for your help.

Bill Rideout



On Jun 6, 2013, at 6:48 PM, Cameron Goodale wrote:

> Bill,
> 
> Sounds like a policy issue. Can you send the xml files in /Users/brideout/Documents/Projects/OODT/cas-filings/policy to the list.
> 
> The message says file manager I'd looking for Product type GenericFile, which is defined in product-types.xml.
> 
> Thanks, 
> 
> Cameron
> 
> On Jun 6, 2013 10:41 AM, "Bill Rideout" <br...@haystack.mit.edu> wrote:
> I am now working my way through the Component level user guides via https://cwiki.apache.org/confluence/display/OODT/Component+Level+User+Guides.  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 --refs file:///Users/brideout/Documents/Projects/OODT/cas-filemgr/bin/example.txt
> 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
> brideout@haystack.mit.edu
> 
> 
>  
> !DSPAM:51b111ef252321687619800!


Re: Problem with filemgr quick install

Posted by Cameron Goodale <si...@gmail.com>.
Bill,

Sounds like a policy issue. Can you send the xml files in
/Users/brideout/Documents/Projects/OODT/cas-filings/policy to the list.

The message says file manager I'd looking for Product type GenericFile,
which is defined in product-types.xml.

Thanks,

Cameron
On Jun 6, 2013 10:41 AM, "Bill Rideout" <br...@haystack.mit.edu> wrote:

> I am now working my way through the Component level user guides via
> https://cwiki.apache.org/confluence/display/OODT/Component+Level+User+Guides.
>  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
> --refs
> file:///Users/brideout/Documents/Projects/OODT/cas-filemgr/bin/example.txt
> 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
> brideout@haystack.mit.edu
>
>
>
>

Re: Problem with filemgr quick install

Posted by Cameron Goodale <si...@gmail.com>.
Bill,

Sounds like a policy issue. Can you send the xml files in
/Users/brideout/Documents/Projects/OODT/cas-filings/policy to the list.

The message says file manager I'd looking for Product type GenericFile,
which is defined in product-types.xml.

Thanks,

Cameron
On Jun 6, 2013 10:41 AM, "Bill Rideout" <br...@haystack.mit.edu> wrote:

> I am now working my way through the Component level user guides via
> https://cwiki.apache.org/confluence/display/OODT/Component+Level+User+Guides.
>  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
> --refs
> file:///Users/brideout/Documents/Projects/OODT/cas-filemgr/bin/example.txt
> 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
> brideout@haystack.mit.edu
>
>
>
>

Re: Problem with filemgr quick install

Posted by "Mattmann, Chris A (398J)" <ch...@jpl.nasa.gov>.
Great to hear, Bill.

Keep the questions coming we'll do our best to help! :)

Cheers,
Chris

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann@nasa.gov
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 <br...@haystack.mit.edu>
Reply-To: "user@oodt.apache.org" <us...@oodt.apache.org>
Date: Friday, June 7, 2013 8:09 AM
To: "user@oodt.apache.org" <us...@oodt.apache.org>
Subject: Re: Problem with filemgr quick install

>Thanks Chris - its working now.  I did what you suggested, and got an
>error that suggested that it couldn't read:
>
>/Users/brideout/Documents/Projects/OODT/cas-filemgr/policy/elements.xml
>
>I saw that elements.xml was in policy/core, so I changed the two paths in
>filemgr.properties to point to the core directory.  Then the test worked.
>
>Bill
>
>
>On Jun 7, 2013, at 10:31 AM, Mattmann, Chris A (398J) wrote:
>
>> Hey Bill,
>> 
>> Thanks. In your filemgr.properties file you have:
>> 
>> # XML repository manager configuration
>> 
>>org.apache.oodt.cas.filemgr.repositorymgr.dirs=file:///Users/brideout/Doc
>>um
>> 
>>ents/Projects/OODT/cas-filemgr/policy,file:///Users/brideout/Documents/Pr
>>oj
>> 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: chris.a.mattmann@nasa.gov
>> 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 <br...@haystack.mit.edu>
>> Reply-To: "user@oodt.apache.org" <us...@oodt.apache.org>
>> Date: Thursday, June 6, 2013 10:40 AM
>> To: "user@oodt.apache.org" <us...@oodt.apache.org>
>> 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+Gu
>>>id
>>> es 
>>> 
>>><https://cwiki.apache.org/confluence/display/OODT/Component+Level+User+G
>>>ui
>>> 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.t
>>>xt
>>> .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.t
>>>xt
>>> 
>>> 
>>><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
>>> brideout@haystack.mit.edu
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
>> 
>> 
>> !DSPAM:51b1ef07196812653226148!
>> 
>


Re: Problem with filemgr quick install

Posted by "Mattmann, Chris A (398J)" <ch...@jpl.nasa.gov>.
Great to hear, Bill.

Keep the questions coming we'll do our best to help! :)

Cheers,
Chris

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann@nasa.gov
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 <br...@haystack.mit.edu>
Reply-To: "user@oodt.apache.org" <us...@oodt.apache.org>
Date: Friday, June 7, 2013 8:09 AM
To: "user@oodt.apache.org" <us...@oodt.apache.org>
Subject: Re: Problem with filemgr quick install

>Thanks Chris - its working now.  I did what you suggested, and got an
>error that suggested that it couldn't read:
>
>/Users/brideout/Documents/Projects/OODT/cas-filemgr/policy/elements.xml
>
>I saw that elements.xml was in policy/core, so I changed the two paths in
>filemgr.properties to point to the core directory.  Then the test worked.
>
>Bill
>
>
>On Jun 7, 2013, at 10:31 AM, Mattmann, Chris A (398J) wrote:
>
>> Hey Bill,
>> 
>> Thanks. In your filemgr.properties file you have:
>> 
>> # XML repository manager configuration
>> 
>>org.apache.oodt.cas.filemgr.repositorymgr.dirs=file:///Users/brideout/Doc
>>um
>> 
>>ents/Projects/OODT/cas-filemgr/policy,file:///Users/brideout/Documents/Pr
>>oj
>> 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: chris.a.mattmann@nasa.gov
>> 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 <br...@haystack.mit.edu>
>> Reply-To: "user@oodt.apache.org" <us...@oodt.apache.org>
>> Date: Thursday, June 6, 2013 10:40 AM
>> To: "user@oodt.apache.org" <us...@oodt.apache.org>
>> 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+Gu
>>>id
>>> es 
>>> 
>>><https://cwiki.apache.org/confluence/display/OODT/Component+Level+User+G
>>>ui
>>> 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.t
>>>xt
>>> .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.t
>>>xt
>>> 
>>> 
>>><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
>>> brideout@haystack.mit.edu
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
>> 
>> 
>> !DSPAM:51b1ef07196812653226148!
>> 
>


Re: Problem with filemgr quick install

Posted by Bill Rideout <br...@haystack.mit.edu>.
Thanks Chris - its working now.  I did what you suggested, and got an error that suggested that it couldn't read:

/Users/brideout/Documents/Projects/OODT/cas-filemgr/policy/elements.xml

I saw that elements.xml was in policy/core, so I changed the two paths in filemgr.properties to point to the core directory.  Then the test worked.

Bill


On Jun 7, 2013, at 10:31 AM, Mattmann, Chris A (398J) wrote:

> 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: chris.a.mattmann@nasa.gov
> 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 <br...@haystack.mit.edu>
> Reply-To: "user@oodt.apache.org" <us...@oodt.apache.org>
> Date: Thursday, June 6, 2013 10:40 AM
> To: "user@oodt.apache.org" <us...@oodt.apache.org>
> 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
>> brideout@haystack.mit.edu
>> 
>> 
>> 
>> 
>> 
> 
> 
> 
> !DSPAM:51b1ef07196812653226148!
> 


Re: Problem with filemgr quick install

Posted by Bill Rideout <br...@haystack.mit.edu>.
Thanks Chris - its working now.  I did what you suggested, and got an error that suggested that it couldn't read:

/Users/brideout/Documents/Projects/OODT/cas-filemgr/policy/elements.xml

I saw that elements.xml was in policy/core, so I changed the two paths in filemgr.properties to point to the core directory.  Then the test worked.

Bill


On Jun 7, 2013, at 10:31 AM, Mattmann, Chris A (398J) wrote:

> 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: chris.a.mattmann@nasa.gov
> 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 <br...@haystack.mit.edu>
> Reply-To: "user@oodt.apache.org" <us...@oodt.apache.org>
> Date: Thursday, June 6, 2013 10:40 AM
> To: "user@oodt.apache.org" <us...@oodt.apache.org>
> 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
>> brideout@haystack.mit.edu
>> 
>> 
>> 
>> 
>> 
> 
> 
> 
> !DSPAM:51b1ef07196812653226148!
> 


Re: Problem with filemgr quick install

Posted by "Mattmann, Chris A (398J)" <ch...@jpl.nasa.gov>.
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: chris.a.mattmann@nasa.gov
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 <br...@haystack.mit.edu>
Reply-To: "user@oodt.apache.org" <us...@oodt.apache.org>
Date: Thursday, June 6, 2013 10:40 AM
To: "user@oodt.apache.org" <us...@oodt.apache.org>
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
>brideout@haystack.mit.edu
>
>
>
> 
>


Re: Problem with filemgr quick install

Posted by "Mattmann, Chris A (398J)" <ch...@jpl.nasa.gov>.
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: chris.a.mattmann@nasa.gov
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 <br...@haystack.mit.edu>
Reply-To: "user@oodt.apache.org" <us...@oodt.apache.org>
Date: Thursday, June 6, 2013 10:40 AM
To: "user@oodt.apache.org" <us...@oodt.apache.org>
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
>brideout@haystack.mit.edu
>
>
>
> 
>