Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-6130

Redistribution information is lost in case of a server restart

    XMLWordPrintable

Details

    Description

      The Redistributor will add non transient information to the message, and in case of restart the bridge will lost the HQ_ROUTE_TO<BridgeName>.

      You will eventually see messages like this in case of a restart:

      java.lang.NullPointerException
      at java.nio.ByteBuffer.wrap(ByteBuffer.java:373)
      at org.hornetq.core.postoffice.impl.BindingsImpl.routeFromCluster(BindingsImpl.java:478)
      at org.hornetq.core.postoffice.impl.BindingsImpl.route(BindingsImpl.java:254)
      at org.hornetq.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:599)
      at org.hornetq.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:561)
      at org.hornetq.core.server.impl.ServerSessionImpl.doSend(ServerSessionImpl.java:1290)
      at org.hornetq.core.server.impl.ServerSessionImpl.send(ServerSessionImpl.java:1032)
      at org.hornetq.core.protocol.core.ServerSessionPacketHandler.handlePacket(ServerSessionPacketHandler.java:444)
      at org.hornetq.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:474)
      at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:496)
      at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:457)
      at org.hornetq.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:459)
      at org.hornetq.core.remoting.impl.invm.InVMConnection$1.run(InVMConnection.java:137)
      at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:100)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:680)

      Attachments

        Activity

          People

            csuconic@redhat.com Clebert Suconic
            csuconic@redhat.com Clebert Suconic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: