You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by "Senthil Kumar, Sinduja (GE Healthcare)" <Si...@ge.com> on 2012/01/24 11:38:03 UTC

How to run Hello_world in QPID Examples

Hi,

 

Can anyone post me how to run hello_world example program available with
QPID package.

 

I had successfully created hello_world exe in SUSE linux but facing
problem when run the binary.

 

/qpidc-0.12/examples/messaging> ./hello_world

Unknown protocol: tcp (qpid/client/Connector.cpp:52)

guest@winnie ~/sinduja/qpidc-0.12/examples/messaging>

 

Should I need to run anything before running hello_world. I have started
running the broker also available in [.../sbin]./qpidd

 

But still fails to run hello_world.

 

Regards,

Meghna

 

 


Re: FW: How to run Hello_world in QPID Examples

Posted by tkdchen <qc...@gmail.com>.
On Mon, Jan 30, 2012 at 2:40 PM, Senthil Kumar, Sinduja (GE
Healthcare) <Si...@ge.com> wrote:
> Hi,
>  Thanks for your reply.
>
>  This is the following log:
>
> guest@winnie ~/sinduja/qpidc-0.12/examples/messaging> ./hello_world
> 2012-01-30 14:50:23 debug Created connection localhost:5672 with {}
> 2012-01-30 14:50:23 info Trying to connect to localhost:5672...
> 2012-01-30 14:50:23 debug Created IO thread: 0
> 2012-01-30 14:50:23 debug Exception constructed: Unknown protocol: tcp
> (qpid/client/Connector.cpp:52) Entering Connection MechThanksUnknown
> protocol: tcp (qpid/client/Connector.cpp:52) guest@winnie
> ~/sinduja/qpidc-0.12/examples/messaging>
>
> Moreover, I am a C++ professional. I really have no idea or no contact
> to know about the best way to learn QPID. And I do not find much
> articles on QPID on the net also. Can you please suggest me how to
> become an expert in QPID and direct and guide me.
> Your reply is important for me.
>

http://qpid.apache.org/documentation.html#doc-release

The best way to be familar with QPID is pratice, practice and practice ...

> Regards,
> Sindu
>
> -----Original Message-----
> From: Gordon Sim [mailto:gsim@redhat.com]
> Sent: Wednesday, January 25, 2012 5:50 PM
> To: users@qpid.apache.org
> Subject: Re: How to run Hello_world in QPID Examples
>
> On 01/24/2012 10:38 AM, Senthil Kumar, Sinduja (GE Healthcare) wrote:
>> I had successfully created hello_world exe in SUSE linux but facing
>> problem when run the binary.
>>
>>
>>
>> /qpidc-0.12/examples/messaging>  ./hello_world
>>
>> Unknown protocol: tcp (qpid/client/Connector.cpp:52)
>
> That is odd, certainly... can you turn up the logging for the client to
> see if that sheds any light (export QPID_LOG_ENABLE=trace+ before
> running hello world)?
>
> Either you are loading incompatible modules from somewhere or it may be
> a linking oddity on your platform.
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org
>
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org
>

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


FW: How to run Hello_world in QPID Examples

Posted by "Senthil Kumar, Sinduja (GE Healthcare)" <Si...@ge.com>.
Hi,
 Thanks for your reply.

 This is the following log:

guest@winnie ~/sinduja/qpidc-0.12/examples/messaging> ./hello_world
2012-01-30 14:50:23 debug Created connection localhost:5672 with {}
2012-01-30 14:50:23 info Trying to connect to localhost:5672...
2012-01-30 14:50:23 debug Created IO thread: 0
2012-01-30 14:50:23 debug Exception constructed: Unknown protocol: tcp
(qpid/client/Connector.cpp:52) Entering Connection MechThanksUnknown
protocol: tcp (qpid/client/Connector.cpp:52) guest@winnie
~/sinduja/qpidc-0.12/examples/messaging>

Moreover, I am a C++ professional. I really have no idea or no contact
to know about the best way to learn QPID. And I do not find much
articles on QPID on the net also. Can you please suggest me how to
become an expert in QPID and direct and guide me.
Your reply is important for me.

Regards,
Sindu

-----Original Message-----
From: Gordon Sim [mailto:gsim@redhat.com]
Sent: Wednesday, January 25, 2012 5:50 PM
To: users@qpid.apache.org
Subject: Re: How to run Hello_world in QPID Examples

On 01/24/2012 10:38 AM, Senthil Kumar, Sinduja (GE Healthcare) wrote:
> I had successfully created hello_world exe in SUSE linux but facing 
> problem when run the binary.
>
>
>
> /qpidc-0.12/examples/messaging>  ./hello_world
>
> Unknown protocol: tcp (qpid/client/Connector.cpp:52)

That is odd, certainly... can you turn up the logging for the client to
see if that sheds any light (export QPID_LOG_ENABLE=trace+ before
running hello world)?

Either you are loading incompatible modules from somewhere or it may be
a linking oddity on your platform.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Re: How to run Hello_world in QPID Examples

Posted by Gordon Sim <gs...@redhat.com>.
On 01/24/2012 10:38 AM, Senthil Kumar, Sinduja (GE Healthcare) wrote:
> I had successfully created hello_world exe in SUSE linux but facing
> problem when run the binary.
>
>
>
> /qpidc-0.12/examples/messaging>  ./hello_world
>
> Unknown protocol: tcp (qpid/client/Connector.cpp:52)

That is odd, certainly... can you turn up the logging for the client to 
see if that sheds any light (export QPID_LOG_ENABLE=trace+ before 
running hello world)?

Either you are loading incompatible modules from somewhere or it may be 
a linking oddity on your platform.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org