You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by ho...@farzad.net on 2011/04/28 23:42:26 UTC

Multi-process setup

 I don't get something.  When I run the agent process and that I'm 
 pointing it to my properties.xml file where connector.xml file is 
 listed.  Why do I have to manually register my connectors?  I've ran 
 DBCreate, Install and Register(CrawlerAgent).  Noticed I have to issue 
 register commands for the rest.  I don't understand the purpose of 
 connectors.xml if I have to do this manually.

 Thanks!

Re: Multi-process setup

Posted by Karl Wright <da...@gmail.com>.
connectors.xml only applies to the Quick Start.  All connectors are
registered every time you run the process.  For a multiprocess setup,
there is no single process this should occur on, and furthermore, it
is more technically correct to register a connector only once.  Some
of the steps of registration (e.g. creating database tables) can be
stateful and fairly expensive and the QuickStart is thus a compromise.

Karl

On Thu, Apr 28, 2011 at 5:42 PM,  <ho...@farzad.net> wrote:
> I don't get something.  When I run the agent process and that I'm pointing
> it to my properties.xml file where connector.xml file is listed.  Why do I
> have to manually register my connectors?  I've ran DBCreate, Install and
> Register(CrawlerAgent).  Noticed I have to issue register commands for the
> rest.  I don't understand the purpose of connectors.xml if I have to do this
> manually.
>
> Thanks!
>