Sorry, it was my mistake. I specified repository manager directory wrong.

Wei

-----Original Message-----
From: Lewis John Mcgibbney [mailto:lewis.mcgibb...@gmail.com] 
Sent: Tuesday, February 09, 2016 1:11 PM
To: dev@oodt.apache.org
Subject: Re: Fail to ingest a test file to file manager on SuSe Linux

File manager log should provide more insight into the the exception is as right 
now it seems to be too vague for me to debug.
Lewis

On Tue, Feb 9, 2016 at 9:20 AM, Shi, Wei <shi...@med.umich.edu> wrote:

> Yes, the Solr is on 8080. The version is 4.2.0
>
> -----Original Message-----
> From: Lewis John Mcgibbney [mailto:lewis.mcgibb...@gmail.com]
> Sent: Tuesday, February 09, 2016 11:36 AM
> To: dev@oodt.apache.org
> Subject: Re: Fail to ingest a test file to file manager on SuSe Linux
>
> Is your Solr server running on port 8080 or another port?
> Which version of Solr are you running?
>
> On Tue, Feb 9, 2016 at 8:19 AM, Shi, Wei <shi...@med.umich.edu> wrote:
>
> > Hi Every,
> > I tried to setup the OODT on SuSe Linux server. The installation 
> > went well. I also installed Solr.
> > Now the ingest test failed because of Bad Request.
> > I am using jdk 8.
> >
> > Any ideas? I attached error message below.
> >
> >  ./filemgr-client --url http://localhost:9000 --operation 
> > --ingestProduct --productName test.txt --productStructure Flat 
> > --productTypeName GenericFile --metadataFile 
> > file:///tmp/test.txt.met --refs file:///tmp/test.txt
> >
> > log4j:WARN No appenders could be found for logger 
> > (org.springframework.context.support.FileSystemXmlApplicationContext).
> > log4j:WARN Please initialize the log4j system properly.
> > Feb 09, 2016 11:05:55 AM
> > org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient <init>
> > INFO: Loading File Manager Configuration Properties from:
> > [../etc/filemgr.properties]
> > Feb 09, 2016 11:05:56 AM
> > org.apache.oodt.cas.filemgr.catalog.solr.SolrCatalog addProduct
> > INFO: Adding product:test.txt
> > Feb 09, 2016 11:05:56 AM
> > org.apache.oodt.cas.filemgr.catalog.solr.SolrClient index
> > INFO: Posting message:<add><doc><field 
> > name="id">b69ee1e0-f9f4-4cf0-80e8-232f74e31d12</field><field
> > name="CAS.ProductId">b69ee1e0-f9f4-4cf0-80e8-232f74e31d12</field><fi
> > el d name="CAS.ProductName">test.txt</field><field
> > name="CAS.ProductTypeName">GenericFile</field><field
> > name="CAS.ProductReceivedTime">2016-02-09T11:05:56Z</field><field
> > name="CAS.ProductTypeId">urn:oodt:GenericFile</field><field
> > name="CAS.ProductStructure">Flat</field><field
> > name="CAS.ProductTransferStatus">TRANSFERING</field></doc></add> to URL:
> > http://localhost:8080/solr/update
> > Feb 09, 2016 11:05:56 AM
> > org.apache.oodt.cas.filemgr.catalog.solr.SolrClient index
> > SEVERE: HTTP method failed: HTTP/1.1 400 Bad Request Feb 09, 2016
> > 11:05:56 AM org.apache.oodt.cas.filemgr.system.XmlRpcFileManager
> > catalogProduct
> > SEVERE: ingestProduct: CatalogException when adding Product: 
> > test.txt to
> > Catalog: Message: HTTP method failed: HTTP/1.1 400 Bad Request Feb 
> > 09,
> > 2016 11:05:56 AM 
> > org.apache.oodt.cas.filemgr.system.XmlRpcFileManager
> > ingestProductCore
> > SEVERE: HTTP method failed: HTTP/1.1 400 Bad Request Feb 09, 2016
> > 11:05:56 AM 
> > org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient
> > ingestProduct
> > SEVERE: Failed to ingest product [ name:test.txt] :java.lang.Exception:
> > org.apache.oodt.cas.filemgr.structs.exceptions.CatalogException: 
> > Error ingesting product 
> > [org.apache.oodt.cas.filemgr.structs.Product@469d4b24]
> > : HTTP method failed: HTTP/1.1 400 Bad Request -- rolling back 
> > ingest Feb 09, 2016 11:05:56 AM 
> > org.apache.oodt.cas.filemgr.catalog.solr.SolrClient delete
> > INFO: Posting message:<delete><query>id:null</query></delete> to URL:
> > http://localhost:8080/solr/update?commit=true
> > Feb 09, 2016 11:05:56 AM
> > org.apache.oodt.cas.filemgr.cli.action.IngestProductCliAction 
> > execute
> > SEVERE: java.lang.Exception:
> > org.apache.oodt.cas.filemgr.structs.exceptions.CatalogException: 
> > Error ingesting product 
> > [org.apache.oodt.cas.filemgr.structs.Product@469d4b24]
> > : HTTP method failed: HTTP/1.1 400 Bad Request
> > ERROR: Failed to ingest product 'test.txt' : java.lang.Exception:
> > org.apache.oodt.cas.filemgr.structs.exceptions.CatalogException: 
> > Error ingesting product 
> > [org.apache.oodt.cas.filemgr.structs.Product@469d4b24]
> > : HTTP method failed: HTTP/1.1 400 Bad Request
> >
> >
> > Thanks,
> >
> > 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*
> **********************************************************
> Electronic Mail is not secure, may not be read every day, and should 
> not be used for urgent or sensitive issues
>



--
*Lewis*
**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be 
used for urgent or sensitive issues 

Reply via email to