10 Replies Latest reply on Jul 23, 2012 8:40 AM by Andy Taylor

    Address max-size-bytes to page-size-bytes relationship

    mstefa02 Newbie

      Setting the page-size-bytes equal to or greater than max-size-bytes for an address such as shown below

       

      <address-setting match="#">
               <dead-letter-address>jms.queue.DLQ</dead-letter-address>
               <expiry-address>jms.queue.ExpiryQueue</expiry-address>
               <redelivery-delay>0</redelivery-delay>
               <max-delivery-attempts>12</max-delivery-attempts>
               <max-size-bytes>10485760</max-size-bytes>
               <page-size-bytes>10485760</page-size-bytes>
               <message-counter-history-day-limit>10</message-counter-history-day-limit>
               <address-full-policy>PAGE</address-full-policy>
        </address-setting>

       

      results in the following error message on startup:

       

      [main] 11:47:57,297 SEVERE [org.hornetq.integration.bootstrap.HornetQBootstrapServer]  Failed to start server
      java.lang.IllegalStateException: Incompletely deployed:

       

      DEPLOYMENTS IN ERROR:
      Deployment "JMSServerManager" is in error due to: java.lang.IllegalStateException: pageSize for address hornetq.notifications >= maxSize. Normally pageSize should be significantly smaller than maxSize, ms: 10485760 ps 10485760

       

      I would think these two values should have no connection.

       

      Could anyone explain why this relationship exists?

       

      Thanks