Why is the HornetQ paging directory not getting created in JBoss EAP

Solution Unverified - Updated -

Issue

  • Why is the HornetQ paging directory not getting created in JBoss EAP? I have my queue configured as shown below:

$JBOSS_HOME/server/$PROFILE/deploy/hornetq/hornetq-configuration.xml

      ...
   <address-settings>
      ...
      <address-setting match="jms.queue.exampleQueue">
         <!-- enable paging -->
         <max-size-bytes>10737418240</max-size-bytes>
         <page-size-bytes>20971520</page-size-bytes>
         <address-full-policy>PAGE</address-full-policy>
      </address-setting>
   </address-settings>
   ...

$JBOSS_HOME/server/$PROFILE/deploy/hornetq/hornetq-jms.xml

  <queue name="exampleQueue">
    <entry name="/queue/exampleQueue"/>
  </queue>

setting lower values like following works fine:

      <address-setting match="jms.queue.exampleQueue">
         <!-- enable paging -->
         <max-size-bytes>500</max-size-bytes>
         <page-size-bytes>25</page-size-bytes>
         <address-full-policy>PAGE</address-full-policy>
      </address-setting>
   </address-settings>

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.1.2
    • 5.2
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content