Re: KahaDb journal file are not getting recycled and "Total Message Count" is negative

2015-09-23 Thread Tim Bain
What about the subscribers on your topics? (Does anyone subscribe directly to the topic, or is consumption purely from the queues on the virtual topics?) And are any selectors in use for any client? I'm curious whether the KahaDB files are cleaned up 1) following a broker restart, and 2) if you

Re: Consumers from SLAVE

2015-09-23 Thread Tim Bain
In a master/slave cluster, only one broker is active at a time; otherwise you have a network of brokers, not master/slave. Does that describe your intended configuration? If so, what you're seeing indicates that both brokers are active simultaneously. Try to confirm that by hitting both brokers'

Re: Garbage collecter out of memory

2015-09-23 Thread Tim Bain
Excellent, sounds like a valuable learning experience, which is one of the things that internships are all about. On Sep 23, 2015 2:20 PM, "mhempleman" wrote: > Thanks for your help Tim. It was the application heap size. I upped it to > 2G and the errors disappeared. I think I didn't see the e

Re: ActiveMQ 5.12.0 and SQL Server Persistence

2015-09-23 Thread mtod
Fixed added -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-5-12-0-and-SQL-Server-Persistence-tp4702242p4702249.html Sent from the ActiveMQ - User

Re: KahaDb journal file are not getting recycled and "Total Message Count" is negative

2015-09-23 Thread fmansoor
Yes, all the queues are empty, enqueue and dequeue counts were off for a couple of queues, probably, because I purged them. I am running 5.11.1, all the queues are consuming messages from virtual topics and advisory messages are disabled. -- View this message in context: http://activemq.22833

Re: Garbage collecter out of memory

2015-09-23 Thread mhempleman
Thanks for your help Tim. It was the application heap size. I upped it to 2G and the errors disappeared. I think I didn't see the errors with HornetQ because I tested on a day whey we had very little data to process. I feel like an idiot for taking two days to figure it out, but I did learn a lo

ActiveMQ 5.12.0 and SQL Server Persistence

2015-09-23 Thread mtod
I have ActiveMQ 5.12 using Persistence on SQL Server in my development environment. I need to setup a staging environment but I keep getting this error. Note: >ActiveMQ 5.12.0 >MS JDBC 4.1 >OS Windows 2012 R2 2015-09-23 15:56:49,354 | INFO | Using Persistence Adapter: JDBCPersistenceAdapter(org

Re: Advisory Topic

2015-09-23 Thread Daniel Israel
Thanks for the update Tim. I have a scheduled update to 5.11.1. Supposed to go to production this week. Once there, as you've advised, we'll be in a better place to diagnose the problem. Thanks. On 9/23/15, 6:13 AM, "tbai...@gmail.com on behalf of Tim Bain" wrote: >That's definitely pos

Consumers from SLAVE

2015-09-23 Thread Venkatesh Laguduva
We have two servers where we have two Master(M1, M2)/Slave(S1,S2) setups - M1 is bridged with S2 and M2 with S1; we have also grouped using the multicast protocol; issue here is that in some cases for certain queue, I am setting consumers from the slave to master. is this normal? -- View this me

Re: Prefetch, message consumer async listener and message grouping, transactions & clustering - how does it work?

2015-09-23 Thread sburczymucha
Hmmm, I think I got it ;) Thanks for clarification! Best Regards, -- View this message in context: http://activemq.2283324.n4.nabble.com/Prefetch-message-consumer-async-listener-and-message-grouping-transactions-clustering-how-does-it-wo-tp4702096p4702231.html Sent from the ActiveMQ - User mai

Re: Using Standalone ActiveMQ with Wildfly

2015-09-23 Thread Tim Bain
Sorry, not all, only the AMQ-AMQW ones. The AMQ1-AMQ2 connection is already connected in both directions. On Sep 23, 2015 8:31 AM, "Tim Bain" wrote: > Try your original configuration with duplex="true" on all > networkConnectors. > On Sep 23, 2015 8:15 AM, "atchijov" wrote: > >> Hi Tim, >> So

Re: Using Standalone ActiveMQ with Wildfly

2015-09-23 Thread Tim Bain
Try your original configuration with duplex="true" on all networkConnectors. On Sep 23, 2015 8:15 AM, "atchijov" wrote: > Hi Tim, > Sorry for not been clear enough. > > AMQ1 has IP 10.0.1.53 and its configuration points to 10.0.1.200:61616 > AMQ2 has IP 10.0.1.200 and its configuration poin

Re: Using Standalone ActiveMQ with Wildfly

2015-09-23 Thread atchijov
Hi Tim, Sorry for not been clear enough. AMQ1 has IP 10.0.1.53 and its configuration points to 10.0.1.200:61616 AMQ2 has IP 10.0.1.200 and its configuration points to 10.0.1.53:61616 The idea is to keep at least one of these two alive at all times... and if one of them goes down, it woul

Re: Using Standalone ActiveMQ with Wildfly

2015-09-23 Thread Tim Bain
I'm having trouble figuring out why AMQ1 and AMQW1 both have a networkConnector that points to the same endpoint. Can you explain how 10.0.1.53:61616 and 10.0.1.200:61616 map to AMQ1/AMQ2/AMQW1/AMQW2? Tim On Sun, Sep 13, 2015 at 6:56 PM, atchijov wrote: > I am trying to make ActiveMQ 5.12 and

Re: ActiveMQ exits on startup with UTFDataFormatException: bad string

2015-09-23 Thread Tim Bain
I was hoping that one of the devs (Gary, Tim, Art, etc.) would jump into this discussion, but since they didn't, please submit a JIRA bug to bring this issue to their attention. If the problem is that the OpenWire versions aren't backwards-compatible, that's either a bug (I was under the impressio

Re: Garbage collecter out of memory

2015-09-23 Thread Tim Bain
Your efforts are focused on the wrong JVM. The broker's fine, and your webapp is not, as shown by the two screenshots you shared. On the broker side, what you're showing looks like perfectly normal JVM garbage collection, though it looks like Young Gen is only 3/8ths of the full heap, which is lo

Re: Advisory Topic

2015-09-23 Thread Tim Bain
That's definitely possible, if either selectors are in use or the messages were all sent before any consumer subscribed. EnqueueCount and DequeueCount aren't very useful for topics; instead, you need to check the EnqueueCount and DequeueCount on each individual subscription on the topic, and for t

Re: KahaDb journal file are not getting recycled and "Total Message Count" is negative

2015-09-23 Thread Tim Bain
That can happen if you have topics whose consumers don't consume all the messages, either due to selectors or due to consumers being offline when messages are published. (Do you have topics? And are advisory messages enabled?) If neither of those are the case, there are probably unconsumed messa