ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-5626) No lock can be acquired after ofbiz application crashes.
Date Wed, 28 May 2014 23:24:01 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-5626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14011803#comment-14011803
] 

Leon commented on OFBIZ-5626:
-----------------------------

hi, Jacques,

I could do it. but i don't know where the best place in code to clean the
entity during startup. if someone points out, it will help lots.



> 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
>
> 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)

Mime
View raw message