activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kennet Nielsen <>
Subject Setting up the failover protocol with ActiveMQ
Date Fri, 15 Feb 2013 22:06:11 GMT
Hi all

I am trying to configure a network of brokers that use failover.
My setup is.
* ActiveMQ 5.8.0
* Two Ubuntu VM running brokers where I used the
activemq-static-network-broker1.xml and
activemq-static-network-broker2.xml configuration files.
   I modified the second cfg file with IP of first VM. These two
connect without problems.
* On my Windows 7 PC I want to setup a topic-publisher that uses the
failover protocol.
I started by trying to start a broker that connects with the failover
protocol to both of the VM's.
I used the activemq.xml configuration file and added
When I run "bin\activemq" on the Win7 PC I get an exception:

ERROR | Failed to load: class path resource [activemq.xml], reason:
Error creating bean with name 'org.apache.
activemq.xbean.XBeanBrokerService#0' defined in class path resource
[activemq.xml]: Cannot create inner bean '
networkConnector#354749' of type
[] while setting
bean pr
operty 'networkConnectors' with key [0]; nested exception is
eption: Error creating bean with name 'networkConnector#354749'
defined in class path resource [activemq.xml]:
 Error setting property values; nested exception is
org.springframework.beans.PropertyBatchUpdateException; ne
sted PropertyAccessExceptions (1) are:
PropertyAccessException 1:
org.springframework.beans.MethodInvocationException: Property 'uri'
threw exception
; nested exception is DiscoveryAgent scheme NOT
recognized: [failover]

Thanks for your help.

/ Kennet

View raw message