Hi,

Finally, I foind the problem. Fat fingers strikes again. There were a typo
in the path to the configuration file :(

Now the services starts and our testing can go on.


Thanks for your advises and explanations,


Roland.


On Fri, Oct 11, 2013 at 6:42 PM, Karl Wright <[email protected]> wrote:

> Hi Roland,
>
> First off, I'd recommend that you try running the multiprocess example
> first (under multiprocess-example).  This is completely self-contained and
> uses jetty to deploy the web services.  The how-to-build-and-deploy page
> describes exactly how to use it.  The point would be to familiarize
> yourself with ManifoldCF, with a multiprocess deployment, and what is
> required.
>
> Once that is working for you, and you are happy with it, then you can turn
> your attention to running the web applications under Tomcat.  It is
> essential that you use a -D switch with Tomcat to point ManifoldCF at the
> properties.xml file, which is shared by all processes involved.  Otherwise,
> none of the configuration information is available to the web applications,
> so of course they can't even properly talk to the database instance.  On
> Linux, this is usually done by modifying catalina.sh or /etc/init.d/tomcat,
> to set the -D as a startup option.  On Windows, there are two ways to start
> Tomcat - as a service, and via catalina.bat.  For the service, there is a
> UI tool which allows you to add command-line options to the Java invocation
> for Tomcat.  For catalina.bat, you need to modify the catalina.bat file in
> order to set java startup options.  I imagine there is more detail
> available in Tomcat documentation.
>
> Thanks,
> Karl
>
>
>
>
> On Fri, Oct 11, 2013 at 10:39 AM, Roland Everaert <[email protected]>wrote:
>
>> Hi,
>>
>> I have installed manifoldCF on a windows 2008-R2 server. I have followed
>> the instruction on the following blog to start ManifoldCF in multi-process
>> mode.
>>
>>
>> http://www.francelabs.com/blog/tutorial-for-combining-manifoldcf-and-solr-for-files-search/
>>
>> When starting tomcat, I can see in the log the error "Error
>> listenerStart" for each of the 3 mcf services.
>>
>> I also got that problem on a linux machine, but for what I remember, it
>> was due to a bad configuration of the path in CATALINA_OPTS or in the xml
>> file for each manifoldCF war, hence, I was finally able to start and use
>> the services on that machine.
>>
>> On the windows machine, all the path are correct, the only thing is that
>> tomcat run as a service, and I am not sure that the 
>> -Dorg.apache.manifoldcf.configfile
>> is configured properly.
>>
>> So, 1) how to configure properly the -D option with a tomcat running as a
>> service and 2) can that option be the cause of the error?
>>
>> The aim is to use manifoldcf to crawl some windows shared directories and
>> send the data for indexing to solr with all there ACLs.
>>
>>
>> Thanks for your help,
>>
>>
>> Roland Everaert.
>>
>
>

Reply via email to