RE: Using topics for publishing broker metrics

2015-12-17 Thread Tim Bain
Your assumption is valid, and having both the master and the slave (times N pairs) in the failover URI guarantees that you'll be able to reach a broker no matter who's active. On Dec 17, 2015 7:28 AM, "Basmajian, Raffi" wrote: > Hi Tim, > > We assumed if the broker was a slave it would be unable

Re: ActiveMQ failover Java-level deadlock

2015-12-17 Thread Tim Bain
Make sure you submit a bug in JIRA. Mailing list posts may get ignored and then forgotten without a fix, especially since most recent LevelDB questions get no response. Submitting a bug ensures it doesn't get forgotten. Tim On Dec 17, 2015 2:23 PM, "stephenschaeffer" wrote: > As an addendum, t

Re: ActiveMQ failover Java-level deadlock

2015-12-17 Thread stephenschaeffer
As an addendum, that deadlock occurred only on the 03 node, and once that one node was bounced, traffic is able to flow again. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-failover-Java-level-deadlock-tp4705128p4705134.html Sent from the ActiveMQ - User mailin

ActiveMQ failover Java-level deadlock

2015-12-17 Thread stephenschaeffer
Hi all, We have an environment as follows: ActiveMQ 5.12.0 on 3 nodes using Zookeeper Zookeeper 3.4.6 on the same 3 nodes. Java 1.8 RHEL Server 7.1 We can start up and verify that ActiveMQ failover is working by sending and consuming messages from different machines while taking ActiveMQ

Re: Need help with a message broker configuration

2015-12-17 Thread Shine
Hi, is a Multi kahaDB persistence adapter a good way to get the growing of the KahaDB folder under control? best regards Shine -- View this message in context: http://activemq.2283324.n4.nabble.com/Need-help-with-a-message-broker-configuration-tp4705074p4705138.html Sent from the ActiveMQ - U

Re: Need help with a message broker configuration

2015-12-17 Thread Shine
Here the current configuration ... any suggestion for improvement? How many GB diskspace needs a "normal" kahaDB? http://activemq.apache.org/schema/core"; brokerName="localhost" dataDirectory="${activemq.data}" useJmx="true" schedulePeriodForDestinationPurge="60" >

ActiveMQ - Could not get JDBC connection with SQL Server 2012

2015-12-17 Thread Sparg
I try to replace kahaDB by SQL Server 2012 in ActiveMQ. After of to implement the persistence with "SQL Server 2012" (http://activemq.apache.org/sqlserver.html). I'm find the next problem: - activemq.log (summary) -

ActiveMQ - JDBC persistence MySQL: ACTIVEMQ_MSGS is empty

2015-12-17 Thread Sparg
I'm implement the persistence with MySQL (http://activemq.apache.org/jdbc-support.html). But when I check this table, it's always empty. --- [activemq.log]

Re: Need help with a message broker configuration

2015-12-17 Thread Shine
Hi Tim, For problem #1: there are a lot of unconsumed messages, but each message havs an expiration time (max 2-3 weeks). Over the time the size of the KahaDB folder should be nearly constant. -- View this message in context: http://activemq.2283324.n4.nabble.com/Need-help-with-a-message-broke

Re: NMSXGroupID problem - two different consumers received message for one group

2015-12-17 Thread sburczymucha
Tim Bain wrote > Are all messages being immediately consumed, or is there a backlog of > messages for a given message group when you close the message group? I > would expect the message group to be closed immediately when the message > with NMSXGroupSeg=-1 is sent (not when it is consumed), so if

RE: Using topics for publishing broker metrics

2015-12-17 Thread Basmajian, Raffi
Hi Tim, We assumed if the broker was a slave it would be unable to publish to itself. But you're saying each broker should publish to "failover:(all brokers in cluster)" instead of "tcp://localhost:61616"? -Original Message- From: tbai...@gmail.com [mailto:tbai...@gmail.com] On Behalf

Re: Correctly configuring a network of brokers

2015-12-17 Thread Tim Bain
A queue message exists on only one broker at a time, no matter what. If there is a consumer on broker 2 and A hasn't been excluded, or if your broker 1's networkConnector is configured to statically route A to broker 2, the message will be forwarded. Otherwise, the message will sit on broker 1 ti

Re: NMSXGroupID problem - two different consumers received message for one group

2015-12-17 Thread Tim Bain
Are all messages being immediately consumed, or is there a backlog of messages for a given message group when you close the message group? I would expect the message group to be closed immediately when the message with NMSXGroupSeg=-1 is sent (not when it is consumed), so if there is a backlog I w

Re: Using topics for publishing broker metrics

2015-12-17 Thread Tim Bain
I wouldn't try to make your own advisory topics; just use normal topics as you've proposed. Wouldn't it be simpler to publish to a failover URL containing all the brokers rather than starting an embedded broker whose sole purpose is to publish stats? It seems like your proposed approach adds unne

Re: Need help with a message broker configuration

2015-12-17 Thread Tim Bain
For problem #1, do you have any old but unconsumed messages? KahaDB can't compact its journal files, so a single old message that can't be deleted can cause KahaDB to keep a large number of files. For problem #2, why is that a problem? You haven't said anything that indicates that those advisory

Correctly configuring a network of brokers

2015-12-17 Thread barry.barnett
If I have a NoB (total 2), and queue A is defined on one, it shows up on both as I would expect. If a Producer puts a messages to queue A on one of the brokers, does the message get forwarded over the bridge to 'both queue instances', or does it simply reside on the broker it was put on? I am a

NMSXGroupID problem - two different consumers received message for one group

2015-12-17 Thread sburczymucha
Hello, I have a strange problem with message groups and multiple consumers - I've noticed several cases when message with the same NMSXGroupID was received by two different consumers, I'm not sure if this is my fault or some other edge case. How can I debug this? My setup: 1. Each consumer has o

Re: Configure OCSP CRL Checking

2015-12-17 Thread Dejan Bosanac
Hi, yeah, the windows distro is a bit different. Please, take a look at bin/activemq.bat and see how other system properties are set. OCSP feature is fairly new, tricky to set and not tested much, so there might be some issues with. I have it on my list to harden it and make an example of how to u

Re: Configure OCSP CRL Checking

2015-12-17 Thread Lectrismo
Hey Dejan, I saw, that in the Windows distribution of ActiveMQ isn't any file like you described. I think you meant to look in the LINUX distribution. There is a file "bin/env" like you said. Do you have any experience on Windows distribution of ActiveMQ? I saw that there is a similar file calle

Re: Configure OCSP CRL Checking

2015-12-17 Thread Dejan Bosanac
Hi Lectrismo, take a look at "bin/env” file in your ActiveMQ distribution. There you can set system properties. Please let us know how it works. I started working on an example for this, but never finished it. I hope to get back to that soon. Regards -- Dejan Bosanac about.me/dejanb On Thu, Dec