Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-6180

(7.4.z) Artemis is logging warnings during server shut down

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.4.12.CR1, 7.4.12.GA
    • 7.0.0.DR12, 7.1.0.DR13, 7.1.0.DR18, 7.1.0.ER3, 7.1.0.CR1, 7.2.0.GA, 8.0.0.Beta-CR1
    • ActiveMQ
    • None
    • +
    • Known Issue
    • Hide

      Steps to reproduce the Warnings/Errors:

      git clone git://git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git
      cd eap-tests-hornetq/scripts/
      git checkout master
      
      groovy -DEAP_VERSION=7.1.0.ER3 PrepareServers7.groovy
      export WORKSPACE=$PWD
      export JBOSS_HOME_1=$WORKSPACE/server1/jboss-eap
      export JBOSS_HOME_2=$WORKSPACE/server2/jboss-eap
      export JBOSS_HOME_3=$WORKSPACE/server3/jboss-eap
      export JBOSS_HOME_4=$WORKSPACE/server4/jboss-eap
      
      cd ../jboss-hornetq-testsuite/
      mvn clean test -Dtest=ClusterTestCase#testNoWarningErrorsDuringRestartingNodesInCluster  -DfailIfNoTests=false -Deap=7x  | tee log
      
      
      Show
      Steps to reproduce the Warnings/Errors: git clone git: //git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git cd eap-tests-hornetq/scripts/ git checkout master groovy -DEAP_VERSION=7.1.0.ER3 PrepareServers7.groovy export WORKSPACE=$PWD export JBOSS_HOME_1=$WORKSPACE/server1/jboss-eap export JBOSS_HOME_2=$WORKSPACE/server2/jboss-eap export JBOSS_HOME_3=$WORKSPACE/server3/jboss-eap export JBOSS_HOME_4=$WORKSPACE/server4/jboss-eap cd ../jboss-hornetq-testsuite/ mvn clean test -Dtest=ClusterTestCase#testNoWarningErrorsDuringRestartingNodesInCluster -DfailIfNoTests= false -Deap=7x | tee log

      When we're shutting down the server during our startup tests, Artemis is sometimes logging warnings (seems it's trying to reconnect cluster).

      Relevant log parts (full log attached):

      2015-10-20 07:35:35,657 WARN  [org.apache.activemq.artemis.core.client] (Thread-0 (ActiveMQ-client-global-threads-1087661281)) AMQ212037: Connection failure has been detected: AMQ119015: The connection was disconnected because of server shutdown [code=DISCONNECTED]
      2015-10-20 07:35:35,677 WARN  [org.apache.activemq.artemis.core.client] (Thread-1 (ActiveMQ-client-global-threads-1087661281)) AMQ212037: Connection failure has been detected: AMQ119015: The connection was disconnected because of server shutdown [code=DISCONNECTED]
      2015-10-20 07:35:35,679 WARN  [org.apache.activemq.artemis.core.client] (Thread-2 (ActiveMQ-client-global-threads-1087661281)) AMQ212037: Connection failure has been detected: AMQ119015: The connection was disconnected because of server shutdown [code=DISCONNECTED]
      2015-10-20 07:35:35,680 WARN  [org.apache.activemq.artemis.core.server] (Thread-2 (ActiveMQ-client-global-threads-1087661281)) AMQ222095: Connection failed with failedOver=false: ActiveMQDisconnectedException[errorType=DISCONNECTED message=AMQ119015: The connection was disconnected because of server shutdown]
      	at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$CloseRunnable.run(ClientSessionFactoryImpl.java:946)
      	at org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor.run(OrderedExecutorFactory.java:94)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1143)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:618)
      	at java.lang.Thread.run(Thread.java:785)
      
      2015-10-20 07:35:35,767 WARN  [org.apache.activemq.artemis.core.server] (Thread-2 (ActiveMQ-client-global-threads-1087661281)) AMQ222095: Connection failed with failedOver=false: ActiveMQDisconnectedException[errorType=DISCONNECTED message=AMQ119015: The connection was disconnected because of server shutdown]
      	at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$CloseRunnable.run(ClientSessionFactoryImpl.java:946)
      	at org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor.run(OrderedExecutorFactory.java:94)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1143)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:618)
      	at java.lang.Thread.run(Thread.java:785)
      

      The test runs 2 servers with default standalone-full-ha.xml on single node with different server.bind.address.

        1. standalone-full-ha.xml
          24 kB
        2. server.log
          32 kB
        3. artifacts.zip
          83 kB

              mpetrov@redhat.com Michal Petrov
              mnovak1@redhat.com Miroslav Novak
              Votes:
              0 Vote for this issue
              Watchers:
              20 Start watching this issue

                Created:
                Updated:
                Resolved: