Re: AMQCPP: unexpected exception

2011-03-06 Thread Oscar Pernas
Hi all, Also, if you run a blocking producer (with connection->start() blocking) to a not existing broker, and try to close the producer after a while, the connection->start crash. 2011-03-07 02:27:33 DEBUG (ActiveInterface:671) - ActiveInterface::shutdown. Shutting down singleton manager. 2011-0

Re: AMQCPP: unexpected exception

2011-03-06 Thread Oscar Pernas
Yes, It's probably the same issue. I've resolved the destructor stucks (partially) deleting connection and session before delete the consumer. Perhaps you should catch a decaf exception that sometimes is thrown. Tell me if it helps you. regards 2011/3/4 Henrique Magarotto > Hi Tim and Oscar,

Re: AMQCPP: unexpected exception

2011-03-04 Thread Henrique Magarotto
Hi Tim and Oscar, thanks for your attention, So, in my case i got frozen in a commit attempt. But really, testing without transaction and MessageListener i got frozen in consumer destructor too. Maybe it's the same reason for both cases. I tested with several configurations to try avoid freezes fo

Re: AMQCPP: unexpected exception

2011-03-01 Thread Henrique Magarotto
Thanks for reply! issue opened: https://issues.apache.org/jira/browse/AMQCPP-354 Regards Henrique 2011/3/1 Timothy Bish : > On Tue, 2011-03-01 at 20:22 -0300, Henrique Magarotto wrote: >> Hi everybody, >> >> First, sorry for long mail and thanks for great job in ActiveMQ and >> ActiveMQ-CPP. >>

Re: AMQCPP: unexpected exception

2011-03-01 Thread Oscar Pernas
Hi, I ran into this bug before. If I am shutting down and starting the broker so many times, connection are not reestablished and the consumer gets frozen. If you try to close the consumer that is frozen, the closing stucks your thread too? In my case, this problem only happens when I'm debugging

Re: AMQCPP: unexpected exception

2011-03-01 Thread Timothy Bish
On Tue, 2011-03-01 at 20:22 -0300, Henrique Magarotto wrote: > Hi everybody, > > First, sorry for long mail and thanks for great job in ActiveMQ and > ActiveMQ-CPP. > > I'm testing some failure cases with ActiveMQ and ActiveMQ-CPP. > > In my test, an unexpected exception is thrown if broker is s