Try adding this to your Resource declaration:

Datasource =

Related to this:
https://issues.apache.org/jira/browse/TOMEE-474



On Wed, Oct 24, 2012 at 11:00 AM, Christian Posta <christian.po...@gmail.com
> wrote:

> Are you able to reliably get it to work without the ServerUrl param?
> I am getting some race-like behavior with TomEE 1.5+ and the Resource
> Adapter... still digging
>
>
> On Wed, Oct 24, 2012 at 5:57 AM, cristisor <cristisor...@yahoo.com> wrote:
>
>> Hi,
>>
>> I managed to reproduce the problem again and it's related to the
>> "ServerUrl"
>> parameter from ActiveMQResourceAdapter. This version works:
>>         <Resource id="JMSAdapter" type="ActiveMQResourceAdapter">
>>
>> BrokerXmlConfig=broker:(tcp://localhost:61616)?persistent=false
>>         </Resource>
>> and this doesn't:
>>         <Resource id="JMSAdapter" type="ActiveMQResourceAdapter">
>>
>> BrokerXmlConfig=broker:(tcp://localhost:61616)?persistent=false
>>                 ServerUrl = tcp://localhost:61616
>>         </Resource>
>>
>> Any ideeas why, since the default value for ServerUrl is
>> "tcp://localhost:61616"?
>>
>>
>>
>> --
>> View this message in context:
>> http://activemq.2283324.n4.nabble.com/Web-console-Exception-No-broker-is-found-at-any-of-the-1-configured-urls-tp4657842p4658160.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>
>
>
> --
> *Christian Posta*
> http://www.christianposta.com/blog
>
>


-- 
*Christian Posta*
http://www.christianposta.com/blog

Reply via email to