Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-4290

AMQ 7.7 won't start, when upgrading in-place from 7.2.2

XMLWordPrintable

       A master-slave, replicated pair of brokers was upgraded in place from 7.2.2 to 7.7. There were, when the brokers were shut down, many files in the paging/ directory. When the new brokers attempt to start, they fail with the following exception:

      2020-11-24 16:19:56,689 ERROR [org.apache.activemq.artemis.core.server] AMQ224000: Failure in initialisation: java.lang.NullPointerException: couldn't find factory for type=0
              at org.apache.activemq.artemis.spi.core.protocol.MessagePersister.decode(MessagePersister.java:118) [artemis-server-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
              at org.apache.activemq.artemis.core.paging.impl.PagedMessageImpl.decode(PagedMessageImpl.java:183) [artemis-server-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
              at org.apache.activemq.artemis.core.paging.impl.Page.readFromSequentialFile(Page.java:407) [artemis-server-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
              at org.apache.activemq.artemis.core.paging.impl.Page.read(Page.java:268) [artemis-server-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
              at org.apache.activemq.artemis.core.paging.impl.Page.read(Page.java:251) [artemis-server-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
              at org.apache.activemq.artemis.core.paging.impl.PagingStoreImpl.reloadLivePage(PagingStoreImpl.java:471) [artemis-server-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
              at org.apache.activemq.artemis.core.paging.impl.PagingStoreImpl.start(PagingStoreImpl.java:451) [artemis-server-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
              at org.apache.activemq.artemis.core.paging.impl.PagingManagerImpl.reloadStores(PagingManagerImpl.java:328) [artemis-server-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
              at org.apache.activemq.artemis.core.paging.impl.PagingManagerImpl.start(PagingManagerImpl.java:422) [artemis-server-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
              at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart1(ActiveMQServerImpl.java:2882) [artemis-server-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
              at org.apache.activemq.artemis.core.server.impl.SharedNothingLiveActivation.run(SharedNothingLiveActivation.java:112) [artemis-server-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
              at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.internalStart(ActiveMQServerImpl.java:599) [artemis-server-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
              at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start(ActiveMQServerImpl.java:526) [artemis-server-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
              at org.apache.activemq.artemis.integration.FileBroker.start(FileBroker.java:70) [artemis-cli-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
              at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:84) [artemis-cli-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
              at org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:153) [artemis-cli-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
              at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:101) [artemis-cli-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
              at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:128) [artemis-cli-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_242]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_242]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_242]
              at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_242]
              at org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:134) [artemis-boot.jar:2.13.0.redhat-00006]
              at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:50) [artemis-boot.jar:2.13.0.redhat-00006]
       

              dbruscin Domenico Francesco Bruscino
              rhn-support-kboone Kevin Boone
              Roman Vais Roman Vais (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: