Re: ActiveMq consumer intermittently hanging after reconnect

2014-08-07 Thread Gary Tully
Please raise a jira issue to track this. we may need to track pull requests or it could be some sort of race. In any event it is a bug. On 7 Aug 2014 01:09, wayn23 wayne.ir...@gwl.ca wrote: I have run into an intermittent problem with ActiveMQ V5.9.0. The intermittent was tracked down to being

Switching from master-slave to netowork of brokers

2014-08-07 Thread khandelwalanuj
Hi, I am currently using master-slave broker topology in which I run two broker: one as master and other as slave. I am switching to 'network of brokers' to handle load and make the setup more scalable. I am reading all the required documentation for this. But just has couple of question: Does

Re: ActiveMq consumer intermittently hanging after reconnect

2014-08-07 Thread wayn23
I have opened JIRA AMQ-5313 Thanks -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMq-consumer-intermittently-hanging-after-reconnect-tp4684226p4684258.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMq consumer intermittently hanging after reconnect

2014-08-07 Thread artnaseef
That does sound like a race condition based on the description provided. It also sounds like you have almost solved it - if you can finish tracking it down and provide a patch, that would be most welcome. Good work! -- View this message in context:

JMSConnector.stop()

2014-08-07 Thread pminearo
I filed a bug awhile ago and it did get fixed. (https://issues.apache.org/jira/browse/AMQ-5262) However, after looking through the code for a current problem; I noticed something interesting. The JMSConnector will try to shutdown the Connections first, then shutdown the DestinationBridges.

Re: JMS to JMS Bridge Connection

2014-08-07 Thread pminearo
I noticed there is another Topic in the forums that sounds similar to our issue. http://activemq.2283324.n4.nabble.com/ActiveMq-consumer-intermittently-hanging-after-reconnect-td4684226.html Could we be experiencing the same problem. The JMS Bridge basically creates a Consumer and Producer.

Re: JMS to JMS Bridge Connection

2014-08-07 Thread artnaseef
It's possible. Although, I didn't see any prefetch=0 use in your configs (could be I didn't look hard enough since I didn't suspect it). Prefetch=0 uses different code paths for delivery of messages to clients - clients must poll the server, and the server synchronously returns a message, with

Re: JMS to JMS Bridge Connection

2014-08-07 Thread pminearo
There are 3 scenarios where ActiveMQ behaved as designed: 1. Outbound Bridge disabled. This always worked. 2. With Outbound Bridge enabled, it intermittently worked for specific embedded brokers and not for others, then it would flip on us. Same configs an all. 3. With Outbound Bridge enabled,

Deadlock with ActiveMQ 5.6

2014-08-07 Thread pollotek
Hi, I'm been having random problems with my ActiveMQ for a while now. I have this architecture: Producers with embedded broker --- network of non-persistent brokers --- consumers I'm using ActiveMQ 5.6 with KahaDB. The producers and consumers run inside Tomcat 6 with Java 7. I poll stats from