dynamic expand schema

2009-10-09 Thread Ming Zhang
Hi All If I use QMF schema to describe a host, it is quite possible that I will add cpu statistics today, and memory data tomorrow. this means i have to change the schema from time to time. what is the good practice for this? Do I have to recompile the schema, change the code, and shutdown my curr

where i can find python QMF agent example

2009-10-09 Thread Ming Zhang
Hi All I wonder where I could find more QMF examples in python? Especially on how to write an agent? I guess that I need to write a schema.xml. Then run some command (no idea what) to generate some stub. Then I need to write a code to follow certain formats. But such information is not available.

wonder how to use Session.getObjects()?

2009-10-09 Thread Ming Zhang
Hi All I wonder how to use session getObject? What are those _class, _key means? For example, I ran the qmf-agent example, then run the qmf-console/console, it shows some agents i can play with. Then I use python agents = sess.getObjects(_class="parent", _package="org.apache.qpid.agent.example"

Re: Management tools install

2009-10-09 Thread Gordon Sim
On 10/09/2009 02:19 PM, lroloson wrote: I found a problem with my path, the typo was keeping it from running. I fixed the error and it is running now. Sorry for the additional posts, I really thought I had a issue with the versions. Thanks again! Glad to hear you got it resolved!

Re: Management tools install

2009-10-09 Thread lroloson
I found a problem with my path, the typo was keeping it from running. I fixed the error and it is running now. Sorry for the additional posts, I really thought I had a issue with the versions. Thanks again! -- View this message in context: http://n2.nabble.com/Management-tools-install-tp3794320

Re: Management tools install

2009-10-09 Thread lroloson
I have the python stuff that was included in the cpp broker download that I got from the trunk. I would like to use the corresponding qpid-tool that matches the broker from the trunk. I cant get it working, how do I get the management tools working? I have them, I just cant get them installed and

Re: Management tools install

2009-10-09 Thread Ming Zhang
On Fri, Oct 9, 2009 at 8:42 AM, lroloson wrote: > > I have the CPP broker built from the trunk, and it appears to be working. I > cannot get qpid-tool running and installed. I have the python files from the > download, I just cannot seem to get it working. I have a machine with the u at least sh

Re: Management tools install

2009-10-09 Thread Gordon Sim
On 10/09/2009 01:42 PM, lroloson wrote: I have the CPP broker built from the trunk, and it appears to be working. I cannot get qpid-tool running and installed. I have the python files from the download, I just cannot seem to get it working. I have a machine with the 0.5 release and it works fine

Management tools install

2009-10-09 Thread lroloson
I have the CPP broker built from the trunk, and it appears to be working. I cannot get qpid-tool running and installed. I have the python files from the download, I just cannot seem to get it working. I have a machine with the 0.5 release and it works fine, I cant get it working on the trunk relea

Re: queuePurge call purges all messages except 1

2009-10-09 Thread ft420
i do know that output response shown by ./qpid-tool is slow, hence i tried many times but still the msgDepth had 1 msg in it. please do let me know is this any bug or am i going wrong anywhere. thanks ft420 wrote: > > i had edited the post and deleted this sentence "I have tried same test > cas

Re: queuePurge call purges all messages except 1

2009-10-09 Thread ft420
i had edited the post and deleted this sentence "I have tried same test case with client and broker on linux combination which worked successfully.." as i again tested same on linux but same problem persists on linux also. code snippet is : : : connection.open(host, port); Session session = connec

Re: queuePurge call purges all messages except 1

2009-10-09 Thread Gordon Sim
On 10/09/2009 05:28 AM, ft420 wrote: 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 queu