0 Replies Latest reply on Mar 28, 2019 3:29 AM by vamshi1413

    MessagingActiveMQ JMS Queue doesn't send or receive messages after upgrading from 7.1 to 7.2

    vamshi1413

      After upgrading JBOSS from 7.1 to 7.2 , JMS Queues doesn't seem to send or receive messages in domain mode, as per our app team the local standalone does work.. Any insight why it would work in standalone and not in domain mode would really be helpful for us to fix the major road block.

       

       

       

      2019-03-28 00:47:31,676 DEBUG [org.apache.activemq.artemis.ra] (default-threads - 8) Creating Connection Factory on the resource adapter for transport=[TransportConfiguration(name=fa98c1cc-511c-11e9-8e78-005056a92431, factory=org-apache-activemq-artemis-core-remoting-impl-invm-InVMConnectorFactory) ?bufferPooling=false&serverId=0] with ha=false

      2019-03-28 00:47:31,677 TRACE [org.apache.activemq.artemis.core.client.impl.Topology] (default-threads - 8) Topology@287e7872 CREATE: java.lang.Exception: trace

      at org.apache.activemq.artemis.core.client.impl.Topology.<init>(Topology.java:84)

      at org.apache.activemq.artemis.core.client.impl.Topology.<init>(Topology.java:72)

      at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.<init>(ServerLocatorImpl.java:442)

      at org.apache.activemq.artemis.api.core.client.ActiveMQClient.createServerLocatorWithoutHA(ActiveMQClient.java:306)

      at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.<init>(ActiveMQConnectionFactory.java:269)

      at org.apache.activemq.artemis.jms.client.ActiveMQXAConnectionFactory.<init>(ActiveMQXAConnectionFactory.java:57)

      at org.apache.activemq.artemis.api.jms.JMSFactoryType$4.createConnectionFactoryWithoutHA(JMSFactoryType.java:134)

      at org.apache.activemq.artemis.api.jms.ActiveMQJMSClient.createConnectionFactoryWithoutHA(ActiveMQJMSClient.java:140)

      at org.apache.activemq.artemis.ra.ActiveMQResourceAdapter.newConnectionFactory(ActiveMQResourceAdapter.java:1789)

      at org.apache.activemq.artemis.ra.inflow.ActiveMQActivation.setupCF(ActiveMQActivation.java:463)

      at org.apache.activemq.artemis.ra.inflow.ActiveMQActivation.setup(ActiveMQActivation.java:300)

      at org.apache.activemq.artemis.ra.inflow.ActiveMQActivation.reconnect(ActiveMQActivation.java:682)

      at org.apache.activemq.artemis.ra.inflow.ActiveMQActivation$SetupActivation.run(ActiveMQActivation.java:722)

      at org.jboss.jca.core.workmanager.WorkWrapper.runWork(WorkWrapper.java:445)

      at org.jboss.as.connector.services.workmanager.WildflyWorkWrapper.runWork(WildflyWorkWrapper.java:69)

      at org.jboss.jca.core.workmanager.WorkWrapper.run(WorkWrapper.java:223)

      at org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:29)

      at org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:789)

      at org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:44)

      at org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:809)

      at java.lang.Thread.run(Thread.java:748)

      at org.jboss.threads.JBossThread.run(JBossThread.java:485)

       

       

       

       

      2019-03-28 00:47:31,680 TRACE [org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl] (Thread-3 (org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnector)) RemotingConnectionID=fa990fee-511c-11e9-8e78-005056a92431 handling packet PACKET(ClusterTopologyChangeMessage_V2)[type=114, channelID=0, packetObject=ClusterTopologyChangeMessage_V2, exit=false, last=true, nodeID=6e6cd96f-49e0-11e9-ba7b-005056a92431, pair=Pair[a=null, b=null], backupGroupName=null, uniqueEventID=1553752051679]

      2019-03-28 00:47:31,680 TRACE [org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl] (Thread-3 (org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnector)) NodeUp ServerLocatorImpl [initialConnectors=[TransportConfiguration(name=fa98c1cc-511c-11e9-8e78-005056a92431, factory=org-apache-activemq-artemis-core-remoting-impl-invm-InVMConnectorFactory) ?bufferPooling=false&serverId=0], discoveryGroupConfiguration=null]::nodeID=6e6cd96f-49e0-11e9-ba7b-005056a92431, connectorPair=Pair[a=TransportConfiguration(name=fa995e0f-511c-11e9-8e78-005056a92431, factory=org-apache-activemq-artemis-core-remoting-impl-invm-InVMConnectorFactory) ?serverId=0, b=null]: java.lang.Exception: trace

      at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.notifyNodeUp(ServerLocatorImpl.java:1469)

      at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$SessionFactoryTopologyHandler.notifyNodeUp(ClientSessionFactoryImpl.java:1370)

      at org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager$Channel0Handler.notifyTopologyChange(ActiveMQClientProtocolManager.java:513)

      at org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager$Channel0Handler.handlePacket(ActiveMQClientProtocolManager.java:468)

      at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:659)

      at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:399)

      at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:376)

      at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$DelegatingBufferHandler.bufferReceived(ClientSessionFactoryImpl.java:1177)

      at org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnection$1.run(InVMConnection.java:196)

      at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42)

      at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31)

      at org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

      at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)

       

       

      2019-03-28 00:47:31,681 TRACE [org.apache.activemq.artemis.core.client.impl.Topology] (Thread-3 (org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnector)) Topology@287e7872::NewMemberAdd nodeId=6e6cd96f-49e0-11e9-ba7b-005056a92431 member = TopologyMember[id = 6e6cd96f-49e0-11e9-ba7b-005056a92431, connector=Pair[a=TransportConfiguration(name=fa995e0f-511c-11e9-8e78-005056a92431, factory=org-apache-activemq-artemis-core-remoting-impl-invm-InVMConnectorFactory) ?serverId=0, b=null], backupGroupName=null, scaleDownGroupName=null]: java.lang.Exception: trace

      at org.apache.activemq.artemis.core.client.impl.Topology.updateMember(Topology.java:204)

      at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.notifyNodeUp(ServerLocatorImpl.java:1474)

      at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$SessionFactoryTopologyHandler.notifyNodeUp(ClientSessionFactoryImpl.java:1370)

      at org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager$Channel0Handler.notifyTopologyChange(ActiveMQClientProtocolManager.java:513)

      at org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager$Channel0Handler.handlePacket(ActiveMQClientProtocolManager.java:468)

      at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:659)

      at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:399)

      at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:376)

      at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$DelegatingBufferHandler.bufferReceived(ClientSessionFactoryImpl.java:1177)

      at org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnection$1.run(InVMConnection.java:196)

      at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42)

      at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31)

      at org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

      at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)

       

       

      2019-03-28 00:47:31,697 TRACE [org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler] (Thread-7 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$5@54e1323d)) ServerSessionPacketHandler::handlePacket,PACKET(SessionCloseMessage)[type=69, channelID=10, packetObject=SessionCloseMessage]

      2019-03-28 00:47:31,697 TRACE [org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler] (Thread-7 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$5@54e1323d)) ServerSessionPacketHandler::scheduling response::PACKET(NullResponseMessage)[type=21, channelID=0, packetObject=NullResponseMessage]

      2019-03-28 00:47:31,697 TRACE [org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler] (Thread-7 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$5@54e1323d)) ServerSessionPacketHandler::regular response sent::PACKET(NullResponseMessage)[type=21, channelID=0, packetObject=NullResponseMessage]

      2019-03-28 00:47:31,697 TRACE [org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl] (Thread-7 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$5@54e1323d)) RemotingConnectionID=fa990fee-511c-11e9-8e78-005056a92431 Sending packet nonblocking PACKET(NullResponseMessage)[type=21, channelID=10, packetObject=NullResponseMessage] on channelID=10

      2019-03-28 00:47:31,697 TRACE [org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl] (Thread-7 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$5@54e1323d)) RemotingConnectionID=fa990fee-511c-11e9-8e78-005056a92431 Writing buffer for channelID=10

      2019-03-28 00:47:31,697 TRACE [org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnection] (Thread-13 (org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnector)) InVMConnection [serverID=0, id=fa990fee-511c-11e9-8e78-005056a92431]::Sending inVM packet

      2019-03-28 00:47:31,697 TRACE [org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl] (Thread-13 (org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnector)) RemotingConnectionID=fa990fee-511c-11e9-8e78-005056a92431 handling packet PACKET(NullResponseMessage)[type=21, channelID=10, packetObject=NullResponseMessage]

      2019-03-28 00:47:31,697 TRACE [org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnection] (Thread-13 (org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnector)) InVMConnection [serverID=0, id=fa990fee-511c-11e9-8e78-005056a92431]::packet sent done

      2019-03-28 00:47:31,697 DEBUG [org.apache.activemq.artemis.core.client.impl.ClientSessionImpl] (default-threads - 8) calling cleanup on ClientSessionImpl [name=fa99ac30-511c-11e9-8e78-005056a92431, username=null, closed=false, factory = org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl@3d9a9ed9, metaData=(jms-session=,resource-adapter=inbound,)]@24a266dd

      2019-03-28 00:47:31,697 TRACE [org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl] (default-threads - 8) Connection removed fa990fee-511c-11e9-8e78-005056a92431 from server ActiveMQServerImpl::serverUUID=6e6cd96f-49e0-11e9-ba7b-005056a92431: java.lang.Exception: trace

      at org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl.connectionDestroyed(RemotingServiceImpl.java:539)

      at org.apache.activemq.artemis.core.remoting.impl.invm.InVMAcceptor$Listener.connectionDestroyed(InVMAcceptor.java:293)

      at org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnection.close(InVMConnection.java:140)

      at org.apache.activemq.artemis.core.remoting.impl.invm.InVMAcceptor.disconnect(InVMAcceptor.java:243)

      at org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnector$Listener.connectionDestroyed(InVMConnector.java:272)

      at org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnection.close(InVMConnection.java:140)

      at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.internalClose(RemotingConnectionImpl.java:414)

      at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.destroy(RemotingConnectionImpl.java:232)

      at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.checkCloseConnection(ClientSessionFactoryImpl.java:869)

      at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.closeCleanSessions(ClientSessionFactoryImpl.java:451)

      at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.interruptConnectAndCloseAllSessions(ClientSessionFactoryImpl.java:426)

      at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.close(ClientSessionFactoryImpl.java:459)

      at org.apache.activemq.artemis.ra.inflow.ActiveMQActivation.setup(ActiveMQActivation.java:318)

      at org.apache.activemq.artemis.ra.inflow.ActiveMQActivation.reconnect(ActiveMQActivation.java:682)

      at org.apache.activemq.artemis.ra.inflow.ActiveMQActivation$SetupActivation.run(ActiveMQActivation.java:722)

      at org.jboss.jca.core.workmanager.WorkWrapper.runWork(WorkWrapper.java:445)

      at org.jboss.as.connector.services.workmanager.WildflyWorkWrapper.runWork(WildflyWorkWrapper.java:69)

      at org.jboss.jca.core.workmanager.WorkWrapper.run(WorkWrapper.java:223)

      at org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:29)

      at org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:789)

      at org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:44)

      at org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:809)

      at java.lang.Thread.run(Thread.java:748)

      at org.jboss.threads.JBossThread.run(JBossThread.java:485)

       

       

      2019-03-28 00:47:31,697 DEBUG [org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl] (default-threads - 8) RemotingServiceImpl::removing connection ID fa990fee-511c-11e9-8e78-005056a92431

      2019-03-28 00:47:31,698 DEBUG [org.apache.activemq.artemis.core.client.impl.ClientSessionImpl] (default-threads - 8) Session was already closed, giving up now, this=ClientSessionImpl [name=fa99ac30-511c-11e9-8e78-005056a92431, username=null, closed=true, factory = org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl@3d9a9ed9, metaData=(jms-session=,resource-adapter=inbound,)]@24a266dd

      2019-03-28 00:47:31,698 TRACE [org.apache.activemq.artemis.ra.inflow.ActiveMQActivationSpec] (default-threads - 8) getMaxSession()

      2019-03-28 00:47:31,698 TRACE [org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl] (default-threads - 8) Selecting connector from initial connectors.

      2019-03-28 00:47:31,698 TRACE [org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl] (default-threads - 8) getConnectionWithRetry::1 with retryInterval = 2000 multiplier = 1.0: java.lang.Exception: trace

      at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.getConnectionWithRetry(ClientSessionFactoryImpl.java:781)

      at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.connect(ClientSessionFactoryImpl.java:240)

      at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:782)

      at org.apache.activemq.artemis.ra.inflow.ActiveMQActivation.setup(ActiveMQActivation.java:311)

      at org.apache.activemq.artemis.ra.inflow.ActiveMQActivation.reconnect(ActiveMQActivation.java:682)

      at org.apache.activemq.artemis.ra.inflow.ActiveMQActivation$SetupActivation.run(ActiveMQActivation.java:722)

      at org.jboss.jca.core.workmanager.WorkWrapper.runWork(WorkWrapper.java:445)

      at org.jboss.as.connector.services.workmanager.WildflyWorkWrapper.runWork(WildflyWorkWrapper.java:69)

      at org.jboss.jca.core.workmanager.WorkWrapper.run(WorkWrapper.java:223)

      at org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:29)

      at org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:789)

      at org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:44)

      at org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:809)

      at java.lang.Thread.run(Thread.java:748)

      at org.jboss.threads.JBossThread.run(JBossThread.java:485)