You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Dejan Bosanac (JIRA)" <ji...@apache.org> on 2011/03/23 11:49:05 UTC
[jira] [Resolved] (AMQ-3237) FileLock.tryLock() doesn't work well
in all environments
[ https://issues.apache.org/jira/browse/AMQ-3237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dejan Bosanac resolved AMQ-3237.
--------------------------------
Resolution: Fixed
Fixed with svn revision 1084533
> FileLock.tryLock() doesn't work well in all environments
> --------------------------------------------------------
>
> Key: AMQ-3237
> URL: https://issues.apache.org/jira/browse/AMQ-3237
> Project: ActiveMQ
> Issue Type: Improvement
> Affects Versions: 5.4.2
> Reporter: Dejan Bosanac
> Assignee: Dejan Bosanac
> Fix For: 5.5.0
>
>
> Due to JRE issue http://bugs.sun.com/view_bug.do?bug_id=6628575 FileLock.tryLock() doesn't work correctly on all file systems.
> It's recommended to use
> FileLock lock = fc.tryLock(0, fc.size(), false);
> instead
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira