Connection failure does not provide debug info
----------------------------------------------

                 Key: QPID-1997
                 URL: https://issues.apache.org/jira/browse/QPID-1997
             Project: Qpid
          Issue Type: Bug
          Components: Ruby Client
         Environment: F11 Ruby, built off of 790661 revision on trunk
            Reporter: Arjun Roy
            Priority: Minor


A failed connection doesn't provide info in the resulting stack trace that 
describes why it failed.

In my case I had to enable full logging on qpidd the figure out the error.

/usr/lib/ruby/site_ruby/1.8/qpid/connection.rb:144:in `start': 
Qpid::ConnectionFailed
        from /usr/lib/ruby/site_ruby/1.8/qpid/qmf.rb:1641:in `try_to_connect'
        from /usr/lib/ruby/site_ruby/1.8/qpid/qmf.rb:1406:in `start'
        from /usr/lib/ruby/site_ruby/1.8/qpid/qmf.rb:1402:in `initialize'
        from /usr/lib/ruby/site_ruby/1.8/qpid/qmf.rb:1402:in `new'
        from /usr/lib/ruby/site_ruby/1.8/qpid/qmf.rb:1402:in `start'
        from /usr/lib/ruby/site_ruby/1.8/qpid/qmf.rb:1485:in `initialize'
        from /usr/lib/ruby/site_ruby/1.8/qpid/qmf.rb:210:in `new'
        from /usr/lib/ruby/site_ruby/1.8/qpid/qmf.rb:210:in `add_broker'

ConnectionFailed does not say why it failed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to