activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Fernandez <>
Subject Re: Changing activemq-data dir
Date Tue, 19 Jan 2010 04:39:15 GMT

You can use the dataDirectory attribute of the broker element as follows

<broker xmlns=""
brokerName="localhost" dataDirectory="/tmp/foo">

You can also specify the location of the file-based message store via the
persistenceAdapter element. For example  

    <kahaDB directory="${activemq.base}/data/kahadb"/>


Florence.Tan wrote:
> Hi,
> I'd installed activemq 5.3 web console to Tomcat6 running on Linux.  I
> found out that everytime I restart Tomcat6, all the queues in activemq
> will be removed and found that activemq-data directory is created in
> /tmp/tomcat6-tmp directory which will be removed everytime tomcat6 is
> stopped.
> Would like to find out how I can change the activemq-data directory to a
> specified directory ?  
> FYI, this problem do not occured in Windows environment but only in Unix.
> Any help or comments would be appreciated.
> Thanks & Regards,
> Florence

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message