Re: An ill borker brings down the whole cluster

2009-11-03 Thread Carl Trieloff
Alan Conway wrote: On 11/03/2009 06:13 AM, Shan Wang wrote: Hi All, We have two qpid 0.5 brokers running in cluster mode on two different boxes. The cluster works fine in normal cases, ie, if broker1 is shutdown cleanly, broker2 will keep on serving clients. But today we found one broker sud

RE: An ill borker brings down the whole cluster

2009-11-03 Thread Shan Wang
Client side we are still using 0.4, I'm not sure about the exact version, should be last version before 0.5. Cluster side we are using 0.5.752581-26.el5. Unfortunately I haven't got the environment to build qpid myself so I can't use latest trunk. -Original Message- From: Carl Trieloff

RE: Windows build from trunk fails in CMake

2009-11-03 Thread lroloson
I have now tried building on 3 different XP machines, they are all very similar. I tried a fresh install on XP today, fresh install of OS, compiler, ruby, etc. Cmake fails to find managementgen.cmake. I tried deleting the build directory and the cache - no difference. 2 out 3 machines fail to find

RE: Windows - "vector iterator not dereferencable"

2009-11-03 Thread Steve Huston
Could you please report this in a jira? http://issues.apache.org/jira/browse/qpid Thanks, -Steve -- Steve Huston, Riverace Corporation Total Lifecycle Support for Your Networked Applications http://www.riverace.com > -Original Message- > From: lroloson [mailto:lrolo...@trmi.com] > Sent

RE: Windows build from trunk fails in CMake

2009-11-03 Thread Steve Huston
Do you have the 'specs' directory checked out parallel to the cpp directory (trunk/qpid/specs, trunk/qpid/cpp)? -Steve -- Steve Huston, Riverace Corporation Total Lifecycle Support for Your Networked Applications http://www.riverace.com > -Original Message- > From: lroloson [mailto:lrol

A QPID file system

2009-11-03 Thread Kamran Saadatjoo
Hi all: I've recently written an FUSE File System that makes a QPID message queue look like a file to any application that read to or writes from files. You can use this tool to mount a QPID queue that is accessed through a C++ client. You can find this tool (called OFSQpMnt) on www.openfl

RE: C++ broker setup help

2009-11-03 Thread Steve Huston
Hi Wielly, > Wielly wrote: > > Dear Developers, > > > > I am writing to enquiry information regarding how to setup > C++ broker under > > windows environment. I am looking for a contact person who > can help me on > > giving me some guidance regarding this matter. I will > highly appreciate for

Re: Flow control behavior of fanout exchange

2009-11-03 Thread Andy Li
Carl, Yes, reducing the number of worker threads from #cores + 1 to 4 did switch the data center machines to behavior (1). Looks like you've diagnosed the issue! Unfortunately, I couldn't find a copy of your talk at HPC anywhere on the web. It's listed on their website, but no files posted. Than

RE: Windows build from trunk fails in CMake

2009-11-03 Thread Steve Huston
Ok, thanks. Could you please try this? - Create a new build directory anywhere. - Start a command prompt window, such as via the Visual Studio 2008 command prompt menu item. - cd to your new build directory - cmake -G "Visual Studio 9 2008" --debug-output And please post the output here. Thanks

Re: An ill borker brings down the whole cluster

2009-11-03 Thread Alan Conway
On 11/03/2009 06:13 AM, Shan Wang wrote: Hi All, We have two qpid 0.5 brokers running in cluster mode on two different boxes. The cluster works fine in normal cases, ie, if broker1 is shutdown cleanly, broker2 will keep on serving clients. But today we found one broker suddenly lost response

RE: Windows build from trunk fails in CMake

2009-11-03 Thread lroloson
If I copy managementgen.cmake from the one machine that does work, then configure will complete - but Generate returns this; CMake Error in src/CMakeLists.txt: Cannot find source file "System.cpp". Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx but .

Re: Windows build from trunk fails in CMake

2009-11-03 Thread lroloson
Yes, I checked out the tree from here https://svn.apache.org/repos/asf/qpid/trunk/qpid Larry Roloson TRMI Systems Integration 5120 Route 209 | Accord, NY 12404-0010 T 845-626-8655 | M 845-853-9201 | F 845-626-2492 lrolo...@trmi.com | www.trmi.com On Nov 3, 2009, at 4:06 PM, Steve Huston [via A

Windows - "vector iterator not dereferencable"

2009-11-03 Thread lroloson
I am using XP-SP2, VS2008, Boost_1_35, Python 3.0.1, ruby 1.8.6 and updated my working copy to revision: 828034. i have the direct listener built from the examples, and it throws the above exception when there is no broker running at the supplied address. It does connect and get messages when the

RE: An ill borker brings down the whole cluster

2009-11-03 Thread Shan Wang
Hi Carl, Does that mean if there is a un-responsive broker in the cluster, all the other brokers will have to wait for it? I was getting the impression that if a broker in a cluster is not behaving normally, client should failover to another broker automatically. In my case, I haven't set any

Re: An ill borker brings down the whole cluster

2009-11-03 Thread Carl Trieloff
I don't have enough info to comment on the root cause, Maybe Alan can based on the log snippet, however there is a pulg-in module that can be run on nodes in a cluster that will remove any stalled node in the cluster so that the rest of the cluster can continue to operate as normal. For exam

Re: C++ broker setup help

2009-11-03 Thread Carl Trieloff
Wielly, I have copied the user list, for details see : http://qpid.apache.org/mailing-lists.html Mailing the user list is the best way to get answers from the Qpid project. Brief notes, is that you will need to use a trunk install to get persistence support on Windows, the 0.5 release on h

An ill borker brings down the whole cluster

2009-11-03 Thread Shan Wang
Hi All, We have two qpid 0.5 brokers running in cluster mode on two different boxes. The cluster works fine in normal cases, ie, if broker1 is shutdown cleanly, broker2 will keep on serving clients. But today we found one broker suddenly lost response to all connected clients and admin tools. A