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

AMQ212002 warning & AMQ224049 error from Artemis when a MDB is undeployed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.0.0.ER4
    • 7.0.0.DR11
    • ActiveMQ
    • None

      Test to reproduce is in WildFly test suite and can be run with:

      ./integration-tests.sh -Dts.basic -Dtest="MDB20TopicTestCase" -DnoWebProfile

      The test passes fine but after the app is underplayed, Artemis prints warnings and errors:

      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.682 sec - in org.jboss.as.test.integration.ejb.mdb.ejb2x.MDB20TopicTestCase
      11:18:44,696 INFO  [org.jboss.as.arquillian.protocol.jmx.ArquillianServiceDeployer] (main) Undeploy arquillian service: arquillian-service: 977 assets
      11:18:44,719 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0028: Stopped deployment arquillian-service (runtime-name: arquillian-service) in 17ms
      11:18:44,728 INFO  [org.jboss.as.repository] (management-handler-thread - 2) WFLYDR0002: Content removed from location /Users/jmesnil/Developer/wildfly/testsuite/integration/basic/target/jbossas/standalone/data/content/46/869bb7476ccb4461bc6833bac4fe360d6d276f/content
      11:18:44,729 INFO  [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0009: Undeployed "arquillian-service" (runtime-name: "arquillian-service")
      11:18:44,734 INFO  [org.jboss.as.server] (management-handler-thread - 3) WFLYSRV0211: Suspending server with 0ms timeout.
      11:18:44,737 INFO  [org.jboss.as.server] (Thread-2) WFLYSRV0220: Server shutdown has been requested.
      11:18:44,740 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
      11:18:44,740 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-6) WFLYMSGAMQ0006: Unbound messaging object to jndi name java:jboss/DefaultJMSConnectionFactory
      11:18:44,741 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-1) WFLYJCA0011: Unbound JCA ConnectionFactory [java:/JmsXA]
      11:18:44,746 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0019: Host default-host stopping
      11:18:44,747 INFO  [org.wildfly.extension.messaging-activemq] (ServerService Thread Pool -- 12) WFLYMSGAMQ0006: Unbound messaging object to jndi name java:jboss/exported/jms/RemoteConnectionFactory
      11:18:44,748 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-6) WFLYJCA0019: Stopped Driver service with driver-name = h2
      
      11:18:54,630 WARN  [org.apache.activemq.artemis.core.client] (Thread-2 (ActiveMQ-client-global-threads-633087758)) AMQ212002: Timed out waiting for handler to complete processing
      11:18:54,630 WARN  [org.apache.activemq.artemis.core.client] (Thread-18 (ActiveMQ-client-global-threads-633087758)) AMQ212002: Timed out waiting for handler to complete processing
      11:18:54,630 WARN  [org.apache.activemq.artemis.core.client] (Thread-4 (ActiveMQ-client-global-threads-633087758)) AMQ212002: Timed out waiting for handler to complete processing
      11:18:54,631 WARN  [org.apache.activemq.artemis.core.client] (Thread-13 (ActiveMQ-client-global-threads-633087758)) AMQ212002: Timed out waiting for handler to complete processing
      11:18:54,631 WARN  [org.apache.activemq.artemis.core.client] (Thread-14 (ActiveMQ-client-global-threads-633087758)) AMQ212002: Timed out waiting for handler to complete processing
      11:18:54,630 WARN  [org.apache.activemq.artemis.core.client] (Thread-11 (ActiveMQ-client-global-threads-633087758)) AMQ212002: Timed out waiting for handler to complete processing
      11:18:54,631 WARN  [org.apache.activemq.artemis.core.client] (Thread-12 (ActiveMQ-client-global-threads-633087758)) AMQ212002: Timed out waiting for handler to complete processing
      11:18:54,630 WARN  [org.apache.activemq.artemis.core.client] (Thread-7 (ActiveMQ-client-global-threads-633087758)) AMQ212002: Timed out waiting for handler to complete processing
      11:18:54,631 WARN  [org.apache.activemq.artemis.core.client] (Thread-17 (ActiveMQ-client-global-threads-633087758)) AMQ212002: Timed out waiting for handler to complete processing
      11:18:54,630 WARN  [org.apache.activemq.artemis.core.client] (Thread-9 (ActiveMQ-client-global-threads-633087758)) AMQ212002: Timed out waiting for handler to complete processing
      11:18:54,630 WARN  [org.apache.activemq.artemis.core.client] (Thread-19 (ActiveMQ-client-global-threads-633087758)) AMQ212002: Timed out waiting for handler to complete processing
      11:18:54,631 WARN  [org.apache.activemq.artemis.core.client] (Thread-10 (ActiveMQ-client-global-threads-633087758)) AMQ212002: Timed out waiting for handler to complete processing
      11:18:54,630 WARN  [org.apache.activemq.artemis.core.client] (Thread-21 (ActiveMQ-client-global-threads-633087758)) AMQ212002: Timed out waiting for handler to complete processing
      11:18:54,630 WARN  [org.apache.activemq.artemis.core.client] (Thread-22 (ActiveMQ-client-global-threads-633087758)) AMQ212002: Timed out waiting for handler to complete processing
      11:18:54,631 WARN  [org.apache.activemq.artemis.core.client] (Thread-16 (ActiveMQ-client-global-threads-633087758)) AMQ212002: Timed out waiting for handler to complete processing
      11:18:54,632 ERROR [org.apache.activemq.artemis.core.server] (Thread-11 (ActiveMQ-remoting-threads-ActiveMQServerImpl::serverUUID=d370b51e-7678-11e5-b10e-af2a5d4a5196-148307791-514838245)) AMQ224049: Cannot find consumer with id 0
      11:18:54,647 INFO  [org.apache.activemq.artemis.ra] (ServerService Thread Pool -- 14) AMQ151003: resource adaptor stopped
      11:18:54,679 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 14) AMQ221002: Apache ActiveMQ Artemis Message Broker version 1.1.0.wildfly.007 [d370b51e-7678-11e5-b10e-af2a5d4a5196] stopped
      11:18:54,680 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0008: Undertow HTTP listener default suspending
      11:18:54,681 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0007: Undertow HTTP listener default stopped, was bound to 127.0.0.1:8080
      11:18:54,682 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0004: Undertow 1.3.0.CR2 stopping
      11:18:54,686 INFO  [org.jboss.as] (MSC service thread 1-7) WFLYSRV0050: WildFly Full 10.0.0.CR3-SNAPSHOT (WildFly Core 2.0.0.CR6) stopped in 9942ms
      
      Results :
      
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
      

      The warnings and errors appear even when I modify the test to not produce any messages from the client (and the MDB don't consume any).
      The warnings come from org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl#waitForOnMessageToComplete when the RA's MessageHandler closes its core client consumer during undeployment.

              mtaylor1@redhat.com Martyn Taylor (Inactive)
              jmesnil1@redhat.com Jeff Mesnil
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: