[
https://issues.apache.org/jira/browse/OFBIZ-5626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14021859#comment-14021859 ]
Leon commented on OFBIZ-5626:
-----------------------------
right, it's impossible that two lock files with of same service but
different instance. I don't know what make me think things so comlex. I
will update patch.
> No lock can be acquired after ofbiz application crashes.
> --------------------------------------------------------
>
> Key: OFBIZ-5626
> URL:
https://issues.apache.org/jira/browse/OFBIZ-5626> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Leon
> Priority: Critical
> Attachments: OFBIZ-5626.patch
>
>
> We have a service which semaphore set to "fail". Someday, while it was running, the whole ofbiz crashed. After the restart, the service is unable to run anymore since the lock file (database record in ServiceSemaphore entity) is already there.
> Is there any way to cleanup the unused lock files during ofbiz startup? How about the cluster environment?
--
This message was sent by Atlassian JIRA
(v6.2#6252)