activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Javier Leyba" <>
Subject Re: dataDirectory attrib isn't respected?
Date Tue, 09 May 2006 12:59:22 GMT
Well, another problem I'm having from a loooong time without solutions.

I've exactly the same problem and let me add to you message that it
happens even if you start embeded brokers.

I´m starting my brokers from a JBoss mbean service using a xbean file
config where I point my data directory to an outside JBoss directory.
Nevertheless, I discovered that, after start JBoss I've a new
activemq-data directory inside jboss/bin directory.

Please, let me know if you found a solution.


On 5/9/06, Paul Tomsic <> wrote:
> my startup xbeans file has an attribute for
> dataDirectory on the broker line, but when i start up
> activemq it not only makes me the directory i ask for,
> but it also makes a "activemq-data" directory where
> ever i started up activemq.   this doesn't seem right,
> so i attached a debugger to the code src, and it seems
> like it's starting two brokers within one vm.  the one
> that i asked it for and an additional one.
> my startup script is quite simple, it's actually
> identical to the "multicast-broker1.xml" demo except i
> add dataDirectory attribs.
> how do i get it to respect my dataDirectory, and
> additionally, how do i prevent the startup of this
> additional vm://null broker?
> thanks
> here's my startup script:
> <?xml version="1.0" encoding="UTF-8"?>
> <beans xmlns:amq="">
>     <amq:broker brokerName="a03"
> dataDirectory="/tmp/mbus/03/A/journal"
> persistent="false" useShutdownHook="false"
> useJmx="false">
>         <amq:transportConnectors>
>             <amq:transportConnector
> uri="tcp://localhost:0"
> discoveryUri="multicast://default"/>
>         </amq:transportConnectors>
>         <amq:networkConnectors>
>                 <amq:networkConnector
> uri="multicast://default"/>
>         </amq:networkConnectors>
>         <amq:persistenceAdapter>
>                 <amq:memoryPersistenceAdapter/>
>         </amq:persistenceAdapter>
>     </amq:broker>
> </beans>

Javier Leyba
Barcelona - Spain

View raw message