Hi Sergiy,
We should have a lock system for the instances.properties (as the pid is
written in this file).
It sounds like a bug to me. I will raise the Jira and fix that.
Regards
JB
On 03/07/2012 09:47 AM, Epik, Sergiy wrote:
Hi,
we have several instances of karaf (2.2.3) and each instance is started
using scripts $KARAF_HOME/instances/${instance_name}/bin/start.
The problem happens when scripts are started at the same time (by RHEL
cluster, for example).
AdminService modifies instance.properties concurrently and instance,
that started later, overwrites PID of instance that started earlier.
Can anyone suggest the correct way to start instances in this case?
Thank you.
Regards, Sergiy
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com