activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: [VOTE RESULT] Failover problem with ConsumerTool and JDBC Master-SLAVE
Date Mon, 05 Mar 2007 16:18:32 GMT
On 3/5/07, Matías Cobiella <matiascobiella@yahoo.com> wrote:
>
> Please let me know if you need something else or if you want me to do any
> further testing. I want to collaborate.
>
>
> >>>>>I wouldn't have thought so. I wonder, which version of MySQL are
you
> >>>>>using - am wondering if the Master/Slave stuff isn't completely
> >>>>>working.
>
> I'm using MySQL 5.0.24a
>
>
> >>>>>e.g. does the log of the brokers show what you think is
> >>>>>happening.
>
> The activemq.log of both brokers are emtpy. The console of the SLAVE when it
> becomes MASTER is clean as show below:
>
> ACTIVEMQ_HOME: C:\activemq-SLAVE\bin\..
> ACTIVEMQ_BASE: C:\activemq-SLAVE\bin\..
> Loading message broker from: xbean:activemq.xml
> INFO  BrokerService                  - Using Persistence Adapter:
> JDBCPersistenceAdaptor(org.apache.commons.dbcp.BasicDataSource@bb0d0d)
> INFO  BrokerService                  - ActiveMQ null JMS Message Broker
> (SLAVE) is starting
> INFO  BrokerService                  - For help or more information please
> see: http://incubator.apache.org/activemq/
> INFO  ManagementContext              - JMX consoles can connect to
> service:jmx:rmi:///jndi/rmi://localhost:12980/jmxrmi
> INFO  JDBCPersistenceAdapter         - Database driver recognized:
> [mysql-ab_jdbc_driver]
> INFO  DefaultDatabaseLocker          - Attempting to acquire the exclusive
> lock to become the Master broker
> INFO  DefaultDatabaseLocker          - Becoming the master on dataSource:
> org.apache.commons.dbcp.BasicDataSource@bb0d0d

Just to be completely sure - the above "Becoming the master" line in
the log of the slave only appears when the master fails right?


-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message