Re: Potential deadlock with LocalQueue::get() / Session::close()?

2009-03-03 Thread Gordon Sim
Rob Springer wrote: Hey all - I've noticed a problem when debugging some code, and it looks to my eyes like there's a potential deadlock situation using the timed LocalQueue::get() command when a fatal interrupt occurs. I've posted what I hope is clear reproducer code below. Could someone else

RE: M4 C++ build on Redhat 5

2009-03-03 Thread lroloson
Carl, After clicking on everything I can find in RHN related to my install I failed to find anything that would allow me to "enable the devel stuff". I can use the package manager in the gui - and it did install the development packages available there. But unfortunately the boost options rem

Potential deadlock with LocalQueue::get() / Session::close()?

2009-03-03 Thread Rob Springer
Hey all - I've noticed a problem when debugging some code, and it looks to my eyes like there's a potential deadlock situation using the timed LocalQueue::get() command when a fatal interrupt occurs. I've posted what I hope is clear reproducer code below. Could someone else take a quick look at i

Re: M4 C++ build on Redhat 5

2009-03-03 Thread Carl Trieloff
lroloson wrote: yum search boost returns; rhel-i386-client-5100% |=| 1.3 kB00:00 boost-doc.i386 : The Boost C++ html docs boost.i386 : The Boost C++ Libraries but not the development package. Larry Go into RHN and enable the devel stuff and then

Re: M4 C++ build on Redhat 5

2009-03-03 Thread lroloson
yum search boost returns; rhel-i386-client-5100% |=| 1.3 kB00:00 boost-doc.i386 : The Boost C++ html docs boost.i386 : The Boost C++ Libraries but not the development package. Larry -- View this message in context: http://n2.nabble.com/M4-C%2B%2B-buil

Re: M4 C++ build on Redhat 5

2009-03-03 Thread Carl Trieloff
just for kicks, try yum search boost and see if the devel package shows up. if not you may not have the right RHN channels selected. fyi, you can also yum qpid pre-built on RHEL5. Carl. lroloson wrote: When I try to yum install boost-devel I get No package boost-devel available. Larry

Re: M4 C++ build on Redhat 5

2009-03-03 Thread lroloson
When I try to yum install boost-devel I get No package boost-devel available. Larry Carl Trieloff wrote: > > > You should be able to build with the boost included in RHEL5, that is > commonly done. Is you boost > installed in a standard location? or are are you unable to yum > boost-devel?

Re: M4 C++ build on Redhat 5

2009-03-03 Thread Carl Trieloff
You should be able to build with the boost included in RHEL5, that is commonly done. Is you boost installed in a standard location? or are are you unable to yum boost-devel? Carl. lroloson wrote: Steve I have not been able to find the boost-devel rpm, and the boost that yum finds seem

RE: M4 C++ build on Redhat 5

2009-03-03 Thread lroloson
Steve I have not been able to find the boost-devel rpm, and the boost that yum finds seems to be pretty down level. What is the best way to get boost installed with the headers? Any help would be appreciated. Thanks Larry Roloson From: Steve Huston (via Nabble) [mailto:ml-u

RE: M4 C++ build on Redhat 5

2009-03-03 Thread Steve Huston
> I have read the INSTALL document contained in the > qpid-cpp-m4.tar.gz file. I > used yum to install ruby and boost, I have exported the path > information per > section 2.3. When I run configure I get the following error; > ... > ... > ls: /src/qpidc-0.4/./../specs/amqp.0-10-qpid-errata.xml: N

M4 C++ build on Redhat 5

2009-03-03 Thread lroloson
I have read the INSTALL document contained in the qpid-cpp-m4.tar.gz file. I used yum to install ruby and boost, I have exported the path information per section 2.3. When I run configure I get the following error; ... ... ls: /src/qpidc-0.4/./../specs/amqp.0-10-qpid-errata.xml: No such file or di

Re: Stress C++ broker without flow control

2009-03-03 Thread Rafael Schloming
Gordon Sim wrote: > Stephen wrote: >> Hi , >> >> I just got the first few lines from console: >> >> l2009-mar-03 18:22:43 warning Journal "admin_in": Enqueue capacity >> threshold exceeded on queue "admin_in". >> 2009-mar-03 18:22:43 error Unexpected exception: Enqueue capacity >> threshold excee

batch accept issues?

2009-03-03 Thread Adam Chase
Have there been any issues fixed recently with regards to batch accepting of messages? I'm trying to accept messages 50 or so at a time, and sometimes they just don't seem to be getting deleted. Any help here? Adam - Apache Qpi

Re: Stress C++ broker without flow control

2009-03-03 Thread Kim van der Riet
On Tue, 2009-03-03 at 19:25 +0800, Stephen wrote: > The message is TextMessage of 1k size body > > I still cannot figure out when / how it dies - in terms of number of total > messages, rate, duration, broker queue size (if configuration is possible) > > Some background on the store and enqueue

RE: Without Ruby ...

2009-03-03 Thread Steve Huston
> > Me too newbie in qpid > > please let me know how to install ruby? > > If you are on Windows, Ruby is not needed; but it you want to get it, > it's at http://rubyforge.org/frs/?group_id=167 > > If you are on Linux, try 'yum' if it's available. > -Steve > > ... > Yes i am trying to install q

RE: Without Ruby ...

2009-03-03 Thread ft420
> Me too newbie in qpid > please let me know how to install ruby? If you are on Windows, Ruby is not needed; but it you want to get it, it's at http://rubyforge.org/frs/?group_id=167 If you are on Linux, try 'yum' if it's available. -Steve -- Steve Huston, Riverace Corporation Check out my ne

RE: Without Ruby ...

2009-03-03 Thread Steve Huston
> -Original Message- > From: ft420 [mailto:arn...@gmail.com] > Sent: Tuesday, March 03, 2009 5:58 AM > To: users@qpid.apache.org > Subject: Re: Without Ruby ... > > > > > > Danushka Menikkumbura wrote: > > > > Hi Anil, > >> I am newbie to qpid, apologize for stupid questions. > >> >

Re: Stress C++ broker without flow control

2009-03-03 Thread Stephen
The message is TextMessage of 1k size body I still cannot figure out when / how it dies - in terms of number of total messages, rate, duration, broker queue size (if configuration is possible) - Original Message - From: "Gordon Sim" To: Sent: Tuesday, March 03, 2009 6:42 PM Subje

Re: Without Ruby ...

2009-03-03 Thread ft420
Danushka Menikkumbura wrote: > > Hi Anil, >> I am newbie to qpid, apologize for stupid questions. >> >> Did not pull the files from Source Repository, downloaded M4 Release ( >> http://www.apache.org/dist/qpid/M4/qpid-cpp-M4.tar.gz ) >> >> I need just C++ client., Is python and Ruby dependency

Re: Stress C++ broker without flow control

2009-03-03 Thread Gordon Sim
Stephen wrote: > Hi , > > I just got the first few lines from console: > > l2009-mar-03 18:22:43 warning Journal "admin_in": Enqueue capacity > threshold exceeded on queue "admin_in". > 2009-mar-03 18:22:43 error Unexpected exception: Enqueue capacity > threshold exceeded on queue "admin_in". (

Re: Stress C++ broker without flow control

2009-03-03 Thread Stephen
Hi , I just got the first few lines from console: l2009-mar-03 18:22:43 warning Journal "admin_in": Enqueue capacity threshold exceeded on queue "admin_in". 2009-mar-03 18:22:43 error Unexpected exception: Enqueue capacity threshold exceeded on queue "admin_in". (JournalImpl.cpp:501) 2009-mar-

Re: Stress C++ broker without flow control

2009-03-03 Thread Gordon Sim
Stephen wrote: > Hi all, > > I am stressing C++ broker with Java Client > In each test, the Java Client sends 5 continuously. > If the deliverymode is msg.setJMSDeliveryMode(DeliveryMode.NON_PERSISTENT), > the receiver looks OK. > but if using msg.setJMSDeliveryMode(DeliveryMode.PERSISTENT),

Stress C++ broker without flow control

2009-03-03 Thread Stephen
Hi all, I am stressing C++ broker with Java Client In each test, the Java Client sends 5 continuously. If the deliverymode is msg.setJMSDeliveryMode(DeliveryMode.NON_PERSISTENT), the receiver looks OK. but if using msg.setJMSDeliveryMode(DeliveryMode.PERSISTENT), the broker console throws th