tags:

views:

221

answers:

4

Hello,

We have been using ActiveMQ 5.2 in our distributed enterprise application for about 3 months. During that time, we have experienced debilitating failures at least twice weekly. In particular, we see:

1) Topic publisher has its connection arbitrarily closed and experiences EOF on attempt to publish. Note well that this issue is not a function of some timeout. It does not correlate reliably with any inactivity.

2) Queue listeners never receive message. Message simply sits on Queue.

2) is much rarer (hardly ever) than 1). In both cases, the failures are highly intermittent-- they cannot be reliably reproduced through any testing usage pattern. Also, there are no errors or warning in the AMQ logs.

Have others experienced similar problems? Is there an opinion that some other JMS provider is more reliable?

thanks,

Joe

+1  A: 

Can't speak much about ActiveMQ, but at Big Investment Bank where I worked previously, Apache QPID was considered solid enough to standardise on:

http://qpid.apache.org/

I really liked it: it was liked the "Tomcat of MQ", very easy to work with, lightweight, low config overhead.

Brian
A: 

ActiveMQ uses Log4j for its logging activity. I'd recommend at least as a start to turn on all of the logging that you can to see if you can determine where the problem is. We use ActiveMQ ourselves but we embed the broker directly in one of the applications.

ActiveMQ has lots of little flags and configuration items that we ended up digging through the code to figure out.

Jay R.
A: 

Hi Joe,

as an ActiveMQ developer I can confirm that it is reliable and used by many enterprise-sized organizations.

However, if not configured and used correctly you can experience problems you described.

I'd suggest that you try to isolate your issues and try to get help on a "very active" user forum - http://activemq.apache.org/discussion-forums.html

Cheers

Dejan Bosanac
I'm sorry but i have to disagree on this. The documentation is slow to follow releases and some configuration parts are not to be found at all ( unless you want to crawl through the dev forums looking for something that comes close to what you are looking for)Next to this, i have several questions open in the forums which never got answered ( and yes: The questions are polite and i am an active participant of the forums)This being said: ActiveMQ is reliable if you know what you are doing. Stress test you config before going in production and are left in tears..
Noctris
oh.. and i Forgot: The user forums you are promoting here have been down for at least 2 weeks. The development forums are up though.
Noctris
I have to question your definition of reliablility. If the technology can't detect and report configuration issues that cause queues to be stall then it isn't reliable.
Jonathan Allen
+1  A: 

You might be having problems with how your flow control is configured. I had similar problem that I blogged about recently.

dragisak