You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2020/01/08 03:22:00 UTC

[jira] [Deleted] (ARTEMIS-2588) Redundant lock on server.lock file

     [ https://issues.apache.org/jira/browse/ARTEMIS-2588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Bertram deleted ARTEMIS-2588:
------------------------------------


> Redundant lock on server.lock file
> ----------------------------------
>
>                 Key: ARTEMIS-2588
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2588
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> When starting the broker on Windows 10 this stack-trace is logged and the broker fails to start:
> {noformat}
> 2020-01-04 21:36:10,726 ERROR [org.apache.activemq.artemis.core.server] AMQ224000: Failure in initialisation: java.io.IOException: The process cannot access the file because another process has locked a portion of the file 
>  at sun.nio.ch.FileDispatcherImpl.pwrite0(Native Method) [rt.jar:1.8.0_25] 
>  at sun.nio.ch.FileDispatcherImpl.pwrite(Unknown Source) [rt.jar:1.8.0_25] 
>  at sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source) [rt.jar:1.8.0_25] 
>  at sun.nio.ch.IOUtil.write(Unknown Source) [rt.jar:1.8.0_25] 
>  at sun.nio.ch.FileChannelImpl.writeInternal(Unknown Source) [rt.jar:1.8.0_25] 
>  at sun.nio.ch.FileChannelImpl.write(Unknown Source) [rt.jar:1.8.0_25] 
>  at org.apache.activemq.artemis.core.server.impl.FileLockNodeManager.writeFileLockStatus(FileLockNodeManager.java:307) [artemis-server-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT] 
>  at org.apache.activemq.artemis.core.server.impl.FileLockNodeManager.setFailingBack(FileLockNodeManager.java:283) [artemis-server-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT] 
>  at org.apache.activemq.artemis.core.server.impl.FileLockNodeManager.startLiveNode(FileLockNodeManager.java:230) [artemis-server-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT] 
>  at org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation.run(LiveOnlyActivation.java:70) [artemis-server-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT] 
>  at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.internalStart(ActiveMQServerImpl.java:600) [artemis-server-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT] 
>  at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start(ActiveMQServerImpl.java:527) [artemis-server-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT] 
>  at org.apache.activemq.artemis.integration.FileBroker.start(FileBroker.java:70) [artemis-cli-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT] 
>  at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:84) [artemis-cli-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT] 
>  at org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:150) [artemis-cli-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT] 
>  at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:98) [artemis-cli-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT] 
>  at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:125) [artemis-cli-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT] 
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_25] 
>  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_25] 
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_25] 
>  at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_25] 
>  at org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:129) [artemis-boot.jar:2.11.0-SNAPSHOT] 
>  at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:49) [artemis-boot.jar:2.11.0-SNAPSHOT]{noformat}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)