Master configuration - ..................................... queue declarations Slave configuration - ..................................... queue declarations In Master logs - 2019/01/16 19:56:21,118+05:30 ERROR [org.apache.activemq.artemis.core.server] (default I/O-2) AMQ224044: error acknowledging message: java.lang.NullPointer Exception at org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.removeReferenceByID(ServerConsumerImpl.java:811) at org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.individualAcknowledge(ServerConsumerImpl.java:741) at org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.individualAcknowledge(ServerSessionImpl.java:739) at org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler.handlePacket(ServerSessionPacketHandler.java:409) at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:630) at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:347) at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:329) at org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:619) at org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:68) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:276) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:263) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846) at org.xnio.netty.transport.AbstractXnioSocketChannel$ReadListener.handleEvent(AbstractXnioSocketChannel.java:435) at org.xnio.netty.transport.AbstractXnioSocketChannel$ReadListener.handleEvent(AbstractXnioSocketChannel.java:371) at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [xnio-api-3.4.0.Final.jar:3.4.0.Final] at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66) [xnio-api-3.4.0.Final.jar:3.4.0.Final] at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89) [xnio-nio-3.4.0.Final.jar:3.4.0.Final] at org.xnio.nio.WorkerThread.run(WorkerThread.java:567) [xnio-nio-3.4.0.Final.jar:3.4.0.Final] 2019/01/16 19:56:21,121+05:30 ERROR [org.apache.activemq.artemis.core.server] (default I/O-2) AMQ224016: Caught exception: ActiveMQIllegalStateException[er rorType=ILLEGAL_STATE message=null] at org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.individualAcknowledge(ServerConsumerImpl.java:772) at org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.individualAcknowledge(ServerSessionImpl.java:739) at org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler.handlePacket(ServerSessionPacketHandler.java:409) at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:630) at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:347) at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:329) at org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:619) at org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:68) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:276) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:263) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846) at org.xnio.netty.transport.AbstractXnioSocketChannel$ReadListener.handleEvent(AbstractXnioSocketChannel.java:435) at org.xnio.netty.transport.AbstractXnioSocketChannel$ReadListener.handleEvent(AbstractXnioSocketChannel.java:371) at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [xnio-api-3.4.0.Final.jar:3.4.0.Final] at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66) [xnio-api-3.4.0.Final.jar:3.4.0.Final] at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89) [xnio-nio-3.4.0.Final.jar:3.4.0.Final] at org.xnio.nio.WorkerThread.run(WorkerThread.java:567) [xnio-nio-3.4.0.Final.jar:3.4.0.Final] 2019/01/16 19:56:21,123+05:30 INFO [org.apache.activemq.artemis.core.server] (activemq-failure-check-thread) AMQ221021: failed to remove connection 2019/01/16 19:56:21,124+05:30 WARN [org.apache.activemq.artemis.core.client] (activemq-failure-check-thread) AMQ212037: Connection failure has been detected: AMQ119014: Did not receive data from /135.250.138.197:37632. It is likely the client has exited or crashed without closing its connection, or the network between the server and client has failed. You also might have configured connection-ttl and client-failure-check-period incorrectly. Please check user manual for more information. The connection will now be closed. [code=CONNECTION_TIMEDOUT] 2019/01/16 19:56:21,124+05:30 WARN [org.apache.activemq.artemis.core.server] (activemq-failure-check-thread) AMQ222061: Client connection failed, clearing up resources for session 5a6daaf1-1697-11e9-bbf5-c9de0fa223b5 2019/01/16 19:56:21,124+05:30 WARN [org.apache.activemq.artemis.core.server] (activemq-failure-check-thread) AMQ222107: Cleared up resources for session 5a6daaf1-1697-11e9-bbf5-c9de0fa223b5 2019/01/16 19:56:21,124+05:30 INFO [org.apache.activemq.artemis.core.server] (activemq-failure-check-thread) AMQ221021: failed to remove connection 2019/01/16 19:56:21,124+05:30 WARN [org.apache.activemq.artemis.core.client] (activemq-failure-check-thread) AMQ212037: Connection failure has been detected: AMQ119014: Did not receive data from /135.250.138.197:37544. It is likely the client has exited or crashed without closing its connection, or the network between the server and client has failed. You also might have configured connection-ttl and client-failure-check-period incorrectly. Please check user manual for more information. The connection will now be closed. [code=CONNECTION_TIMEDOUT] 2019/01/16 19:56:21,124+05:30 WARN [org.apache.activemq.artemis.core.server] (activemq-failure-check-thread) AMQ222061: Client connection failed, clearing up resources for session 522e9ce8-1697-11e9-bbf5-c9de0fa223b5 2019/01/16 19:56:21,140+05:30 WARN [org.apache.activemq.artemis.core.server] (default I/O-6) AMQ222066: Reattach request from /135.250.138.197:33428 failed as there is no confirmationWindowSize configured, which may be ok for your system 2019/01/16 19:56:21,147+05:30 WARN [org.apache.activemq.artemis.core.server] (activemq-failure-check-thread) AMQ222107: Cleared up resources for session 522e9ce8-1697-11e9-bbf5-c9de0fa223b5 2019/01/16 19:56:21,148+05:30 WARN [org.apache.activemq.artemis.core.client] (activemq-failure-check-thread) AMQ212037: Connection failure has been detected: AMQ119014: Did not receive data from /135.250.138.105:39734. It is likely the client has exited or crashed without closing its connection, or the network between the server and client has failed. You also might have configured connection-ttl and client-failure-check-period incorrectly. Please check user manual for more information. The connection will now be closed. [code=CONNECTION_TIMEDOUT] 2019/01/16 19:56:21,148+05:30 WARN [org.apache.activemq.artemis.core.server] (activemq-failure-check-thread) AMQ222061: Client connection failed, clearing up resources for session 147599de-168a-11e9-bca9-e9e33e28cdb8 2019/01/16 19:56:21,148+05:30 WARN [org.apache.activemq.artemis.core.server] (activemq-failure-check-thread) AMQ222107: Cleared up resources for session 147599de-168a-11e9-bca9-e9e33e28cdb8 2019/01/16 19:56:21,149+05:30 INFO [org.apache.activemq.artemis.core.server] (activemq-failure-check-thread) AMQ221021: failed to remove connection 2019/01/16 19:56:22,650+05:30 WARN [org.apache.activemq.artemis.core.client] (activemq-discovery-group-thread-dg-group1) AMQ212034: There are more than one servers on the network broadcasting the same node id. You will see this message exactly once (per node) if a node is restarted, in which case it can be safely ignored. But if it is logged continuously it means you really do have more than one node on the same network active concurrently with the same node i: *************************************************** Slave logs ********************************************************** 2019/01/16 19:56:21,156+05:30 INFO [org.apache.activemq.artemis.core.server] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=null) AMQ221 037: ActiveMQServerImpl::serverUUID=75f7fe28-0fd8-11e9-a447-b3f2c1b520a3 to become 'live' 2019/01/16 19:56:22,583+05:30 WARN [org.apache.activemq.artemis.core.server] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=null) AMQ222 028: Could not find page cache for page PagePositionImpl [pageNr=24, messageNr=-1, recordID=4295772541] removing it from the journal 2019/01/16 19:56:22,587+05:30 WARN [org.apache.activemq.artemis.core.server] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=null) AMQ222 028: Could not find page cache for page PagePositionImpl [pageNr=1720, messageNr=-1, recordID=4318548677] removing it from the journal 2019/01/16 19:56:22,596+05:30 WARN [org.apache.activemq.artemis.core.server] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=null) AMQ222 028: Could not find page cache for page PagePositionImpl [pageNr=11, messageNr=-1, recordID=4301596949] removing it from the journal 2019/01/16 19:56:22,597+05:30 WARN [org.apache.activemq.artemis.core.server] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=null) AMQ222 028: Could not find page cache for page PagePositionImpl [pageNr=25, messageNr=-1, recordID=4317629556] removing it from the journal 2019/01/16 19:56:22,635+05:30 INFO [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 78) AMQ221003: trying to deploy queue jms.queue .SRINI_QUEUE_1 2019/01/16 19:56:22,638+05:30 INFO [org.wildfly.extension.messaging-activemq] (MSC service thread 1-7) WFLYMSGAMQ0016: Registered HTTP upgrade for activem q-remoting protocol handled by http-acceptor acceptor 2019/01/16 19:56:22,640+05:30 INFO [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 96) AMQ221003: trying to deploy queue jms.queue .SRINI_QUEUE_2 ....................... remaining queues deployment