You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Erikas Rudinskas (Jira)" <ji...@apache.org> on 2021/05/11 11:37:00 UTC

[jira] [Updated] (ARTEMIS-3291) It's possible to set pageSizeBytes and maxSizeBytes to zeroes, but it prevents broker from starting and unable to rollback

     [ https://issues.apache.org/jira/browse/ARTEMIS-3291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erikas Rudinskas updated ARTEMIS-3291:
--------------------------------------
    Description: 
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 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...

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


> 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
>            Priority: Major
>
> 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 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...



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