manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wright <daddy...@gmail.com>
Subject Re: Defining a job
Date Mon, 08 Aug 2011 23:23:42 GMT
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 <hokie@farzad.net> 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(Configuration.java:652)
>        at
> org.apache.manifoldcf.core.interfaces.Configuration.fromXML(Configuration.java:443)
>        at org.apache.manifoldcf.crawler.DefineJob.main(DefineJob.java:125)
>

Mime
View raw message