queuePurge call purges all messages except 1

2009-10-08 Thread ft420
Hi Client running on windows, broker on Linux sequence of statements: 1. writing n messages to the queue. 2. getMessageCount on the queue. 3. call to queuePurge 4. getMessageCount on the queue. In above case step 4 returns 0 but on linux when i check the queue status with python command ./qpid-too

Re: failed to link with libuuid.a

2009-10-08 Thread mARK bLOORE
Replacing -luuid with /lib/libuuid.so.1 got me much farther. Now I'm stopped at /home/mark/misc-code/qpidc-0.5/src/.libs/libqpidcommon.so: undefined reference to `uuid_unparse' /home/mark/misc-code/qpidc-0.5/src/.libs/libqpidcommon.so: undefined reference to `uuid_parse' ./.libs/libqpidbroker.so:

Re: failed to link with libuuid.a

2009-10-08 Thread Alan Conway
On 10/08/2009 02:06 PM, mARK bLOORE wrote: I haven't managed to get a link against libuuid.so. My system has both /lib/libuuid.so.1 and /usr/lib/libuuid.a. The make file just refers to -luuid. I tried adding -L/lib before that, but library path resolution is a mystery to me. My system only ha

Re: failed to link with libuuid.a

2009-10-08 Thread mARK bLOORE
I haven't managed to get a link against libuuid.so. My system has both /lib/libuuid.so.1 and /usr/lib/libuuid.a. The make file just refers to -luuid. I tried adding -L/lib before that, but library path resolution is a mystery to me. On Thu, Oct 8, 2009 at 1:45 PM, mARK bLOORE wrote: > configu

Re: failed to link with libuuid.a

2009-10-08 Thread mARK bLOORE
configure wrote the makefile, but I'll try changing it. Thanks for the idea. Has anyone seen this error before? On Thu, Oct 8, 2009 at 1:17 PM, Alan Conway wrote: > On 10/08/2009 12:25 PM, mARK bLOORE wrote: >> >> In trying to build the C++ broker on Linux 8.04, the link step gives me >> >> /u

Re: failed to link with libuuid.a

2009-10-08 Thread Alan Conway
On 10/08/2009 12:25 PM, mARK bLOORE wrote: In trying to build the C++ broker on Linux 8.04, the link step gives me /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../../lib/libuuid.a(clear.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; re

failed to link with libuuid.a

2009-10-08 Thread mARK bLOORE
In trying to build the C++ broker on Linux 8.04, the link step gives me /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../../lib/libuuid.a(clear.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC Is there something wrong

Re: use qmf to build a cluster monitoring system

2009-10-08 Thread Carl Trieloff
yes, they are all cross compat. The C++ examples are in the example dirs, look for qmf-* there is a console and agent example. Here is a example of a basic system agent written in C++ with QMF. http://anonsvn.jboss.org/repos/rhmessaging/mgmt/trunk/sesame/cpp There is a virt qmf agent at lib

Re: use qmf to build a cluster monitoring system

2009-10-08 Thread Ming Zhang
will be great if you or someone could put these doc on wiki. i can read c++ no problem. but after trying python, i think it is a better one... again, a c++ agent example should be able to consumed by python console in a general way right? that is the whole point of amqp... ;) Ming On Thu, Oc

Re: use qmf to build a cluster monitoring system

2009-10-08 Thread Carl Trieloff
:-) yea more doc need to be put up on the wiki... I have a full C++ example (I'm not a python guy) so I want to make sure I send you the right thing for a python console application. Ming Zhang wrote: i read both of them. also followed the example step by step. this is why i thought it sh

Re: use qmf to build a cluster monitoring system

2009-10-08 Thread Ming Zhang
i read both of them. also followed the example step by step. this is why i thought it should perfectly fit my needs. the second one still lack "Discovering what Kinds of Objects are Available", the first one has nothing under "How to Write a QMF Agent". these are as if i watched half part of the

Re: use qmf to build a cluster monitoring system

2009-10-08 Thread Carl Trieloff
That is a great use case for QMF, have you looked at these two pages on QMF. http://qpid.apache.org/qpid-management-framework.html http://qpid.apache.org/qmf-python-console-tutorial.html Also digging up a python console example for you, or hit Ted up from one :-) Carl. Ming Zhang wrote:

Re: use qmf to build a cluster monitoring system

2009-10-08 Thread Ming Zhang
would like to build something like ganglia. but this time in python and using qmf or at least qpid. ganglia packets is very inefficient over WAN. and nagios need to have extra agent. and no messaging mechanism. so once i saw couple line of python can pass message reliably around, i think this is

Re: Maximum number of connections

2009-10-08 Thread Carl Trieloff
ricardlf wrote: Hi all! I would like to know how many connections a qpid broker can accept, does anyone know the number? Thank you very much! For the C++ broker, petty much as many as you can get the OS/hardware to give you. Note that the connection count limit is set with --max-connect

Re: use qmf to build a cluster monitoring system

2009-10-08 Thread Carl Trieloff
To monitor a Qpid cluster, or another application cluster? Carl. Ming Zhang wrote: Hi All Would like to use QMF and qpid to build a cluster monitoring system. Wonder where is a good starting point? There are only a few information about QMF online. Thanks! Ming --

Maximum number of connections

2009-10-08 Thread ricardlf
Hi all! I would like to know how many connections a qpid broker can accept, does anyone know the number? Thank you very much! -- View this message in context: http://n2.nabble.com/Maximum-number-of-connections-tp3786740p3786740.html Sent from the Apache Qpid users mailing list archive at Nabble.