Re: C++ client won't connect to Java broker

2009-08-21 Thread Jonathan Robie
Rich Stephens wrote: Thanks for the quick reply. It seems I have made some rather silly errors in my client code: 1) I was assigning the newSession to a local session variable instead of my class member (unintentionally) 2) I didn't realize that the "url" argument to open->(URL) was an actual q

Re: C++ client won't connect to Java broker

2009-08-21 Thread Gordon Sim
Rich Stephens wrote: Thanks for the quick reply. It seems I have made some rather silly errors in my client code: 1) I was assigning the newSession to a local session variable instead of my class member (unintentionally) 2) I didn't realize that the "url" argument to open->(URL) was an actual q

Re: C++ client won't connect to Java broker

2009-08-20 Thread Rich Stephens
Thanks for the quick reply. It seems I have made some rather silly errors in my client code: 1) I was assigning the newSession to a local session variable instead of my class member (unintentionally) 2) I didn't realize that the "url" argument to open->(URL) was an actual qpid Url class rather t

Re: C++ client won't connect to Java broker

2009-08-20 Thread Gordon Sim
Rich Stephens wrote: Alright, so I'm now using the C++ qpid broker with the C++ client libs. I'm using the code almost exactly as it is in the example on the main tab of the api doc. However, I still get the same error when I try to use the connection.open(URL) form of the method: Cannot resol

Re: C++ client won't connect to Java broker

2009-08-20 Thread Rich Stephens
Alright, so I'm now using the C++ qpid broker with the C++ client libs. I'm using the code almost exactly as it is in the example on the main tab of the api doc. However, I still get the same error when I try to use the connection.open(URL) form of the method: Cannot resolve : Name or service

Re: C++ client won't connect to Java broker

2009-08-20 Thread Aidan Skinner
On Thu, Aug 20, 2009 at 3:40 PM, Rich Stephens wrote: > The same java server has no problem acception messages via JMS from Java, > but whenever I try to connect to it from the C++ client using a URL, I get > the following exception thrown from connection->open(URL): This is, sadly, Just Not Goin