Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-3291

It's possible to set pageSizeBytes and maxSizeBytes to zeroes, but it prevents broker from starting and unable to rollback

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.17.0
    • None
    • None

    Description

      How to reproduce:

      1. Have perfectly fine working AMQ Artemis broker.
      2. Create myAddress address in any way you can.
      3. Open web form, in "Web console --> broker (from tree view) --> Operations (tab) --> addAddressSettings (first item in the list)".
      4. Add settings you want, but forget to update "pageSizeBytes" and "maxSizeBytes". These fields will be by default set to "0".
      5. Save settings.
      6. Restart broker and get the following error instead (broker is not starting):

      ERROR [org.apache.activemq.artemis.core.server] AMQ224000: Failure in initialisation: java.lang.IllegalStateException: java.lang.IllegalStateException: pageSize for address myAddress >= maxSize. Normally pageSize should be significantly smaller than maxSize, ms: 0 ps 0

       

      It's impossible to fix this, because broker is not starting and values in broker.xml are being ignored...

      Attachments

        Activity

          People

            Unassigned Unassigned
            erikmnkl Erikas Rudinskas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: