RE: QPID C++ broker monitoring and management

2014-03-11 Thread Jan Bares
> -Original Message- > From: Fraser Adams [mailto:fraser.ad...@blueyonder.co.uk] > Sent: Monday, March 10, 2014 9:31 PM > To: users@qpid.apache.org > Subject: Re: QPID C++ broker monitoring and management > > So am I correct in thinking that I'd need to do some

Re: QPID C++ broker monitoring and management

2014-03-10 Thread Rob Godfrey
gt;>>>>> file-portability.html#svn.advanced.props.special.eol-style >>>>>>> >>>>>>> >>>>>>> On 10 March 2014 18:00, Fraser Adams >>>>>>> wrote: >>>>>>> >>>>>&

Re: QPID C++ broker monitoring and management

2014-03-10 Thread Rob Godfrey
have to say that I don't really understand what you are getting at >>>>>>> with >>>>>>> some of these comments - especially "Is there any reason why you use >>>>>>> Windows line endings?" >>>>>>> >>>>>>>

Re: QPID C++ broker monitoring and management

2014-03-10 Thread Fraser Adams
Tomcat catalina.sh, use Unix line endings. See http://svn.apache.org/viewvc/tomcat/trunk/bin/catalina.sh?view=log. There you can also see support for Darwin and os400 embedded. Thanks you, Jan -Original Message- From: Fraser Adams [mailto:fraser.ad...@blueyonder.co.uk] Sent: Saturday

Re: QPID C++ broker monitoring and management

2014-03-10 Thread Robbie Gemmell
t;>>> >>>>> Hi Fraser, >>>>> >>>>>> Thank you for the change, it works fine, I just have to convert to >>>>>> Unix >>>>>> line endings. Yes, the cygpath must be called before you use it. What >>>>

Re: QPID C++ broker monitoring and management

2014-03-10 Thread Fraser Adams
omcat/trunk/bin/catalina.sh?view=log. There you can also see support for Darwin and os400 embedded. Thanks you, Jan -Original Message- From: Fraser Adams [mailto:fraser.ad...@blueyonder.co.uk] Sent: Saturday, March 08, 2014 2:12 PM To: users@qpid.apache.org Subject: Re: QPID C++ broker

Re: QPID C++ broker monitoring and management

2014-03-10 Thread Rob Godfrey
t;>> there any reason why you use Windows line endings? I do not have deep >>>> Cygwin knowledge, but all shell scripts that have Cygwin support inside, >>>> such as Tomcat catalina.sh, use Unix line endings. See >>>> http://svn.apache.org/viewvc/tomcat/trun

Re: QPID C++ broker monitoring and management

2014-03-10 Thread Fraser Adams
he.org/viewvc/tomcat/trunk/bin/catalina.sh?view=log. There you can also see support for Darwin and os400 embedded. Thanks you, Jan -Original Message- From: Fraser Adams [mailto:fraser.ad...@blueyonder.co.uk] Sent: Saturday, March 08, 2014 2:12 PM To: users@qpid.apache.org Subject: R

Re: QPID C++ broker monitoring and management

2014-03-10 Thread Rob Godfrey
; There you can also see support for Darwin and os400 embedded. >> >> Thanks you, Jan >> >> -Original Message- >>> From: Fraser Adams [mailto:fraser.ad...@blueyonder.co.uk] >>> Sent: Saturday, March 08, 2014 2:12 PM >>> To: users@qpid.apach

Re: QPID C++ broker monitoring and management

2014-03-10 Thread Fraser Adams
n and os400 embedded. Thanks you, Jan -Original Message- From: Fraser Adams [mailto:fraser.ad...@blueyonder.co.uk] Sent: Saturday, March 08, 2014 2:12 PM To: users@qpid.apache.org Subject: Re: QPID C++ broker monitoring and management Hi Jan, I've committed an update to QpidRestA

RE: QPID C++ broker monitoring and management

2014-03-10 Thread Jan Bares
nal Message- > From: Fraser Adams [mailto:fraser.ad...@blueyonder.co.uk] > Sent: Saturday, March 08, 2014 2:12 PM > To: users@qpid.apache.org > Subject: Re: QPID C++ broker monitoring and management > > Hi Jan, > I've committed an update to QpidRestAPI.sh on trunk. Could

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-09 Thread Rob Godfrey
On 9 March 2014 12:02, Fraser Adams wrote: > On 09/03/14 10:24, Rob Godfrey wrote: > >> Sorry for all the small posts... not sure when boarding is going to be >> called... so sending things as soon as they are almost coherent :-) >> > You are a crazy man Mr Godfrey :-) > > > Ok... I'll take a qu

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-09 Thread Fraser Adams
On 09/03/14 10:24, Rob Godfrey wrote: Sorry for all the small posts... not sure when boarding is going to be called... so sending things as soon as they are almost coherent :-) You are a crazy man Mr Godfrey :-) Ok... I'll take a quick look now and at the various airports at which I'm going to

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-09 Thread Rob Godfrey
Sorry for all the small posts... not sure when boarding is going to be called... so sending things as soon as they are almost coherent :-) On 9 March 2014 11:12, Rob Godfrey wrote: > > > > On 9 March 2014 10:57, Rob Godfrey wrote: > >> Ok... I'll take a quick look now and at the various airport

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-09 Thread Rob Godfrey
On 9 March 2014 10:57, Rob Godfrey wrote: > Ok... I'll take a quick look now and at the various airports at which I'm > going to be at during the day > > -- Rob > On 9 Mar 2014 10:22, "Fraser Adams" wrote: > >> I took another look at this - there's definitely still a few problems >> with the

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-09 Thread Rob Godfrey
Ok... I'll take a quick look now and at the various airports at which I'm going to be at during the day -- Rob On 9 Mar 2014 10:22, "Fraser Adams" wrote: > I took another look at this - there's definitely still a few problems with > the bindings. I think that the disparity between the bindin

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-09 Thread Fraser Adams
I took another look at this - there's definitely still a few problems with the bindings. I think that the disparity between the bindingCount attribute and the reported bindings is almost certainly due to the removal of default.direct not being fully reflected everywhere, however there are other

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-08 Thread Fraser Adams
Hey Rob, It's looking a lot better, but I don't think it's quite there yet - I seem to be seeing a mismatch between the bindingCount property of queues and the actual bindings I'm seeing and I don't seem to be seeing bindings at all when I navigate from the qmf.default.direct and qmf.default.t

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-08 Thread Rob Godfrey
OK... I've made some changes which will hopefully correctly call the child added / removed at appropriate times for consumer/binding and session creation... Let me know if you are still seeing issues (though I'm not going to be around much for the rest of the weekend... travelling tmr) -- Rob O

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-08 Thread Rob Godfrey
On 8 March 2014 18:09, Fraser Adams wrote: > On 08/03/14 16:16, Rob Godfrey wrote: > >> So... looking at it now... I think bits of it were broken before (the >> sessions on connections thing is horribly broken and always has been), but >> it was broken a little bit more by some of the refactoring

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-08 Thread Fraser Adams
On 08/03/14 16:16, Rob Godfrey wrote: So... looking at it now... I think bits of it were broken before (the sessions on connections thing is horribly broken and always has been), but it was broken a little bit more by some of the refactoring changes. I certainly *used* to get enough info to be ab

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-08 Thread Rob Godfrey
So... looking at it now... I think bits of it were broken before (the sessions on connections thing is horribly broken and always has been), but it was broken a little bit more by some of the refactoring changes. I'll try to apply something today that will not only unbreak the stuff I broke, but g

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-08 Thread Fraser Adams
In case it helps: I've enabled some debug code to my public void childAdded(final ConfiguredObject object, final ConfiguredObject child) and when I connect from a QMF Console I see childAdded: ConnectionAdapter.192.168.1.108:51674 childAdded: StandardQueue.TempQueue6be15a5e-e2e8-455d-91fe-f9

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-08 Thread Rob Godfrey
OK - then that is probably more obvious to fix :-) Just need to sort out one last thing with logging, then I'll get the bindings and consumers working through the model (and write some tests to catch this error for next time) -- Rob On 8 March 2014 14:50, Fraser Adams wrote: > On 08/03/14 13:

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-08 Thread Fraser Adams
On 08/03/14 13:46, Rob Godfrey wrote: Are the issues you are seeing just on Queue (i.e. getBindings() works ok on Exchange, getSubscriptions() works ok on sessions...)? I'll take a look in a sec... and once I isolate the problem that'll be worth a few more tests so it doesn't slip through the ne

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-08 Thread Rob Godfrey
Are the issues you are seeing just on Queue (i.e. getBindings() works ok on Exchange, getSubscriptions() works ok on sessions...)? I'll take a look in a sec... and once I isolate the problem that'll be worth a few more tests so it doesn't slip through the net next time... -- Rob On 8 March 2014

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-08 Thread Fraser Adams
Hey Rob, Another issue I've had with the refactoring due to QPID-5578 is that I no longer see Binding and Subscription information. I use the ConfigurationChangeListener to synchronise the internal state and I strongly suspect that you've remo

Re: QPID C++ broker monitoring and management

2014-03-08 Thread Fraser Adams
Hi Jan, I've committed an update to QpidRestAPI.sh on trunk. Could you please check to see if that works and give me a yell. If it works then I'll update the other scripts. BTW I've added the Cygwin stuff *after* I set CLASSPATH to CLASSPATH=$QMF2_LIBS/qpid-client-patch.jar:$CLASSPATH:$QMF2_L

RE: QPID C++ broker monitoring and management

2014-03-07 Thread Jan Bares
Thanks Fraser, I agree with your points including fingers :-) Using ACLs is the right way, I am still learning new features of QPID. Kind regards, Jan > Hi Jan, > There are no *plans* as such - mainly due to limited time and the fact > that it hasn't been a priority for me (I'm trying to focus o

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-07 Thread Rob Godfrey
It bugs me because in some ways I'd like to stop supporting building on 1.6 (it's been EOL'd by Oracle for a bit now) (albeit we'd still want to ensure that the built jars would work under 1.6 - which in this case they would). Fighting all the different versions of the compiler with their own parti

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-07 Thread Fraser Adams
Might be worth adding a comment to org.apache.qpid.server.model.Queue to reflect this. did I mention comments. Frase On 07/03/14 15:26, Rob Godfrey wrote: .. and to answer myself for a third time... yes that was the issue both AMQQueue (the "implementation" interface) and Queue (the "mod

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-07 Thread Rob Godfrey
.. and to answer myself for a third time... yes that was the issue both AMQQueue (the "implementation" interface) and Queue (the "model" interface) define getConsumers(), with each returning a collection of their own brand of Consumers AbstractQueue (the concrete implementation) implements bo

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-07 Thread Fraser Adams
On 07/03/14 15:13, Rob Godfrey wrote: On 7 March 2014 16:07, Fraser Adams wrote: Why have you removed getConsumers() from org.apache.qpid.server.model. Queue? I was using that! You can do for(Consumer subscription : queue.getChildren(Consumer.class)) I would think... Not sure why it got r

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-07 Thread Rob Godfrey
I'll set myself up a clean environment on a VM to see if I can get the getConsumers() restored... it may have been one of the things that the 1.6 compiler was getting upset about, despite working fine under 1.7... -- Rob On 7 March 2014 16:13, Rob Godfrey wrote: > > > > On 7 March 2014 16:07,

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-07 Thread Rob Godfrey
On 7 March 2014 16:07, Fraser Adams wrote: > Why have you removed getConsumers() from org.apache.qpid.server.model. > Queue? > > I was using that! > > for (Consumer subscription : queue.getConsumers()) > { > childAdded(queue, subscri

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-07 Thread Fraser Adams
Why have you removed getConsumers() from org.apache.qpid.server.model.Queue? I was using that! for (Consumer subscription : queue.getConsumers()) { childAdded(queue, subscription); } So in order to be able to n

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-07 Thread Fraser Adams
Re my last message, I also noticed that if I did private final Broker _broker; // Passed in by Plugin bootstrapping. instead of private final Broker _broker; // Passed in by Plugin bootstrapping. then for (VirtualHost vhost : _broker.getVirtualHosts()) seems to compile - I've

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-07 Thread Fraser Adams
Hi again Rob, I'm a bit befuddled. I'm seeing a bunch of errors like: [javac] /home/fadams/qpid/qpid-trunk/qpid/tools/src/java/src/qpid-broker-plugins-management-qmf2/java/org/apache/qpid/server/qmf2/QmfManagementAgent.java:218: incompatible types [javac] found : java.lang.Object

Re: QPID C++ broker monitoring and management

2014-03-07 Thread Robbie Gemmell
We will do exactly that as part of https://issues.apache.org/jira/browse/QPID-5610 Robbie On 7 March 2014 11:38, Rob Godfrey wrote: > Hi Fraser, > > sorry - I had it on my list for today to look to see if any of the recent > changes had broken the build for the QMF plugin... > > we really need

Re: Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-07 Thread Rob Godfrey
On 7 March 2014 12:47, Fraser Adams wrote: > On 07/03/14 11:38, Rob Godfrey wrote: > >> Hi Fraser, >> >> sorry - I had it on my list for today to look to see if any of the recent >> changes had broken the build for the QMF plugin... >> >> we really need to see if we can integrate the QMF plugin i

Java Broker plugin change - was Re: QPID C++ broker monitoring and management

2014-03-07 Thread Fraser Adams
On 07/03/14 11:38, Rob Godfrey wrote: Hi Fraser, sorry - I had it on my list for today to look to see if any of the recent changes had broken the build for the QMF plugin... we really need to see if we can integrate the QMF plugin into the Jenkins builds or something so we get informed when it

Re: QPID C++ broker monitoring and management

2014-03-07 Thread Rob Godfrey
Hi Fraser, sorry - I had it on my list for today to look to see if any of the recent changes had broken the build for the QMF plugin... we really need to see if we can integrate the QMF plugin into the Jenkins builds or something so we get informed when it gets broken -- Rob On 7 March 2014 10

RE: QPID C++ broker monitoring and management

2014-03-07 Thread Jan Bares
No problem at all, I am on C++ broker and QMF GUI is nice gem, I should have look into it sooner. I will also try to use ACLs but right now I am on other tasks too, will let you know. Kind regards, Jan > Hi Jan, > for info I was planning on taking a look at this just now, but I've just > done a

Re: QPID C++ broker monitoring and management

2014-03-07 Thread Fraser Adams
Hi Jan, for info I was planning on taking a look at this just now, but I've just done an svn update and unfortunately there have been a number of changes to the Java Broker Management API that have caused the QMF plugin to break badly. I'll get the Cygwin tweaks done when I manage to fix what's

RE: QPID C++ broker monitoring and management

2014-03-05 Thread Jan Bares
Hi, See inline > Hi Jan, > Just looked through your Jira. I'm not familiar with Cygwin I'm afraid - > I tend to do all my stuff on a Linux box, are you saying that all I need > to do is something like (not sure the best place to put your tweak > without trying it): > > > WHEREAMI=`dirname $0` > i

Re: QPID C++ broker monitoring and management

2014-03-05 Thread Fraser Adams
s too? For me, and I hope for other users too, it would suffice to have read-only users and read/write (modify) users. Kind regards, Jan -Original Message- From: Gordon Sim [mailto:g...@redhat.com] Sent: Wednesday, March 05, 2014 12:10 PM To: users@qpid.apache.org Subject: Re: QPID C++ broke

Re: QPID C++ broker monitoring and management

2014-03-05 Thread Fraser Adams
Switch to Unix EOL solves the problem. Please add support for Cygwin: https://issues.apache.org/jira/browse/QPID-5604 Kind regards, Jan -Original Message- From: Gordon Sim [mailto:g...@redhat.com] Sent: Wednesday, March 05, 2014 12:10 PM To: users@qpid.apache.org Subject: Re: QPID C++ bro

RE: QPID C++ broker monitoring and management

2014-03-05 Thread Jan Bares
014 12:10 PM > To: users@qpid.apache.org > Subject: Re: QPID C++ broker monitoring and management > > On 03/05/2014 09:55 AM, Jan Bares wrote: > >> https://svn.apache.org/repos/asf/qpid/trunk/qpid/tools/src/java > > > > Thanks. I see there are some problems wit

RE: QPID C++ broker monitoring and management

2014-03-05 Thread Jan Bares
ease add support for Cygwin: https://issues.apache.org/jira/browse/QPID-5604 Kind regards, Jan > -Original Message- > From: Gordon Sim [mailto:g...@redhat.com] > Sent: Wednesday, March 05, 2014 12:10 PM > To: users@qpid.apache.org > Subject: Re: QPID C++ broker monitoring and

Re: QPID C++ broker monitoring and management

2014-03-05 Thread Gordon Sim
On 03/05/2014 09:55 AM, Jan Bares wrote: https://svn.apache.org/repos/asf/qpid/trunk/qpid/tools/src/java Thanks. I see there are some problems with Cygwin compatibility, where can I post patches or suggestions? You can use JIRA and or this list (there is a 'Java Tools' component in JIRA). F

RE: QPID C++ broker monitoring and management

2014-03-05 Thread Jan Bares
> https://svn.apache.org/repos/asf/qpid/trunk/qpid/tools/src/java Thanks. I see there are some problems with Cygwin compatibility, where can I post patches or suggestions? Regards, Jan DISCLAIMER WOOD & Company Financial Services, a.s. and its branche

Re: QPID C++ broker monitoring and management

2014-03-04 Thread Robbie Gemmell
It would need to be done ad-hoc at present, the steps we use to generate and deploy the maven artifacts using the Ant build for the components in the main Java tree wont really work with the QMF bits because of the differing layout and build they use. This is something we will need to look at even

Re: QPID C++ broker monitoring and management

2014-03-04 Thread Jakub Scholz
It would be also nice to have the Java QMF library uploaded to Maven repositories similarly to the Java client. But I`m not sure how complicated that would be. Thanks & Regards Jakub On Tue, Mar 4, 2014 at 10:25 PM, Gordon Sim wrote: > On 03/04/2014 06:19 PM, Fraser Adams wrote: > >> I had *as

Re: QPID C++ broker monitoring and management

2014-03-04 Thread Gordon Sim
On 03/04/2014 06:19 PM, Fraser Adams wrote: I had *assumed* that because it was was on trunk it would be on a release - so I'm a bit confused if I'm honest. I've just checked and the first branch it's officially in is https://svn.apache.org/repos/asf/qpid/branches/0.24/ Sorry, my mistake. As

Re: QPID C++ broker monitoring and management

2014-03-04 Thread Robbie Gemmell
It is included in the full source release, http://www.apache.org/dyn/closer.cgi/qpid/0.26/qpid-0.26.tar.gz , it just hasn't got its own separate archive. Robbie On 4 March 2014 18:19, Fraser Adams wrote: > I had *assumed* that because it was was on trunk it would be on a release > - so I'm a bi

Re: QPID C++ broker monitoring and management

2014-03-04 Thread Fraser Adams
I had *assumed* that because it was was on trunk it would be on a release - so I'm a bit confused if I'm honest. I've just checked and the first branch it's officially in is https://svn.apache.org/repos/asf/qpid/branches/0.24/ Which is what I'd expect, not really sure what the score is with r

Re: QPID C++ broker monitoring and management

2014-03-04 Thread Gordon Sim
On 03/04/2014 08:48 AM, Jan Bares wrote: Is there any GUI based (web based) QPID management tool? Yes, Fraser Adams built a web based console for QMF. We don't seem to offer it in the releases yet (something we can fix soon perhaps, Justin, Fraser?), but you can get it from trunk (or any of t

QPID C++ broker monitoring and management

2014-03-04 Thread Jan Bares
Hi, Which tools do you use for monitoring? I would like to use something like Zabbix (www.zabbix.com) for QPID monitoring, should I use the command line tool like qpid-stat to gather statistics or is there better option? And what do you monitor? This pops out of my mind (besides log): * lingeri