Inconsistency between queue length and queue browsing

2009-06-11 Thread Francois Staes
Hello, I'm facing an inconsistency in the behaviour of ActiveMQ for which I cannot find an easy explanation. The facts: $ ./activemq-admin query -QQueue=provRequests1 DequeueCount = 0 Name = provRequests1 MinEnqueueTime = 259749107 CursorMemoryUsage = 2905853 MaxAuditDepth = 2048 Destination

Serious dispatch issue

2009-06-11 Thread yinghe0101
I already put this in a comment on https://issues.apache.org/activemq/browse/AMQ-2009 which might explain why people experience this issue. I have a simple cause which can cause dispatch problem: 1. setup a network of broker1, broker2, bridged by multicast discovery 2. make a producer send 5 msg

Non blocking embedded broker startup when using jdbc master-slave setup

2009-06-11 Thread raimund.fiedler
Hi, i'm currently trying to set up multiple master-slave-broker as described in http://activemq.apache.org/jdbc-master-slave.html. The current setup consists of a spring-mvc based application deployed in a tomcat 5.5.x with an embedded activemq broker. The broker is configured with some xbeans t

activemq-cpp DLL not loading on Windows XP

2009-06-11 Thread shaldar
Hi - I created a DLL using the activemq-CPP library on my Windows Vista machine (with the Visual C++ 2008 express edition). This DLL loads and works fine on this development machine. But when I try to call it in a Windows XP machine, I get an error 126 : "Cannot load library xxx.dll". Now when

Re: Why do persistent messages exhaust memory and lock out consumers?

2009-06-11 Thread Elliot Barlas
AMQ version 5.2.0 rajdavies wrote: > > which version are you using ? > On 11 Jun 2009, at 01:48, Elliot Barlas wrote: > >> >> Scenario: >> -Minimal AMQ message broker with persistence enabled and default usage >> values of 64 MB memory limit, 10 GB temp store limit, and 100 GB >> persistent

Re: Discovery and NMS

2009-06-11 Thread Timothy Bish
On Wed, 2009-06-10 at 14:21 -0700, Eric Bouer wrote: > Hello Jim > Unfortunately I can't confirm it's working > Using activemq:failover > (discovery:multicast://default,tcp://activemqhost:61616) > I've got : > "Connect fail to 'discovery:multicast://default': Composite connection not > supported

ActiveMQ-CPP and Advisory messages

2009-06-11 Thread Nascent
Scenario: I have a consumer written in C++ that uses ActiveMQ-CPP to communicate with ActiveMQ. It implements a callback interface where a client can request on-change updates for data points. The consumer then does a response message to the original request from the client any time the data poin

Question about using udp for pub/sub transport

2009-06-11 Thread evanw
Hi, I configured the broker and the client to use udp to do the pub/sub transport. However, I keep getting something like these: Jun 11, 2009 10:38:14 AM org.apache.activemq.transport.udp.CommandDatagramChannel sendBuffer WARNING: Request for buffer: 4893 is no longer present Jun 11, 2009 10:38:

Build up of Threads using Multicast Discovery Agent - eventually out of memory

2009-06-11 Thread ee7arh
Hi, I have a problem that my application runs out of memory after a few days. I ran jconsole against it and notice that the threads are building up and up. In the "Threads" section of jconsole, I see that the vast majority of Threads are "Multicast Discovery Agent Notifier" so I think the problem

Re: stomp and binary messages

2009-06-11 Thread Dejan Bosanac
Hi, I don't see the same behavior. Can you take a look at StompTest.testSubscribeWithAutoAckAndBytesMessage() test and create a similar one that exposes a problem you see? http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/stomp/StompTest.java?v