Bug 1195163 - Example applications cannot run
Summary: Example applications cannot run
Keywords:
Status: CLOSED DUPLICATE of bug 1193425
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: Development
Hardware: Unspecified
OS: Windows
unspecified
medium
Target Milestone: 3.0.2
: ---
Assignee: messaging-bugs
QA Contact: Messaging QE
URL:
Whiteboard:
Depends On: 1193425 1197134 1201741
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-23 09:51 UTC by Petra Svobodová
Modified: 2015-03-13 11:58 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-26 19:21:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Petra Svobodová 2015-02-23 09:51:21 UTC
Description of problem:
C# examples packed in the qpid-cpp-win package, "csharp.example.helloworld", "csharp.example.declare_queues", "csharp.direct.sender", csharp.direct.receiver, csharp.example.server" and "csharp.map.receiver" cannot run. These clients create a connection without "connection options" and the connection cannot be created; the clients raises an exception, see below, please:

C:\qpid_VS2008\bin\Release>csharp.direct.sender.exe <broker_hostname>
csharp.direct.sender
host : <hostname>
addr : amq.direct/key
nMsg : 10

2015-02-23 10:39:25 [Client] warning Broker closed connection: 320, connection-forced: Not authenticated!
Exception Org.Apache.Qpid.Messaging.QpidException: connection-forced: Not authenticated!
   at Org.Apache.Qpid.Messaging.Connection.Open() in c:\cygwin\tmp\build\source\
mcressma\source\qpid\cpp\bindings\qpid\dotnet\src\connection.cpp:line 243
   at csharp.direct.sender.Program.Main(String[] args) in c:\qpid_VS2008\dotnet_
examples\examples\csharp.direct.sender\csharp.direct.sender.cs:line 57.
 

Version-Release number of selected component (if applicable):
qpid-cpp-win-3.22.51.1-1 with qpid-cpp-0.22-51 (on the broker)

How reproducible:
100%

Steps to Reproduce:
1. Install, configure and run a qpid broker with disabled authentication (set "auth=no")
2. Download, unpack and compile the qpid-cpp-win packages.
3. Try to run one of the C# examples mentioned upper, f.e. "csharp.direct.sender"

Actual results:
The client fails with the exception because no connection can be created (see upper, please).

Expected results:
The client should connect the broker without exceptions.


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