You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/01/06 21:23:00 UTC

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

     [ https://issues.apache.org/jira/browse/ARTEMIS-2588?focusedWorklogId=366970&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-366970 ]

ASF GitHub Bot logged work on ARTEMIS-2588:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 06/Jan/20 21:22
            Start Date: 06/Jan/20 21:22
    Worklog Time Spent: 10m 
      Work Description: jbertram commented on pull request #2927: ARTEMIS-2588 redundant lock on server.lock file
URL: https://github.com/apache/activemq-artemis/pull/2927
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 366970)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>             Fix For: 2.11.0
>
>          Time Spent: 10m
>  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)