SE Linux causing problems

2013-05-30 Thread Sean Beck
I sent out an email earlier and didn't really get any feedback. However I did manage to "solve" the problem by putting selinux in permissive mode. I would like to keep selinux in enforce mode though, and I was curious as to any suggestions on what policies I need to create or what ports I need to "

Re: Activemq 5.9 leveldb replication issue

2013-05-30 Thread Hiram Chirino
If you got a 'DB recovered from failure.' message, then it should have been preceded with an 'DB operation failed. (entering recovery mode)' message. Could you post that message? On Tue, May 28, 2013 at 1:47 PM, heimdull wrote: > I started testing this on a setup where I manually generate messag

Re: Unbrowsable ghost message using ActiveMQ running LevelDB and Camel.

2013-05-30 Thread Hiram Chirino
FYI.. The last couple of weeks I've fixed several bugs including one which caused this 'ghost' message issue. If you can, update to ActiveMQ 5.9 SNAPSHOT and verify that this version fixes it for ya. On Tue, Nov 13, 2012 at 11:33 AM, patrik wrote: > Hi! > > We have experienced some problems with

Re: org.apache.activemq.leveldb.LevelDBClient java.lang.NullPointerException

2013-05-30 Thread Hiram Chirino
Hi Andi, We've found several bugs in the the leveldb store implementation since that release. My recommendation would be to test to see if you can reproduce against the 5.9 SNAPSHOT. On Wed, Mar 20, 2013 at 9:18 AM, Andi Chirita wrote: > Hi Guys, > > I encountered this error on ActiveMQ start.l

Re: Connection to message broker hanging

2013-05-30 Thread Sean Beck
I ran "setenforce 0" and all the problems disappeared. Why would disabling SE Linux fix this? On Thu, May 30, 2013 at 8:00 AM, Sean Beck wrote: > I am using fusemq, the C wrapper for ActiveMQ-CPP. > > The problem is I am using the broker with an Apache server module. It is > supposed to send a

Re: Topic existence for a specific time

2013-05-30 Thread Christian Posta
Check this out: http://activemq.apache.org/subscription-recovery-policy.html On Thu, May 30, 2013 at 11:25 AM, Suat Gonul wrote: > Hi everybody, > > Sorry in advance, if it is a very trivial problem. I am rather new to > ActiveMQ. > > What I would like to have a topic which will store the mess

Re: How do I run activemq with STOMP? Why is derby not found?

2013-05-30 Thread Christian Posta
yah, you can check the activemq script to see how it resolves the env variables... you can check the code here which shows how it further tries to resolve them: http://svn.apache.org/viewvc/activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/Main.java?view=markup On Thu,

Re: How do I run activemq with STOMP? Why is derby not found?

2013-05-30 Thread Paul Gale
One way to see is to start ActiveMQ in console mode: ./bin/activemq console and read the debug output that appears on the screen. Thanks, Paul On Thu, May 30, 2013 at 2:54 PM, Sam Roberts wrote: > On Wed, May 29, 2013 at 7:47 PM, Christian Posta > wrote: > > Yah, you can set environment var

Re: How do I run activemq with STOMP? Why is derby not found?

2013-05-30 Thread Sam Roberts
On Wed, May 29, 2013 at 7:47 PM, Christian Posta wrote: > Yah, you can set environment variables... > > ACTIVEMQ_HOME -- the root dir for your install > ACTIVEMQ_BASE -- the root dir for your current broker, usually the same as > ACTIVEMQ_HOME > ACTIVEMQ_CONF -- the dir to use for configuration

Topic existence for a specific time

2013-05-30 Thread Suat Gonul
Hi everybody, Sorry in advance, if it is a very trivial problem. I am rather new to ActiveMQ. What I would like to have a topic which will store the messages for a specific time period e.g half an hour. Any new subscriber should obtain the messages that were stored since the initialization of the

Can PurgeInactiveDestination cause ActiveMQ to periodically hang

2013-05-30 Thread Tlholoe, Peter
Good Day, After reading through the ThreadDump (I am hoping I read the dump correctly), I saw the following regarding (PurgeInactiveDestination) SchedulerTimerTask calls BrokerService that calls purgeInactiveDestinations, but a lock is already acquired by addConsumer method (causing indefinite

Re: 5.8.0 Management UI Death

2013-05-30 Thread Dejan Bosanac
Hi Neil, there's been reports of queue browsing problems in 5.8.0, like AMQ-4372. We'll try to investigate and fix it in coming days. It's best to watch that Jira to get updates on the issue. Regards -- Dejan Bosanac -- Red Hat, Inc. FuseSource is now part of Red Hat dbosa...@

Re: Connection to message broker hanging

2013-05-30 Thread Sean Beck
I am using fusemq, the C wrapper for ActiveMQ-CPP. The problem is I am using the broker with an Apache server module. It is supposed to send a message to the broker so another program can consume it. I have a script that tests all of this and I have logging in my module that tells me if the messag

RE: Re:Thread gets BLOCKED on ActiveMQ

2013-05-30 Thread Tlholoe, Peter
Hi Suo, We currently don't have disabled, the only thing that we disable on destination policy was the producer control flow (set to false). I will look at that. -Original Message- From: SuoNayi [mailto:suonayi2...@163.com] Sent: 30 May 2013 11:32 AM To: users@activemq.apache.org Subject

Re:Thread gets BLOCKED on ActiveMQ

2013-05-30 Thread SuoNayi
Can you disabled the auto removal of the inactive destination feature? seems deadlock is present... At 2013-05-30 17:26:00,"Tlholoe, Peter" wrote: >Good Day, > >We currently have a problem with our ActiveMQ periodically hanging in PROD, >and I did take a thread dumps for a period of 10 minute

Thread gets BLOCKED on ActiveMQ

2013-05-30 Thread Tlholoe, Peter
Good Day, We currently have a problem with our ActiveMQ periodically hanging in PROD, and I did take a thread dumps for a period of 10 minutes, and there are a couple of threads that are getting blocked. Please see below all the threads that are blocked. Can you please help ascertain what migh

Thread gets BLOCKED on ActiveMQ

2013-05-30 Thread Tlholoe, Peter
Good Day, We currently have a problem with our ActiveMQ periodically hanging in PROD, and I did take a thread dumps for a period of 10 minutes, and there are a couple of threads that are getting blocked. Please see below all the threads that are blocked. Can you please help ascertain what migh