Bug 920980

Summary: Warnings in console during shutdown - pageSize for address hornetq.notifications >= maxSize. Normally pageSize should be significantly smaller...
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Miroslav Novak <mnovak>
Component: JMSAssignee: Jeff Mesnil <jmesnil>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: brian.stansberry, csuconic, istudens, jmesnil
Target Milestone: ER1   
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 16:14:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Miroslav Novak 2013-03-13 08:53:10 UTC
Description of problem:
When HornetQ address-full-policy is switched from BLOCK to PAGE then following exception os thrown to log during shutdown. Is it possible to decrease default value page-size-bytes so this exception won't occur.


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]
        at org.hornetq.core.paging.impl.PagingManagerImpl.getPageStore(PagingManagerImpl.java:143) [hornetq-server-2.3.0.CR1-redhat-1.jar:2.3.0.CR1-redhat-1]
        at org.hornetq.core.postoffice.impl.PostOfficeImpl.setPagingStore(PostOfficeImpl.java:932) [hornetq-server-2.3.0.CR1-redhat-1.jar:2.3.0.CR1-redhat-1]
        at org.hornetq.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:611) [hornetq-server-2.3.0.CR1-redhat-1.jar:2.3.0.CR1-redhat-1]
        at org.hornetq.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:595) [hornetq-server-2.3.0.CR1-redhat-1.jar:2.3.0.CR1-redhat-1]
        at org.hornetq.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:582) [hornetq-server-2.3.0.CR1-redhat-1.jar:2.3.0.CR1-redhat-1]
        at org.hornetq.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:577) [hornetq-server-2.3.0.CR1-redhat-1.jar:2.3.0.CR1-redhat-1]
        at org.hornetq.core.server.management.impl.ManagementServiceImpl.sendNotification(ManagementServiceImpl.java:731) [hornetq-server-2.3.0.CR1-redhat-1.jar:2.3.0.CR1-redhat-1]
        at org.hornetq.core.server.cluster.impl.BroadcastGroupImpl.stop(BroadcastGroupImpl.java:153) [hornetq-server-2.3.0.CR1-redhat-1.jar:2.3.0.CR1-redhat-1]
        at org.hornetq.core.server.cluster.ClusterManager.stop(ClusterManager.java:279) [hornetq-server-2.3.0.CR1-redhat-1.jar:2.3.0.CR1-redhat-1]
        at org.hornetq.core.server.impl.HornetQServerImpl.stopComponent(HornetQServerImpl.java:741) [hornetq-server-2.3.0.CR1-redhat-1.jar:2.3.0.CR1-redhat-1]
        at org.hornetq.core.server.impl.HornetQServerImpl.stop(HornetQServerImpl.java:576) [hornetq-server-2.3.0.CR1-redhat-1.jar:2.3.0.CR1-redhat-1]
        at org.hornetq.core.server.impl.HornetQServerImpl.stop(HornetQServerImpl.java:532) [hornetq-server-2.3.0.CR1-redhat-1.jar:2.3.0.CR1-redhat-1]
        at org.hornetq.core.server.impl.HornetQServerImpl.stop(HornetQServerImpl.java:499) [hornetq-server-2.3.0.CR1-redhat-1.jar:2.3.0.CR1-redhat-1]
        at org.hornetq.jms.server.impl.JMSServerManagerImpl.stop(JMSServerManagerImpl.java:485) [hornetq-jms-server-2.3.0.CR1-redhat-1.jar:2.3.0.CR1-redhat-1]
        at org.jboss.as.messaging.jms.JMSService.stop(JMSService.java:105) [jboss-as-messaging-7.2.0.Final-redhat-2.jar:7.2.0.Final-redhat-2]
        at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:1911) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
        at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:1874) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_15]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_15]
        at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_15]

09:48:05,250 ERROR [org.jboss.messaging] (MSC service thread 1-3) JBAS011602: Exception while stopping JMS server: 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]
        at org.hornetq.core.paging.impl.PagingManagerImpl.getPageStore(PagingManagerImpl.java:143) [hornetq-server-2.3.0.CR1-redhat-1.jar:2.3.0.CR1-redhat-1]
        at org.hornetq.core.postoffice.impl.PostOfficeImpl.setPagingStore(PostOfficeImpl.java:932) [hornetq-server-2.3.0.CR1-redhat-1.jar:2.3.0.CR1-redhat-1]
        at org.hornetq.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:611) [hornetq-server-2.3.0.CR1-redhat-1.jar:2.3.0.CR1-redhat-1]

Comment 1 Clebert Suconic 2013-05-17 21:19:37 UTC
This is just a default configuration change. I even thought Jeff had done it.. so I'm asking Jeff to take a look on it please

Comment 2 Jeff Mesnil 2013-05-23 09:04:24 UTC
PR for master branch https://github.com/wildfly/wildfly/pull/4543

Comment 3 JBoss JIRA Server 2013-05-24 08:06:28 UTC
Jeff Mesnil <jmesnil> made a comment on jira WFLY-1385

PR merged in master branch

Comment 4 Ivo Studensky 2013-08-29 13:59:56 UTC
Is there any plan to fix this in EAP?

Comment 5 Miroslav Novak 2013-08-29 14:14:41 UTC
This is not fixed in EAP 6.1.1.ER7 (HQ 2.3.5.Final). 

@Jeff 
Could you check whether your PR got to "eap" branch, please?

Comment 6 Clebert Suconic 2013-08-30 14:18:44 UTC
Jeff is in vacations so I went to look at it.

@Miro: you're right.. this wasn't back ported...


I just sent the PR: https://github.com/jbossas/jboss-eap/pull/328

meaning it will be on the next version as soon as it's merged.

Comment 7 Clebert Suconic 2013-08-31 00:53:16 UTC
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?

Comment 8 Miroslav Novak 2013-09-02 09:45:59 UTC
I've set the correct status per doc: https://docspace.corp.redhat.com/docs/DOC-154066

It's good to check to it.

Comment 9 Ivo Studensky 2013-09-02 09:54:22 UTC
It has not been merged yet, thus changing it to POST.

Comment 10 Miroslav Novak 2013-09-20 12:03:24 UTC
I can't hit this issue with EAP 6.2.0.ER1. Setting as verified.