-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Hibernate Search Master/Slave config
PostPosted: Fri Jul 25, 2008 6:11 am 
Newbie

Joined: Tue Jul 22, 2008 8:19 am
Posts: 8
Hi

For a history of the problem vbiew the last few posts by me on this thread
http://forum.hibernate.org/viewtopic.ph ... highlight=

I have a question.

Within the FSMasterDirectoryProvider and FSSlaveDirectoryProvider there are TimerTasks which as far as I can see should be invoked depending on the timeframe set as "hibernate.search.default.refresh"

In my setup I am successfully able to send a message invoked by an update to a slave which updates the master index, which is correct.

What is not happening is the invoking of these TimerTasks for the Master and the Slave instances, so no syncronuisation of indexes in my cluster is occuring.

My understanding is that this is all handled within the hsearch architecture and no explicit configuration other than hibernate.properties is neccessary.

Is this assumption correct?.
Where are these TimerTasks supposed to be invoked?


Top
 Profile  
 
 Post subject: Found Something
PostPosted: Fri Jul 25, 2008 7:03 am 
Newbie

Joined: Tue Jul 22, 2008 8:19 am
Posts: 8
Well I think I have sorted it out but have another problem

I decided the stick a break point in the DirectoryProviderFactory, and when the application was starting up the breakpoint was hit.

It turns out that there are no hibernate.properties visible therefore directory_provider is null causing the factory to return the default, which is the ordinary directory provider.

So the TimerTasks are being invoked, but sine there are no properties visible it returns the wrong Provider.

I dont knwo why the properties are not visible, but thats not a hibernate search issue


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.