qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fraser Adams (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-5332) qpid-stat doesnt work
Date Tue, 12 Nov 2013 18:44:17 GMT

    [ https://issues.apache.org/jira/browse/QPID-5332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13820341#comment-13820341
] 

Fraser Adams commented on QPID-5332:
------------------------------------

Re "As we found in IRC, the Java Qpid broker, to which you were trying to connect, doesn't
support QMF which is required by the tool So this isn't a valid error." that's not quite correct.

As of Qpid 0.24 if you look in qpid/tools/src/java I implemented a whole bunch of Java related
QMF things most of this was primarily about giving Java QMF client support and building a
Web GUI for the C++ broker however I also implemented a QMF2 management plugin for the Java
Broker. There's a readme there that should hopefully be enough to get started with this.

To be fair it's not perfect and there are some restrictions due to mapping between the Java
Broker's internal management model and QMF2, but it's fairly complete and certainly my Web
GUI can happily talk to a Java broker. 

I've also tried it with qpid-config and all of the basics there work, though again a few quirks
due to mapping from the broker management model and QMF2.

I can't speak for qpid-tool as I'm not that familiar with that, but I've just tried qpid-stat
with a few options and that seems to work too.

This was primarily done to prove that it could be possible to align management across the
brokers. Ultimately the way forward will be AMQP 1.0 Management, but I think this is a decent
start.





> qpid-stat doesnt work
> ---------------------
>
>                 Key: QPID-5332
>                 URL: https://issues.apache.org/jira/browse/QPID-5332
>             Project: Qpid
>          Issue Type: Bug
>          Components: Python Tools
>    Affects Versions: 0.24
>         Environment: Linux  3.11.0-12-generic #19-Ubuntu x86_64 x86_64 x86_64
> Java-broker v0.24
>            Reporter: B
>            Assignee: Darryl L. Pierce
>
> Qpid-stat doesnt work: 
> bartosz@b-desk:~/bin/qpid-tools-0.24/build/scripts-2.7$ ./qpid-stat -q -b amqp://admin/admin@localhost
> Failed: NotFound - no such queue: qmf.default.topic
> bartosz@b-desk:~/bin/qpid-tools-0.24/build/scripts-2.7$ ./qpid-stat -e -b amqp://admin/admin@localhost
> Failed: NotFound - no such queue: qmf.default.topic
> Broker log:
> 2013-11-12 14:42:08,633 INFO  [IoReceiver - /127.0.0.1:36948] (connection.open) - [con:14(/127.0.0.1:36948)]
CON-1001 : Open
> 2013-11-12 14:42:08,634 INFO  [IoReceiver - /127.0.0.1:36948] (connection.open) - [con:14(/127.0.0.1:36948)]
CON-1001 : Open : Protocol Version : 0-10
> 2013-11-12 14:42:08,636 INFO  [IoReceiver - /127.0.0.1:36948] (connection.open) - [con:14(admin@/127.0.0.1:36948/default)]
CON-1001 : Open : Client ID : null : Protocol Version : 0-10 : Client Version : null
> 2013-11-12 14:42:08,639 INFO  [IoReceiver - /127.0.0.1:36948] (channel.create) - [con:14(null@/127.0.0.1:36948/default)/ch:0]
CHN-1001 : Create
> 2013-11-12 14:42:08,678 INFO  [IoReceiver - /127.0.0.1:36948] (channel.close) - [con:14(null@/127.0.0.1:36948/default)/ch:0]
[con:14(null@/127.0.0.1:36948/default)/ch:0] CHN-1003 : Close
> 2013-11-12 14:42:08,678 INFO  [IoReceiver - /127.0.0.1:36948] (connection.close) - [con:14(admin@/127.0.0.1:36948/default)]
[con:14(/127.0.0.1:36948)] CON-1002 : Close



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message