you shouldn't use both xml config and server url. Just one is enough. brokerxmlconfig is a activemq xml or properties config file path not an uri.
you can redirect your question to activemq mailing too - Romain 2011/11/4 seb55555 <[email protected]> > I tried with > BrokerXmlConfig = > broker:(tcp://localhost:61616)?useJmx=false > ServerUrl = > vm://localhost?broker.persistent=true&async=true > DataSource My Unmanaged DataSource > > But this doesn't seem to work (no activemq-data file created) > > Then i tried with > BrokerXmlConfig = broker:(tcp://0.0.0.0:61616)?useJmx=false > ServerUrl = vm:// > 0.0.0.0?broker.persistent=true&async=true > DataSource = My Unmanaged DataSource > > It create activemq-data (kahadb) dir. > But : > 1- Message are not reveive by subscriber anymore > 2- It doesn't use the datasource "My Unmanaged DataSource" but kahadb > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Activate-JMS-persistence-on-TomEE-tp3990276p3990713.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
