Pure master slave recovery questions

2011-12-19 Thread nonspecialist
If I have a pure master-slave configuration and the master fails, the recovery is to: - shut down the master (if it's not already dead) - shut down the slave - copy "the contents of the data directory" from the slave to the master - start up the master Question 1: In the data directory, there ar

Re: Pure master/slave duplicates delayed messages

2011-12-19 Thread nonspecialist
Actually, now I'm wondering if I've got the network of brokers toplogy configured wrong too. On mq01.b, I have 25 consumers subscribed to a single queue; looking in the web console on mq01.b, I see the 25 consumers counted against that queue. But looking in the web console on mq01.a, I see 50 cons

Re: Broker Networks and duplicate message delivery

2011-12-19 Thread Gary Tully
the 'forward' bit of store and forward is actually, 'consume and forward', so the message is removed from A and forwarded to B, it only exists in one location at a time. So for a Queue, it will be consumed from A or B but not both. On 15 December 2011 18:47, techbuddy wrote: > Hi, > > As I unders

RE: Web Console Availability and master-slave brokers with shared file system

2011-12-19 Thread costas.sterpis
Thanks for your reply, however it seems that this does not do the trick. It seems that the second broker blocks its jetty server from starting up while waiting for acquiring the lock on the shared file system. -- View this message in context: http://activemq.2283324.n4.nabble.com/Web-Console-

Reply:Compatibility of jdbc store between amq 5.2 and amq 5.5

2011-12-19 Thread SuoNayi
After checking source code,only one column named PRIORITY is involved for support message priority. So adding the column on old tables, ACTIVEMQ_MSGS and ACTIVEMQ_ACKS may work well for upgrading if no marshalling changes with subsequent versions. Hope someone make sure for this,thanks. At 2011-

Re: Obtaining URLs of ActiveMQ instances

2011-12-19 Thread Gary Tully
peek at org.apache.activemq.transport.failover.FailoverTransportFactory#doConnect and the use of org.apache.activemq.util.URISupport#parseComposite and org.apache.activemq.util.URISupport.CompositeData#getComponents a failover url with comma separated transport urls is a composite On 19 December

Re: Obtaining URLs of ActiveMQ instances

2011-12-19 Thread Stevo Slavić
To answer my own question, just checked in code, found org.apache.activemq.util.URISupport utility class (being used by org.apache.activemq.ActiveMQConnectionFactory) which suits my needs. Regards, Stevo. On Mon, Dec 19, 2011 at 2:00 PM, Stevo Slavić wrote: > Hello ActiveMQ community, > > Is th

Obtaining URLs of ActiveMQ instances

2011-12-19 Thread Stevo Slavić
Hello ActiveMQ community, Is there an API in ActiveMQ that can be reused to parse broker URL string and determine URL of each broker? I have clients (producers and consumers) configured to access two master/slave brokers using failover protocol via a property, but would like to get urls of each o

Compatibility of jdbc store between amq 5.2 and amq 5.5

2011-12-19 Thread SuoNayi
Hi, The broker v5.2 of which store is based on oracle has worked for several months. For some reasons I want to upgrade it to the new version 5.5.1. Are there any compatibility issues or some migration instructions I should follow if upgrading?

process abort

2011-12-19 Thread Nishizawa Kenji
Hi. our app suddenly aborted and core file was generated. the result of examining the core by gdb is as follows. (gdb) where #0 0x00e5a410 in __kernel_vsyscall () #1 0x00a0edf0 in raise () from /lib/libc.so.6 #2 0x00a10701 in abort () from /lib/libc.so.6 #3 0x00b693ad in unwind_cleanup () fro