manifoldcf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wright <daddy...@gmail.com>
Subject Re: config files for ManifoldCF
Date Wed, 05 Oct 2011 14:21:51 GMT
I worked with Swapna directly to resolve this.  Turned out he'd been
using ^C to kill the agents process, so a LockClean procedure fixed
it.
Karl

On Wed, Oct 5, 2011 at 6:37 AM, Swapna Vuppala
<swapna.kollipara@gmail.com> wrote:
> I used this
>
> <property name="org.apache.manifoldcf.synchdirectory"
> value="c:/mysynchdir"/>
>
> Thanks and Regards,
> Swapna.
>
> On Wed, Oct 5, 2011 at 4:05 PM, Karl Wright <daddywri@gmail.com> wrote:
>>
>> What do you have set for your synch directory?
>>
>> Karl
>>
>> On Wed, Oct 5, 2011 at 6:09 AM, Swapna Vuppala
>> <swapna.kollipara@gmail.com> wrote:
>> > Yes, I used executecommand.bat org.apache.manifoldcf.agents.AgentRun
>> >
>> > Thanks and Regards,
>> > Swapna.
>> >
>> > On Wed, Oct 5, 2011 at 3:37 PM, Karl Wright <daddywri@gmail.com> wrote:
>> >>
>> >> Did you remember to start the agents process?
>> >>
>> >> Karl
>> >>
>> >> On Wed, Oct 5, 2011 at 5:47 AM, Swapna Vuppala
>> >> <swapna.kollipara@gmail.com> wrote:
>> >> > Hi Karl,
>> >> >
>> >> > I installed postgresql database and changed properties.xml
>> >> > accordingly,
>> >> > used
>> >> > executecommand.bat to initialize database, install schema, register
>> >> > solr,
>> >> > filesystem and active directory connectors and ran agents process.
>> >> >
>> >> > Am able to access the crawler UI at
>> >> > http://localhost:8080/mcf-crawler-ui
>> >> > and
>> >> > define SOLR output connection, file system repository connection and
>> >> > also a
>> >> > job. But my problem is that when I run the job, the status shows
>> >> > "Starting
>> >> > up" and does not change after that.
>> >> >
>> >> > Connection status for Solr connection shows "Connection working"
>> >> >
>> >> > I see nothing in manifoldcf.log. Can you please direct me as to where
>> >> > to
>> >> > look for any errors or how to resolve this ?
>> >> >
>> >> > Thanks and Regards,
>> >> > Swapna.
>> >> >
>> >> > On Tue, Oct 4, 2011 at 3:38 PM, Karl Wright <daddywri@gmail.com>
>> >> > wrote:
>> >> >>
>> >> >> How you add the -D switch for tomcat depends on what platform you
>> >> >> are
>> >> >> running tomcat.  On Windows, there is an application that allows
you
>> >> >> to add commands to the java invocation.  On linux, the
>> >> >> /etc/init.d/tomcat script allows you to set options - depending
on
>> >> >> version, you can even put these in a directory that the script
>> >> >> scrapes
>> >> >> to put them together.
>> >> >>
>> >> >> As for what else you need:
>> >> >>
>> >> >> - a properties.xml file that specifies a synch directory
>> >> >> - you will need to initialize the database, register the crawler
>> >> >> agent, and register the connectors using commands, as described
in
>> >> >> how-to-build-and-deploy
>> >> >> - You'll need to run the agents process, and any of the sidecar
>> >> >> processes needed by the connectors you have registered.  There
are
>> >> >> scripts for all of these, which require you to set MCF_HOME and
>> >> >> JAVA_HOME environment variables first.
>> >> >>
>> >> >> Karl
>> >> >>
>> >> >>
>> >> >>
>> >> >> On Tue, Oct 4, 2011 at 4:15 AM, Swapna Vuppala
>> >> >> <swapna.kollipara@gmail.com> wrote:
>> >> >> > Thanks Karl and Piergiorgio,
>> >> >> >
>> >> >> > I need one more clarification, but that's regarding deploying
>> >> >> > ManifoldCF
>> >> >> > on
>> >> >> > Tomcat.
>> >> >> >
>> >> >> > I have built ManifoldCF 0.3 and have been running it so far
on
>> >> >> > Jetty
>> >> >> > and
>> >> >> > everything works fine. But now I want to use Tomcat instead
of
>> >> >> > Jetty.
>> >> >> > I
>> >> >> > tried instructions at
>> >> >> >
>> >> >> > http://incubator.apache.org/connectors/how-to-build-and-deploy.html.
>> >> >> >
>> >> >> > I already have Tomcat installed on my machine. So I copied
the war
>> >> >> > files
>> >> >> > (mfc-api-service,mfc-authority-service,crawler-ui) into Tomcat's
>> >> >> > webapps
>> >> >> > directory, copied all contents of dist directory of manifoldcf
>> >> >> > into a
>> >> >> > separate directory (which I set as MFC_HOME environment variable).
>> >> >> > Now
>> >> >> > am
>> >> >> > trying to access the crawler UI at
>> >> >> > http://localhost:8080/mcf-crawler-ui/
>> >> >> > But I get the exception
>> >> >> >
>> >> >> > org.apache.jasper.JasperException: javax.servlet.ServletException:
>> >> >> > org.apache.manifoldcf.core.interfaces.ManifoldCFException:
>> >> >> > Initialization
>> >> >> > failed: Could not read configuration file 'C:\lcf\properties.xml'
>> >> >> >
>> >> >> >
>> >> >> > I understand that the property "org.apache.manifoldcf.configfile"
>> >> >> > is
>> >> >> > not
>> >> >> > set. How do I set this and what else do I have to do for proper
>> >> >> > and
>> >> >> > complete
>> >> >> > deployment on tomcat ?
>> >> >> >
>> >> >> >
>> >> >> > Thanks a lot in advance,
>> >> >> > Swapna.
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > On Mon, Oct 3, 2011 at 5:13 AM, Karl Wright <daddywri@gmail.com>
>> >> >> > wrote:
>> >> >> >>
>> >> >> >> Hi Swapna,
>> >> >> >>
>> >> >> >> To clarify Piergiorgio's answer a little, ManifoldCF uses
a
>> >> >> >> properties.xml file for its basic configuration information.
>> >> >> >>  However,
>> >> >> >> everything else is kept in the database.  That includes
>> >> >> >> connection
>> >> >> >> definitions and job definitions.  I recommend that you
start by
>> >> >> >> using
>> >> >> >> the Quick-Start example uses an embedded Apache Derby
database
>> >> >> >> instance, by default.  You can change this later, of
course.  For
>> >> >> >> real
>> >> >> >> work we recommend PostgreSQL.
>> >> >> >>
>> >> >> >> You can find more information at
>> >> >> >>
>> >> >> >> http://incubator.apache.org/connectors/how-to-build-and-deploy.html.
>> >> >> >> Have a look at the quick-start instructions.
>> >> >> >>
>> >> >> >> Karl
>> >> >> >>
>> >> >> >> On Sun, Oct 2, 2011 at 1:43 PM, Piergiorgio Lucidi
>> >> >> >> <piergiorgio@apache.org> wrote:
>> >> >> >> > Hi Swapna,
>> >> >> >> >
>> >> >> >> > 2011/10/2 Swapna Vuppala <swapna.kollipara@gmail.com>
>> >> >> >> >>
>> >> >> >> >> Hi,
>> >> >> >> >> Am new to using ManifoldCF and I have got couple
of doubts
>> >> >> >> >> about
>> >> >> >> >> using
>> >> >> >> >> it.
>> >> >> >> >> Am interested in knowing about what are the config
files that
>> >> >> >> >> are
>> >> >> >> >> used
>> >> >> >> >> in
>> >> >> >> >> ManifoldCF, where they are located and how they
are used.
>> >> >> >> >> Also, I
>> >> >> >> >> was
>> >> >> >> >> wondering where all the information about output
connection
>> >> >> >> >> definitions,
>> >> >> >> >> repository definitions and job definitions, defined
by a user
>> >> >> >> >> using
>> >> >> >> >> the
>> >> >> >> >> crawler UI, are stored.
>> >> >> >> >
>> >> >> >> > The unique config file is the properties.xml that
you need to
>> >> >> >> > add
>> >> >> >> > a
>> >> >> >> > new
>> >> >> >> > JVM
>> >> >> >> > parameter:
>> >> >> >> > -Dorg.apache.manifoldcf.configfile=<configuration
file path>
>> >> >> >> > This only if you are deploying ManifoldCF in an application
>> >> >> >> > server.
>> >> >> >> > Otherwise you can leave properties.xml in your "<user
>> >> >> >> > home>/lcf"
>> >> >> >> > folder.
>> >> >> >> > You can find an example of the properties.xml file
in the
>> >> >> >> > dist/example
>> >> >> >> > folder of the distribution bundle.
>> >> >> >> > All the information managed by the UI Crawler are
stored in a
>> >> >> >> > database,
>> >> >> >> > HSQL
>> >> >> >> > by default but you can configure a Postgresql DBMS
changing the
>> >> >> >> > properties.xml file, for more information about all
the
>> >> >> >> > parameters
>> >> >> >> > you
>> >> >> >> > can
>> >> >> >> > visit the following page:
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > http://incubator.apache.org/connectors/how-to-build-and-deploy.html#The+ManifoldCF+configuration+file
>> >> >> >> > Hope this helps.
>> >> >> >> > Piergiorgio
>> >> >> >> >
>> >> >> >> >>
>> >> >> >> >> Can you please help me in clarifying these doubts
?
>> >> >> >> >> Thanks and Regards,
>> >> >> >> >> Swapna.
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > --
>> >> >> >> > Piergiorgio Lucidi
>> >> >> >> > http://about.me/piergiorgiolucidi
>> >> >> >> >
>> >> >> >
>> >> >> >
>> >> >
>> >> >
>> >
>> >
>
>

Mime
View raw message