You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Shailendra Shahane <Sh...@creditpointe.com> on 2015/10/12 09:56:32 UTC

2 Tomee instances with embedded ActiveMQ in Master Slave mode

Hi,

I want to configure 2 Tomee instances with embedded ActiveMQ in Master Slave mode.
Tomee plus version 1.5.2  Active MQ version 5.12
I am using shared directory (KahaDb store) for Master Slave Failover  configuration.
Tomee 1 starts on port 61616 and aquires lock on the Shared file (db.data)
Tomee 2 starts and waits for lock for 10 secs and obviously does not get lock and keeps on retrying.
So it does not start actually.
What is the correct way to share KahaDb directory between two Tomee instances?

Thanks,
Shailendra Shahane

________________________________

*****************************************************************************************************************************************************************************************************************************************************************

NOTICE AND DISCLAIMER
This e-mail (including any attachments) is intended for the above-named person(s). If you are not the intended recipient, notify the sender immediately, delete this email from your system and do not disclose or use for any purpose. All emails are scanned for any virus and monitored as per the Company information security policies and practices.


*************************************************************************************************************************************************************************************************************************************************************
---------------------------------------------------------------------------------------
 This email has been scanned for email related threats and delivered safely by Mimecast.
 For more information please visit http://www.mimecast.com
---------------------------------------------------------------------------------------