[
https://issues.jboss.org/browse/WFLY-1385?page=com.atlassian.jira.plugin....
]
RH Bugzilla Integration commented on WFLY-1385:
-----------------------------------------------
Clebert Suconic <csuconic(a)redhat.com> made a comment on [bug
920980|https://bugzilla.redhat.com/show_bug.cgi?id=920980]
This was rejected on 6.1.x (6.1.2 eventually)...
I just submitted a new PR on 6.x:
https://github.com/jbossas/jboss-eap/pull/333
@MIro: what version, what target and what status should this set to now?
Override default page-size-bytes in messaging subsystem
configuration
---------------------------------------------------------------------
Key: WFLY-1385
URL:
https://issues.jboss.org/browse/WFLY-1385
Project: WildFly
Issue Type: Enhancement
Components: JMS
Affects Versions: 8.0.0.Alpha1
Reporter: Jeff Mesnil
Assignee: Jeff Mesnil
Priority: Minor
Fix For: 8.0.0.Alpha2
When HornetQ address-full-policy is switched from BLOCK to PAGE, the following exception
is thrown during shutdown.
{noformat}
Exception:
09:48:05,247 WARN [org.hornetq.core.server] (MSC service thread 1-3) HQ222160: unable to
send notification when broadcast group is stopped: java.lang.IllegalStateException:
pageSize for address hornetq.notifications >= maxSize. Normally pageSize should be
significantly smaller than maxSize, ms: 10485760 ps 10485760
at
org.hornetq.core.paging.impl.PagingStoreImpl.<init>(PagingStoreImpl.java:147)
[hornetq-server-2.3.0.CR1-redhat-1.jar:2.3.0.CR1-redhat-1]
at
org.hornetq.core.paging.impl.PagingStoreFactoryNIO.newStore(PagingStoreFactoryNIO.java:98)
[hornetq-server-2.3.0.CR1-redhat-1.jar:2.3.0.CR1-redhat-1]
at
org.hornetq.core.paging.impl.PagingManagerImpl.newStore(PagingManagerImpl.java:250)
[hornetq-server-2.3.0.CR1-redhat-1.jar:2.3.0.CR1-redhat-1]
{noformat}
The standalone-full.xml configuration overrides the default address-setting's
max-size-bytes (defaults to -1) to set it at 10 MiB.
However, if the admin changes the address-full-policy from BLOCK to PAGE, it will
conflict with the default value for page-size-bytes which is also 10MiB.
To make the overridden standalone-full.xml more consistent, we can override
page-size-bytes and set it to 2MiB (2097152 bytes). This change has no effect when the
address-full-policy remains at BLOCK. When it is changed to PAGE, the resulting
configuration will be coherent and there will be no exception thrown
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira