Re: Commands for registering agents etc.

2012-01-24 Thread Erlend Garåsen


Thanks, Karl!

Erlend

On 24.01.12 16.33, Karl Wright wrote:


You do need to register the pull agent.  The documentation no longer
includes all the "example" commands because there's a multiprocess
example that does all this for you.  But the command you are looking
for is:

org.apache.manifoldcf.agents.Register   
org.apache.manifoldcf.crawler.system.CrawlerAgent

Karl


--
Erlend Garåsen
Center for Information Technology Services
University of Oslo
P.O. Box 1086 Blindern, N-0317 OSLO, Norway
Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050



--
Erlend Garåsen
Center for Information Technology Services
University of Oslo
P.O. Box 1086 Blindern, N-0317 OSLO, Norway
Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050


Re: Commands for registering agents etc.

2012-01-24 Thread Karl Wright
On Tue, Jan 24, 2012 at 10:22 AM, Erlend Garåsen
 wrote:
>
> Hello list,
>
> I haven't been an active developer for a while since I have been sick, so
> there are a lot of changes since last time I dag into the code and setup
> process.
>
> It seems that the documentation regarding the executecommands tool has been
> changed since I cannot find the commands for installing the web crawler for
> instance.
>
> Maybe it is a good idea to explain the available arguments for many of the
> agents and crawlers. I just need to install the Solr and Web crawler
> connector, but cannot remember how. The documentation says "After you have
> created the necessary configuration files, you will need to initialize the
> database, register the "pull-agent" agent, and then register your individual
> connectors. ManifoldCF provides a set of commands for performing these
> actions, and others as well."
>
> Here's what I did:
> ./processes/script/executecommand.sh org.apache.manifoldcf.agents.Install
>
> But now I don't longer remember what I did before in order to fulfill the
> necessary steps. I managed to register the Solr ourput connector, but not
> the web crawler:
> ./processes/script/executecommand.sh org.apache.manifoldcf.crawler.Register
> org.apache.manifoldcf.crawler.connectors.webcrawler.WebcrawlerConnector
> WebCrawler
>
> This gives an error message about that the relation "connectors" does not
> exist. I think I need to register the pull agent, but I'm not sure how.
>
> Erlend
>

You do need to register the pull agent.  The documentation no longer
includes all the "example" commands because there's a multiprocess
example that does all this for you.  But the command you are looking
for is:

org.apache.manifoldcf.agents.Register   
org.apache.manifoldcf.crawler.system.CrawlerAgent

Karl

> --
> Erlend Garåsen
> Center for Information Technology Services
> University of Oslo
> P.O. Box 1086 Blindern, N-0317 OSLO, Norway
> Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050


Commands for registering agents etc.

2012-01-24 Thread Erlend Garåsen


Hello list,

I haven't been an active developer for a while since I have been sick, 
so there are a lot of changes since last time I dag into the code and 
setup process.


It seems that the documentation regarding the executecommands tool has 
been changed since I cannot find the commands for installing the web 
crawler for instance.


Maybe it is a good idea to explain the available arguments for many of 
the agents and crawlers. I just need to install the Solr and Web crawler 
connector, but cannot remember how. The documentation says "After you 
have created the necessary configuration files, you will need to 
initialize the database, register the "pull-agent" agent, and then 
register your individual connectors. ManifoldCF provides a set of 
commands for performing these actions, and others as well."


Here's what I did:
./processes/script/executecommand.sh org.apache.manifoldcf.agents.Install

But now I don't longer remember what I did before in order to fulfill 
the necessary steps. I managed to register the Solr ourput connector, 
but not the web crawler:
./processes/script/executecommand.sh 
org.apache.manifoldcf.crawler.Register 
org.apache.manifoldcf.crawler.connectors.webcrawler.WebcrawlerConnector 
WebCrawler


This gives an error message about that the relation "connectors" does 
not exist. I think I need to register the pull agent, but I'm not sure how.


Erlend

--
Erlend Garåsen
Center for Information Technology Services
University of Oslo
P.O. Box 1086 Blindern, N-0317 OSLO, Norway
Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050