Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-21414

Failed shutdown of embedded messaging broker

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • JMS
    • None
    • ---
    • ---

      Observed on a PR CI job, leading to 128 failures.

      https://ci.wildfly.org/viewLog.html?buildId=541328&tab=buildResultsDiv&buildTypeId=WF_PullRequest_WindowsJdk17#testNameId4389312432209652502

      12:51:20,594 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-6) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
      12:51:20,594 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0019: Host default-host stopping
      12:51:20,594 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-5) WFLYJCA0119: Unbinding connection factory named java:/JmsXA to alias java:jboss/DefaultJMSConnectionFactory
      12:51:20,594 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
      12:51:20,595 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-8) WFLYJCA0011: Unbound Jakarta Connectors ConnectionFactory [java:/JmsXA]
      12:51:20,596 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) WFLYJCA0019: Stopped Driver service with driver-name = h2
      12:51:20,597 INFO  [org.apache.activemq.artemis.ra.ActiveMQRALogger] (ServerService Thread Pool -- 14) AMQ151003: resource adaptor stopped
      12:51:20,597 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-8) WFLYMSGAMQ0006: Unbound messaging object to jndi name java:jboss/exported/jms/RemoteConnectionFactory
      12:51:20,600 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-8) WFLYMSGAMQ0006: Unbound messaging object to jndi name java:/ConnectionFactory
      12:51:20,604 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0008: Undertow HTTPS listener https suspending
      12:51:20,604 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0007: Undertow HTTPS listener https stopped, was bound to [::1]:8443
      12:51:20,605 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0028: Stopped deployment arquillian-service (runtime-name: arquillian-service) in 13ms
      12:51:20,718 ERROR [org.apache.activemq.artemis.core.server.impl.FileLockNodeManager] (Thread-2 (activemq-scheduled-default)) java.nio.channels.ClosedByInterruptException: org.apache.activemq.artemis.core.server.NodeManager$NodeManagerException: java.nio.channels.ClosedByInterruptException
      	at org.apache.activemq.artemis@2.44.0//org.apache.activemq.artemis.core.server.impl.FileLockNodeManager.getState(FileLockNodeManager.java:375)
      	at org.apache.activemq.artemis@2.44.0//org.apache.activemq.artemis.core.server.impl.FileLockNodeManager$MonitorLock.run(FileLockNodeManager.java:539)
      	at org.apache.activemq.artemis.commons@2.44.0//org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent.runForExecutor(ActiveMQScheduledComponent.java:327)
      	at org.apache.activemq.artemis.commons@2.44.0//org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent.bookedRunForScheduler(ActiveMQScheduledComponent.java:342)
      	at org.apache.activemq.artemis.commons@2.44.0//org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent.runForScheduler(ActiveMQScheduledComponent.java:353)
      	at org.apache.activemq.artemis.commons@2.44.0//org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent.lambda$start$0(ActiveMQScheduledComponent.java:180)
      	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
      	at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
      	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      	at org.apache.activemq.artemis.commons@2.44.0//org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:120)
      Caused by: java.nio.channels.ClosedByInterruptException
      	at java.base/java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:199)
      	at java.base/sun.nio.ch.FileChannelImpl.endBlocking(FileChannelImpl.java:171)
      	at java.base/sun.nio.ch.FileChannelImpl.readInternal(FileChannelImpl.java:844)
      	at java.base/sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:821)
      	at org.apache.activemq.artemis@2.44.0//org.apache.activemq.artemis.core.server.impl.FileLockNodeManager.getState(FileLockNodeManager.java:360)
      	... 11 more
      
      12:51:20,718 WARN  [org.apache.activemq.artemis.core.server.impl.FileLockNodeManager] (Thread-2 (activemq-scheduled-default)) Lost the lock according to the monitor, notifying listeners
      12:51:21,218 WARN  [org.apache.activemq.artemis.core.server.impl.FileLockNodeManager] (ServerService Thread Pool -- 85) Failure when accessing a lock file: java.nio.channels.ClosedChannelException
      	at java.base/sun.nio.ch.FileChannelImpl.ensureOpen(FileChannelImpl.java:159)
      	at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1314)
      	at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1191)
      	at org.apache.activemq.artemis@2.44.0//org.apache.activemq.artemis.core.server.impl.FileLockNodeManager.tryLock(FileLockNodeManager.java:401)
      	at org.apache.activemq.artemis@2.44.0//org.apache.activemq.artemis.core.server.impl.FileLockNodeManager.lock(FileLockNodeManager.java:421)
      	at org.apache.activemq.artemis@2.44.0//org.apache.activemq.artemis.core.server.impl.FileLockNodeManager.writeFileLockStatus(FileLockNodeManager.java:336)
      	at org.apache.activemq.artemis@2.44.0//org.apache.activemq.artemis.core.server.impl.FileLockNodeManager.setPaused(FileLockNodeManager.java:318)
      	at org.apache.activemq.artemis@2.44.0//org.apache.activemq.artemis.core.server.impl.FileLockNodeManager.pausePrimaryServer(FileLockNodeManager.java:278)
      	at org.apache.activemq.artemis@2.44.0//org.apache.activemq.artemis.core.server.impl.PrimaryOnlyActivation.close(PrimaryOnlyActivation.java:106)
      	at org.apache.activemq.artemis@2.44.0//org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1488)
      	at org.apache.activemq.artemis@2.44.0//org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1245)
      	at org.apache.activemq.artemis@2.44.0//org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1229)
      	at org.apache.activemq.artemis@2.44.0//org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1062)
      	at org.apache.activemq.artemis@2.44.0//org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1056)
      	at org.apache.activemq.artemis@2.44.0//org.apache.activemq.artemis.jms.server.impl.JMSServerManagerImpl.stop(JMSServerManagerImpl.java:374)
      	at org.wildfly.extension.messaging-activemq//org.wildfly.extension.messaging.activemq.jms.JMSService.doStop(JMSService.java:206)
      	at org.wildfly.extension.messaging-activemq//org.wildfly.extension.messaging.activemq.jms.JMSService$2.run(JMSService.java:106)
      	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
      	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      	at org.jboss.threads@3.9.2//org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
      	at org.jboss.threads@3.9.2//org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2651)
      	at org.jboss.threads@3.9.2//org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2630)
      	at org.jboss.threads@3.9.2//org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1622)
      	at org.jboss.threads@3.9.2//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1589)
      	at java.base/java.lang.Thread.run(Thread.java:833)
      	at org.jboss.threads@3.9.2//org.jboss.threads.JBossThread.run(JBossThread.java:501)
       

        1. server.log
          6.71 MB
          Brian Stansberry

              ehugonne1@redhat.com Emmanuel Hugonnet
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: