manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Farzad Valad <>
Subject Re: Defining a job
Date Mon, 08 Aug 2011 23:44:13 GMT
I changed the word configuration to specification and the command 
returned a job id.  However I don't have a path defined, which my guess 
is related to the empty config xmls.  Where/How do I find the proper 
filespec and outputspec xml defs? All that was in the db was the empty 
ones I used.  Didn't have much success digging it out of the crawler UI.

On 8/8/2011 6:23 PM, Karl Wright wrote:
> The form of the XML differs whether you are sending in configuration
> XML (which has the<configuration>  tags) or specification XML (which
> has the<specification>  tags).
> Karl
> On Mon, Aug 8, 2011 at 7:19 PM, Farzad Valad<>  wrote:
>> Having trouble getting the filespec_xml and outputspec_xml.  Used pgAdmin
>> and see a column labeled configxml text for my output and repo connector.
>>   It's content for both is "<?xml version="1.0"
>> encoding="UTF-8"?><configuration/>"  So I issued the following command and
>> got errored out, but I used what was in the db.  Thoughts? Thanks!
>> processes\script\executecommand.bat org.apache.manifoldcf.crawler.DefineJob
>> TestCrawl FileShare DupFinder specified disable neverdelete 0 0 0 5 ""
>> "<?xml version='1.0' encoding='UTF-8'?><configuration/>""<?xml
>> version='1.0' encoding='UTF-8'?><configuration/>"
>> Configuration file successfully read
>> org.apache.manifoldcf.core.interfaces.ManifoldCFException: Bad xml - outer
>> node is not 'specification'
>>         at
>> org.apache.manifoldcf.core.interfaces.Configuration.initializeFromDoc(
>>         at
>> org.apache.manifoldcf.core.interfaces.Configuration.fromXML(
>>         at org.apache.manifoldcf.crawler.DefineJob.main(

View raw message