Erikas Rudinskas created ARTEMIS-3291:
-----------------------------------------

             Summary: It's possible to set pageSizeBytes and maxSizeBytes to 
zeroes, but it prevents broker from starting and unable to rollback
                 Key: ARTEMIS-3291
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3291
             Project: ActiveMQ Artemis
          Issue Type: Bug
          Components: API, Broker, Configuration, JMX, Web Console
    Affects Versions: 2.17.0
            Reporter: Erikas Rudinskas


How to reproduce:
 # Have perfectly fine working AMQ Artemis broker.
 # Create *myAddress* address in any way you can.
 # Open web form, in "Web console --> broker (from tree view) --> Operations 
(tab) --> addAddressSettings (first item in the list)".
 # Add settings you want, but forget to update "pageSizeBytes" and 
"maxSizeBytes". These fields will be by default set to "0".
 # Save settings.
 # Restart broker
 # Get the following error:

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...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to