RE: exchangeDeclare funtion hangs

2009-09-23 Thread Jonathan R Yowe
Please Unsubscribe me from this QPID forum -Original Message- From: Nithesh Shetty [mailto:knitheshshe...@yahoo.com] Sent: Thursday, 24 September 2009 3:27 PM To: users@qpid.apache.org Subject: Re: exchangeDeclare funtion hangs qpidclient test exe built using the below option   g++

Re: exchangeDeclare funtion hangs

2009-09-23 Thread Nithesh Shetty
qpidclient test exe built using the below option   g++ -pipe -march=pentium4 -mtune=pentium4 -Wconversion -Wpadded -Wall -Wextra -Wno-shadow -Wpointer -arith -Wcast-qual -Wcast-align -Wno-long-long -Wvolative-register-var -Winvalid-pch -Wno_system-headers -Woverloaded-virutal -DNDEBUG -g -L/u

Re: exchangeDeclare funtion hangs

2009-09-23 Thread Gordon Sim
On 09/23/2009 01:48 PM, Nithesh Shetty wrote: Hi, Version is qpid0.5 Can you run pstack against both the client and qpidd processes at the point of the hang? I have created a class called CMessageQueue it has two Function called OpenConnection and OpenQueue member variables are Session

Re: JMS, ACL and connecting to existing exchange/queue

2009-09-23 Thread JAkub Scholz
Hi Rajith, Thanks for your help. Unfortunately, it helped only partially. With these properties I'm able to create the producer and the consumer/listener. It seems, that the consumer/listener needs also access privileges for the exchange to be able to receive some messages. But the problem is in

RE: exchangeDeclare funtion hangs

2009-09-23 Thread Nithesh Shetty
Hi,   Version is qpid0.5   I have created a class called CMessageQueue it has two Function called OpenConnection  and OpenQueue   member variables are Session m_cSession Connection m_cConnection.   int CMessageQueue:: OpenConnection(const string szHost,

RE: exchangeDeclare funtion hangs

2009-09-23 Thread Steve Huston
Hi Nitesh, What version of Qpid do you see this problem in? Could you post a small test program that reproduces this? Thanks, -Steve -- Steve Huston, Riverace Corporation > -Original Message- > From: Nithesh Shetty [mailto:knitheshshe...@yahoo.com] > Sent: Wednesday, September 23, 2009

exchangeDeclare funtion hangs

2009-09-23 Thread Nithesh Shetty
Hi,   When I try to declare exchange using Session.exchangeDeclare(arg::exchange = "NAME", arg::exclusive = false, arg::autoDelete = false, arg::type = "direct");     it hangs in VOID Condition::wait(Mutex& mutex) {     QPID_POSIX_ASSERT_THROW_IF(pthread_cond_destroy(&condition)); }   Need help