Bug 978379 - C++ example "client" raises a broker exception
Summary: C++ example "client" raises a broker exception
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: Development
Hardware: Unspecified
OS: Windows
medium
medium
Target Milestone: 3.0
: ---
Assignee: Gordon Sim
QA Contact: Petra Svobodová
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-26 13:48 UTC by Petra Svobodová
Modified: 2015-01-21 12:55 UTC (History)
4 users (show)

Fixed In Version: qpid-cpp-0.22-6.el6, qpid-cpp-mrg-0.22-6.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-21 12:55:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache JIRA QPID-4953 0 None None None Never

Description Petra Svobodová 2013-06-26 13:48:42 UTC
Description of problem:

C++ example "client.exe" running simultaneously with "server" example (started after the "server) raises the exception on the connected broker, see transcriptions below:

Windows command line transcription:
...
C:\qpid_VS2008\bin\Release>client.exe 10.34.37.203
...
2013-06-26 09:17:25 [Client] warning Exception received from broker: not-found:
not-found: Queue not found: 92fd9aff-5fcc-43b6-82da-31988fdbd227# (/builddir/bui
ld/BUILD/qpid-0.22/cpp/src/qpid/broker/SessionAdapter.cpp:693) [caused by 4 \x08
:\x01]
Queue 92fd9aff-5fcc-43b6-82da-31988fdbd227# does not exist
...


Terminal transcription (qpidd.log):
...
013-06-26 13:29:56 [Broker] info Queue "service_queue": Flow limit created: flowStopCount=0, flowResumeCount=0, flowStopSize=83886080, flowResumeSize=73400320
2013-06-26 13:30:01 [Protocol] error Execution exception: not-found: Queue not found: 7f49a2ed-1a3c-49d5-b2ae-13c6ce3155d0# (/builddir/build/BUILD/qpid-0.22/cpp/src/qpid/broker/SessionAdapter.cpp:693)

Example "client" from the previous packages (qpid-cpp-win-3.2.0.4-1) works properly; the bug is only on this packages.


Version-Release number of selected component (if applicable):
qpid-cpp-win-3.22.5.1-1


How reproducible:
100%

Steps to Reproduce:
1. Unpack the qpid packages.
2. Create project files for examples and compile them.
3. Open a command line and start "server.exe" application.
4. In the second command line windows run "client.exe" application.

Actual results:
The "client.exe" example raises the exception on the broker.

Expected results:
The "client.exe" example should work without exceptions.

Comment 2 Gordon Sim 2013-06-26 14:31:14 UTC
This is not unique to windows. It is caused by a change I made to the example itself to better illustrate 1.0 behaviour. However at present the shorthand for a temporary queue - i.e. '#' - doesn't work for 0-10. Fix coming up shortly.

Comment 3 Gordon Sim 2013-06-26 16:40:24 UTC
Fixed upstream: https://svn.apache.org/r1496985

Comment 5 Petra Svobodová 2013-07-24 06:07:31 UTC
The "client" application works properly without exceptions.

Verified on all currently supported platforms:
- Rhel6.4-i686 and x86_64
- WindowsXP-x86
- Windows7-x86 and x64
- Windows Server2003-x86 and x64
- Windows Server2008-x86, x64 and R2

on packages qpid-cpp-0.22-7.el6 and qpid-cpp-win-3.22.7.1-1.

--> VERIFIED


Note You need to log in before you can comment on or make changes to this bug.