Hi Serhiy,
A messaging client is included with GSearch, so there's no need for you to
write any code or do any additional builds to set up automatic updates.
First, look in Fedora's fedora.fcfg file and ensure that under the
MessagingModule the enabled parameter is set to true. You may also need to
replace 'localhost' with your Fedora server host name in the
java.naming.provider.url param.
Second, look in the updater.properties file under GSearch and ensure that
the java.naming.provider.url includes the correct host name (it should point
to your Fedora server host.) If GSearch is running in the same server as
Fedora, localhost is fine.
For a basic setup, the default values are fine for the rest of the
parameters.
If you are running GSearch in a server separate from Fedora, make sure that
your Fedora is started before starting GSearch, otherwise the JMS listener
in GSearch won't be able to connect with the broker which is started when
Fedora starts. This is assuming you're using the embedded ActiveMQ which is
provided in Fedora. Otherwise, your JMS broker needs to be started before
either Fedora or GSearch.
As a note, the connection.factory.name is not included in the fcfg because
it is assumed that in most cases it doesn't need to be changed. If you would
like to use a JMS or JNDI provider other than ActiveMQ (which is the default
provided by Fedora) then you can add this param to the config file. It
doesn't sound like that's what you're trying to do.
Bill
On Thu, Apr 8, 2010 at 4:16 AM, Serhiy Polyakov <[email protected]> wrote:
> Hello,
>
> Is there a simple instruction to setup automatic updates for default
> Lucene BasicIndex with GSearch 2.2 and Fedora 3.3?
>
> I setup Fedora GSearch service and can index repository manually from
> the browser. I am trying to configure the service for automatic
> updates. For GSearch everything was already set by default as asked in
> the Instruction here:
>
> http://www.fedora-commons.org/confluence/display/FCSVCS/Generic+Search+Service+2.2#GenericSearchService2.2-sauto
>
> Fedora’s messaging service was enabled when I installed Fedora.
> Fedora’s messaging documentation here:
> http://www.fedora-commons.org/confluence/display/FCR30/Messaging
> asks to modify connection.factory.name but this parameter is not in
> fedora.fcfg file.
>
> Also documentation says “To build the Messaging Client, run the
> messaging-client Ant target from the source distribution”. It gives
> example of Java code for JmsMessagingClient…
>
> It is not clear if I need to write my own JmsMessagingClient…?
>
> Thanks,
> Serhiy
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Fedora-commons-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users