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

(7.1.0) Can't shutdown server when JMS bridge retries connection.

XMLWordPrintable

    • Hide

      git clone git://git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git

      cd eap-tests-hornetq/scripts/

      git checkout refactoring_modules

      groovy -DEAP_VERSION=7.0.0.ER4 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

      export JOURNAL_DIRECTORY_A=$WORKSPACE/journal-A

      export JOURNAL_DIRECTORY_B=$WORKSPACE/journal-B

      cd ../jboss-hornetq-testsuite/

      mvn clean test -Dtest=-Dtest=NetworkFailuresJMSBridges#testShortNetworkFailureLargeMessages -DfailIfNoTests=false -Deap=7x

      Note: test passes, but server have to be killed after 2 minutes of waiting for shutdown

      Show
      git clone git://git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git cd eap-tests-hornetq/scripts/ git checkout refactoring_modules groovy -DEAP_VERSION=7.0.0.ER4 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 export JOURNAL_DIRECTORY_A=$WORKSPACE/journal-A export JOURNAL_DIRECTORY_B=$WORKSPACE/journal-B cd ../jboss-hornetq-testsuite/ mvn clean test -Dtest=-Dtest=NetworkFailuresJMSBridges#testShortNetworkFailureLargeMessages -DfailIfNoTests=false -Deap=7x Note: test passes, but server have to be killed after 2 minutes of waiting for shutdown

      Server with JMS bridge can't be shutdown when target server is unreachable and JMS bridge is retrying connection.

      Log looks like this:
      13:28:50,685 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: JBoss EAP 7.0.0.GA (WildFly Core 2.0.6.Final-redhat-1) started in 9642ms - Started 299 of 658 services (448 services are lazy, passive or on-demand)
      13:29:01,518 WARN [org.apache.activemq.artemis.core.client] (Thread-19 (ActiveMQ-client-global-threads-172474895)) AMQ212037: Connection failure has been detected: AMQ119015: The connection was disconnected because of server shutdown [code=DISCONNECTED]
      13:29:01,591 WARN [org.apache.activemq.artemis.core.client] (Thread-19 (ActiveMQ-client-global-threads-172474895)) AMQ212006: Waiting 1,000 milliseconds before next retry. RetryInterval=1,000 and multiplier=1
      13:29:02,601 WARN [org.apache.activemq.artemis.core.client] (Thread-19 (ActiveMQ-client-global-threads-172474895)) AMQ212006: Waiting 1,000 milliseconds before next retry. RetryInterval=1,000 and multiplier=1
      13:29:03,604 WARN [org.apache.activemq.artemis.core.client] (Thread-19 (ActiveMQ-client-global-threads-172474895)) AMQ212006: Waiting 1,000 milliseconds before next retry. RetryInterval=1,000 and multiplier=1
      13:29:04,606 WARN [org.apache.activemq.artemis.core.client] (Thread-19 (ActiveMQ-client-global-threads-172474895)) AMQ212006: Waiting 1,000 milliseconds before next retry. RetryInterval=1,000 and multiplier=1
      13:29:05,609 WARN [org.apache.activemq.artemis.core.client] (Thread-19 (ActiveMQ-client-global-threads-172474895)) AMQ212006: Waiting 1,000 milliseconds before next retry. RetryInterval=1,000 and multiplier=1
      ^C13:29:06,255 INFO [org.jboss.as.server] (Thread-2) WFLYSRV0220: Server shutdown has been requested.
      13:29:06,339 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
      13:29:06,344 INFO [org.wildfly.extension.messaging-activemq] (MSC service thread 1-6) WFLYMSGAMQ0006: Unbound messaging object to jndi name java:jboss/DefaultJMSConnectionFactory
      13:29:06,344 INFO [org.wildfly.extension.messaging-activemq] (ServerService Thread Pool – 11) WFLYMSGAMQ0006: Unbound messaging object to jndi name java:jboss/exported/jms/RemoteConnectionFactory
      13:29:06,347 INFO [org.jboss.modcluster] (ServerService Thread Pool – 35) MODCLUSTER000002: Initiating mod_cluster shutdown
      13:29:06,351 INFO [org.jboss.as.connector.deployment] (MSC service thread 1-4) WFLYJCA0011: Unbound JCA ConnectionFactory [java:/JmsXA]
      13:29:06,360 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0008: Undertow AJP listener ajp suspending
      13:29:06,365 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-6) WFLYJCA0019: Stopped Driver service with driver-name = h2
      13:29:06,369 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0019: Host default-host stopping
      13:29:06,384 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0007: Undertow AJP listener ajp stopped, was bound to 127.0.0.1:8009
      13:29:06,403 INFO [org.apache.activemq.artemis.ra] (ServerService Thread Pool – 11) AMQ151003: resource adaptor stopped
      13:29:06,611 WARN [org.apache.activemq.artemis.core.client] (Thread-19 (ActiveMQ-client-global-threads-172474895)) AMQ212006: Waiting 1,000 milliseconds before next retry. RetryInterval=1,000 and multiplier=1
      13:29:07,616 WARN [org.apache.activemq.artemis.core.client] (Thread-19 (ActiveMQ-client-global-threads-172474895)) AMQ212006: Waiting 1,000 milliseconds before next retry. RetryInterval=1,000 and multiplier=1
      13:29:08,619 WARN [org.apache.activemq.artemis.core.client] (Thread-19 (ActiveMQ-client-global-threads-172474895)) AMQ212006: Waiting 1,000 milliseconds before next retry. RetryInterval=1,000 and multiplier=1
      13:29:09,622 WARN [org.apache.activemq.artemis.core.client] (Thread-19 (ActiveMQ-client-global-threads-172474895)) AMQ212006: Waiting 1,000 milliseconds before next retry. RetryInterval=1,000 and multiplier=1
      13:29:10,623 WARN [org.apache.activemq.artemis.core.client] (Thread-19 (ActiveMQ-client-global-threads-172474895)) AMQ212006: Waiting 1,000 milliseconds before next retry. RetryInterval=1,000 and multiplier=1
      13:29:11,626 WARN [org.apache.activemq.artemis.core.client] (Thread-19 (ActiveMQ-client-global-threads-172474895)) AMQ212006: Waiting 1,000 milliseconds before next retry. RetryInterval=1,000 and multiplier=1
      13:29:12,629 WARN [org.apache.activemq.artemis.core.client] (Thread-19 (ActiveMQ-client-global-threads-172474895)) AMQ212006: Waiting 1,000 milliseconds before next retry. RetryInterval=1,000 and multiplier=1
      13:29:13,631 WARN [org.apache.activemq.artemis.core.client] (Thread-19 (ActiveMQ-client-global-threads-172474895)) AMQ212006: Waiting 1,000 milliseconds before next retry. RetryInterval=1,000 and multiplier=1
      13:29:14,635 WARN [org.apache.activemq.artemis.core.client] (Thread-19 (ActiveMQ-client-global-threads-172474895)) AMQ212006: Waiting 1,000 milliseconds before next retry. RetryInterval=1,000 and multiplier=1
      13:29:15,643 WARN [org.apache.activemq.artemis.core.client] (Thread-19 (ActiveMQ-client-global-threads-172474895)) AMQ212006: Waiting 1,000 milliseconds before next retry. RetryInterval=1,000 and multiplier=1
      13:29:16,646 WARN [org.apache.activemq.artemis.core.client] (Thread-19 (ActiveMQ-client-global-threads-172474895)) AMQ212006: Waiting 1,000 milliseconds before next retry. RetryInterval=1,000 and multiplier=1
      13:29:17,651 WARN [org.apache.activemq.artemis.core.client] (Thread-19 (ActiveMQ-client-global-threads-172474895)) AMQ212006: Waiting 1,000 milliseconds before next retry. RetryInterval=1,000 and multiplier=1
      13:29:18,653 WARN [org.apache.activemq.artemis.core.client] (Thread-19 (ActiveMQ-client-global-threads-172474895)) AMQ212006: Waiting 1,000 milliseconds before next retry. RetryInterval=1,000 and multiplier=1
      13:29:19,656 WARN [org.apache.activemq.artemis.core.client] (Thread-19 (ActiveMQ-client-global-threads-172474895)) AMQ212006: Waiting 1,000 milliseconds before next retry. RetryInterval=1,000 and multiplier=1
      13:29:20,658 WARN [org.apache.activemq.artemis.core.client] (Thread-19 (ActiveMQ-client-global-threads-172474895)) AMQ212006: Waiting 1,000 milliseconds before next retry. RetryInterval=1,000 and multiplier=1

      thread dump: http://pastebin.test.redhat.com/343642

              rh-ee-ataylor Andy Taylor
              mnovak1@redhat.com Miroslav Novak
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: