manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Farzad Valad <>
Subject Re: Reseting Manifoldcf
Date Mon, 08 Aug 2011 22:23:31 GMT
Thanks for the link.  I was readying chapter 3 of the book.  So I'm 
issuing the command with what I think is the 4 basic parms it needs, but 
I keep getting the Usage statement.  The code says "if (args.length < 
4)" and I'm counting 4 parms, what gives?

org.apache.manifoldcf.crawler.DefineRepositoryConnection FileShare 
org.apache.manifoldcf.crawler.connectors.filesystem.FileConnector 30

Usage: DefineRepositoryConnection <connection_name> <description> 
<connector_class> <authority_name> <pool_max> <param1>=<value1>

On 8/8/2011 11:11 AM, Karl Wright wrote:
> Hi Farzad,
> Either the api service or the command are, I believe, capable of doing
> all of these.
> Have a look at this link for some idea of how to do either of these.
> Karl
> On Mon, Aug 8, 2011 at 12:05 PM, Farzad Valad<>  wrote:
>> I took sometime to read and learn about the API service.  Here are the
>> specifics, I want to be able to do the following with one invocation of
>> something, is that doable?  Prefer a batch file, but understand if I have to
>> use something else.
>> 1) Delete any jobs in the system  (Purpose: Clear out my data stored in my
>> connector db table)
>> 2) Delete the repository connector (Purpose: Clear out the stored logs)
>> 2) Delete the output connector (Purpose: Clear out the stored logs)
>> 3) Unregister my connector (Purpose: Zap the db table)
>> 4) Reregister my connector
>> 5) Define the repository connector
>> 6) Define the output connector
>> 7) Define a job waiting to start.
>> On 8/3/2011 10:03 AM, Karl Wright wrote:
>>> Can you clarify what you mean by "user data"?  There's no such data
>>> stored by ManifoldCF in any kind of persistent way.
>>> There are command-line "commands" which clear out various kinds of
>>> things like jobs and connections.  There's also the ManifoldCF API
>>> Service.  But I can't help further unless you are more specific.
>>> Karl
>>> On Wed, Aug 3, 2011 at 10:57 AM, Farzad Valad<>    wrote:
>>>> What would be the sequence of commands to automate to reset ManifoldCF
>>>> and
>>>> flush out user data?  I've been doing it through the UI and it is very
>>>> tedious.  Much rather have a batch file to do the job.  Thanks!

View raw message