Re: Bad allocation error

2010-01-11 Thread denny86
Gordon Sim wrote: > > If not can you try the attached test program? It will listen for a > configurable number of messages on queues a, b and c (all bound to > amq.fanout for convenience). I can consume 10 million messages from each > queue without seeing any issue (neither crashes nor memor

Re: Bad allocation error

2010-01-11 Thread denny86
i will try it out now. thanks -- View this message in context: http://n2.nabble.com/Bad-allocation-error-tp4265473p4289738.html Sent from the Apache Qpid users mailing list archive at Nabble.com. - Apache Qpid - AMQP Messagin

Sending a message to a non-existent exchange

2010-01-11 Thread Jason Jones
I have a question about sending messages. I found that if I attempt to send a message to a non-existent exchange from a session the session throws an exception and I am then unable to send any other messages through the same session, even if I am sending to another exchange that does exist. W

Re: Broker connection refused

2010-01-11 Thread Harsha Halgaswatta
Hi Robbie Thanks for taking time on this , i used trunk as well , but i tried SubscriptionWrapper inside eclipse. Not paired with the examples jars. is it a problem ? . I can start the broker through eclipse , but could not connect. my config is as follows: /home/harsha/Qpid/qpid/java/brok

Re: How do you stop a subscription manager with a busy message listener

2010-01-11 Thread Jason Jones
That worked, thanks for your help. Gordon Sim wrote: On 01/09/2010 12:01 AM, Jason Jones wrote: void MyMessageHandler::stop() { if(0 != subscriptionManager_) { // I think order matters on these two lines subscriptionManager_->stop(); subscription_.cancel();

Subscription Manager Exceptions (was Re: How do you stop a subscription manager with a busy message listener)

2010-01-11 Thread Jason Schlauch
On Mon, Jan 11, 2010 at 5:48 AM, Gordon Sim wrote: > Note that there is a problem with SubscriptionManager::start() in that you > are unable to handle any exceptions thrown during dispatching. For that > reason I would advocate using SubscriptionManager::run(), starting your own > thread for it if

RE: Broker connection refused

2010-01-11 Thread Robbie Gemmell
Hi Harsha, I have just run the 0.6 RC3 (effectively trunk) broker with management disabled, and appeared to be successful in connecting the 0.6 RC3 client when paired with the examples jar using the SubscriptionWrapper example (output snippets below). The only way I was able to replicate your outp

Re: Qpid C++ Dev in Eclipse

2010-01-11 Thread Jon Watte
Do a grep for where the code defines dllimport vs dllexport. It's quite likely that a -D option needs to be passed to the compiler for it to know that the symbol should be dllexported in that particular case. Btw: when building in one space and deploying in another, the two tools that I know that

Re: Qpid C++ Dev in Eclipse

2010-01-11 Thread Rajith Attapattu
I have built the c++ code in eclipse successfully in Fedora 6,10,11 My motivation was to see if I could leverage the eclipse façade over gdb to get a better debugging experience. It was ok, but wasn't enough for me to really continue. I have gone back to using command line again. On Mon, Jan 11, 2

RE: Qpid C++ Dev in Eclipse

2010-01-11 Thread Andrew L
> Hi Andrew, > > > Is anyone familiar with proper Eclipse set up for Qpid > > development? I have been using Visual Studio (which was > > simple since I copied the configuration in the qpid > > examples), but now must change to development in Eclipse. > > I've never tried Eclipse with Qpid.

RE: Qpid C++ Dev in Eclipse

2010-01-11 Thread Steve Huston
Hi Andrew, > Is anyone familiar with proper Eclipse set up for Qpid > development? I have been using Visual Studio (which was > simple since I copied the configuration in the qpid > examples), but now must change to development in Eclipse. I've never tried Eclipse with Qpid. Why do you have t

Qpid C++ Dev in Eclipse

2010-01-11 Thread Andrew L
Is anyone familiar with proper Eclipse set up for Qpid development? I have been using Visual Studio (which was simple since I copied the configuration in the qpid examples), but now must change to development in Eclipse. When I try to build in Eclipse, I get errors regarding definitions bei

Re: qpid-config timeout creating large journal

2010-01-11 Thread Rajith Attapattu
Charles on a related note, it's best if you could subscribe to the user-list, or else your emails will go into a moderation queue and somebody would need to accept them in manually. On Mon, Jan 11, 2010 at 6:45 AM, Charles Woerner wrote: > Hello, > > I'm using qpid in a store and forward type top

qpid-config timeout creating large journal

2010-01-11 Thread Charles Woerner
Hello, I'm using qpid in a store and forward type topology, where the source brokers are co-located with a webserver and are pushing messages to a central broker. The queues are persistent and I'm trying to declare them with a geometry that will allow me to endure about 2 days of central

qpid-config timeout creating large journal

2010-01-11 Thread Charles Woerner
Hello, I'm using qpid in a store and forward type topology, where the source brokers are co-located with a webserver and are pushing messages to a central broker. The queues are persistent and I'm trying to declare them with a geometry that will allow me to endure about 2 days of central

Re: resizing persistent queue journal

2010-01-11 Thread Charles Woerner
Kim, Thanks for the helpful information. I'll take a look at "resize" and double check the behavior I saw on queue_declare()'s with respect to the qpidd.conf store size options and post the result if I confirm that the behavior I'm seeing is different from your expectation. __ Charles Wo

Re: Bad allocation error

2010-01-11 Thread Gordon Sim
On 01/11/2010 04:20 AM, denny86 wrote: Gordon Sim wrote: The simplest way (in my view) is to pass in an instance of SubscriptionSettings to each SubscriptionManager::subscribe() call. However if the default settings work for you (and it sounds like they might?) then you don't even need to d

Re: resizing persistent queue journal

2010-01-11 Thread Kim van der Riet
On Fri, 2010-01-08 at 17:39 -0800, Charles Woerner wrote: > Hello, > > I have 3 questions relating to persistent queue journal sizing: > > 1) What is the recommended way to expand the size of a queue's > journal? Ie. if I reach the 80% threshhold is there a way to expand > the journal size b

Re: How do you stop a subscription manager with a busy message listener

2010-01-11 Thread Gordon Sim
On 01/09/2010 12:01 AM, Jason Jones wrote: void MyMessageHandler::stop() { if(0 != subscriptionManager_) { // I think order matters on these two lines subscriptionManager_->stop(); subscription_.cancel(); delete subscriptionManager_; subscriptionMan

Re: Broker connection refused

2010-01-11 Thread Robbie Gemmell
Hi Harsha, I dont have time to look into this right now im afraid, but I will try when I get a chance. Some questions: Do the other examples work for you against the same running broker? Have you modified the configuration other than disabling management? Are you using trunk, 0.5, or one of the 0

Broker connection refused

2010-01-11 Thread Harsha Halgaswatta
hi I tried the client example SubscriptionWrapper after starting the broker with management disabled.  but i could not connect : Fatal error: javax.jms.JMSException: Error creating connection: Connection refused. my connection string was : amqp://guest:gu...@localhost/test?brokerlist='tcp://local