ActiveMQ rar startup shows WARNING related to BrokerService Store limit is 102400 mb

Solution Unverified - Updated -

Issue

  • While running JBoss instance which has the "activemq-ra.rar" deployed on it. The JBoss shows the following Warning message at the time of startup.
16:12:56,614 WARN  [BrokerService] Store limit is 102400 mb, whilst the data directory: /home/testuser/jboss-eap-5.2/jboss-as/server/TestServer/data/activemq only has 18507 mb of usable space

16:12:56,614 ERROR [BrokerService] Temporary Store limit is 51200 mb, whilst the temporary data directory: /home/testuser/jboss-eap-5.2/jboss-as/bin/activemq-data/TestBroker/tmp_storage only has 18507 mb of usable space
  • How to avoid the above warning messages to appear in JBoss logs ?

  • The "activemq-ra.rar/broker-config.xml" file has the following content in it:

<?xml version="1.0" encoding="UTF-8"?>
<beans
  xmlns="http://www.springframework.org/schema/beans"
  xmlns:amq="http://activemq.apache.org/schema/core"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.springframework.org/schema/beans 
     http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
     http://activemq.apache.org/schema/core 
     http://activemq.apache.org/schema/core/activemq-core.xsd">  
  <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">     
  </bean>
  <broker xmlns="http://activemq.apache.org/schema/core" useJmx="true" useShutdownHook="false" brokerName="TestBroker">
     <managementContext>
       <managementContext createConnector="true"/>
     </managementContext>
    <persistenceAdapter>
       <kahaDB directory="${jboss.server.data.dir}/activemq"/>
     </persistenceAdapter>
    <transportConnectors>
      <transportConnector name="TestBroker" uri="tcp://10.10.10.10:61616" discoveryUri="multicast://default" />
    </transportConnectors>   
  </broker>
</beans>

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.2
  • Red Hat JBoss A-MQ
    • 6.0

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