activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le <le.c...@na.nykline.com>
Subject Re: Kaha with Master/Slave
Date Sun, 12 Nov 2006 03:11:26 GMT

The data directories of the Master and Slave in the test config are
different. So I think it doesn't work.


Valerie Lavilla wrote:
> 
> Hi,
> 
> Kaha should work in a master/slave. You can check this config
> http://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/broker/ft/slave2.xml
>  for your slave. HTH.
> 
> Regards,
> Val
>  
> 
> le wrote:
>> 
>> The reason I want to play with this senario is that:
>>     1. I got "too many connection" error for mysql;
>>     2. got "can't start derby database" error for journaled jdbc +
>> derby;(most likely the slave detect the shutdown of master but try to
>> start derby embedded databse before master's derby is shutdown)
>>     3. don't want to try other database for now.
>> 
>> I tried to create a JournaledKahaPersistentAdatper then I start 2 broker
>> in Master/Slave mode.
>> Then I published some message to Master. Once I stopped Master, the Slave
>> took over which looks OK.
>> But the problem is that I couldn't find those messages in the Slave.
>> 
>> So does it mean that Kaha can't be used in Master/Slave mode?
>> 
>> 
>> le wrote:
>>> 
>>> Could activemq broker be configured using Kaha persistance and
>>> Master/Slave at the same time?
>>> How will the config file look like?
>>> Thanks!
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Kaha-with-Master-Slave-tf2611031.html#a7299394
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message