From users-return-10123-apmail-qpid-users-archive=qpid.apache.org@qpid.apache.org Thu Mar 6 07:28:08 2014 Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A97D8105BF for ; Thu, 6 Mar 2014 07:28:08 +0000 (UTC) Received: (qmail 56627 invoked by uid 500); 6 Mar 2014 07:28:08 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 55971 invoked by uid 500); 6 Mar 2014 07:27:55 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 55960 invoked by uid 99); 6 Mar 2014 07:27:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Mar 2014 07:27:51 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jan.bares@wood.cz designates 194.213.49.250 as permitted sender) Received: from [194.213.49.250] (HELO gtsmail.wood.cz) (194.213.49.250) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Mar 2014 07:27:45 +0000 X-IronPort-AV: E=Sophos;i="4.97,598,1389740400"; d="scan'208";a="7942153" Received: from unknown (HELO pdcexc001.prague.wood.cz) ([10.101.10.31]) by gtsmail.wood.cz with ESMTP; 06 Mar 2014 08:27:25 +0100 Received: from PDCEXC001.prague.wood.cz ([::1]) by PDCEXC001.prague.wood.cz ([::1]) with mapi id 14.03.0123.003; Thu, 6 Mar 2014 08:27:24 +0100 From: Jan Bares To: "users@qpid.apache.org" Subject: RE: QPID C++ broker monitoring and management Thread-Topic: QPID C++ broker monitoring and management Thread-Index: Ac83hnjqH66EwpioRHWawplhtpukLQAD38+AADCwTnAAAJTugAAGgUjwAAju9QAAHOWwAA== Date: Thu, 6 Mar 2014 07:27:23 +0000 Message-ID: <5BDF75D02AC1DB4C9DF96C0D0EB948BAABA38F05@PDCEXC001.prague.wood.cz> References: <5BDF75D02AC1DB4C9DF96C0D0EB948BAABA3857D@PDCEXC001.prague.wood.cz> <5315BB5B.7040306@redhat.com> <5BDF75D02AC1DB4C9DF96C0D0EB948BAABA38C2A@PDCEXC001.prague.wood.cz> <53170601.4060401@redhat.com> <5BDF75D02AC1DB4C9DF96C0D0EB948BAABA38D2F@PDCEXC001.prague.wood.cz> <53176D9C.9060901@blueyonder.co.uk> In-Reply-To: <53176D9C.9060901@blueyonder.co.uk> Accept-Language: en-US, cs-CZ Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.2.145] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org 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=3D`dirname $0` > if [ -z "$QMF2_HOME" ]; then > export QMF2_HOME=3D`cd $WHEREAMI/../ && pwd` > fi > > QMF2_LIBS=3D$QMF2_HOME/build/lib > > CLASSPATH=3D$QMF2_LIBS/qpid-client- > patch.jar:$CLASSPATH:$QMF2_LIBS/qmf2.jar > > # Get the log level from the AMQJ_LOGGING_LEVEL environment variable. > if [ -n "$AMQJ_LOGGING_LEVEL" ]; then > PROPERTIES=3D-Damqj.logging.level=3D$AMQJ_LOGGING_LEVEL > fi > > cygwin=3Dfalse; > case "`uname`" in > CYGWIN*) cygwin=3Dtrue;; > esac Standard way to check if running of Cygwin, the uname returns something lik= e: CYGWIN_NT-6.1-WOW64 I suggest to place this check to the script begin. > > if $cygwin; then > CLASSPATH=3D$(cygpath -wp $CLASSPATH) > fi On Cygwin full paths begin with cygdrive and drive name, e.g. "/cygdrive/c/= Programs.Java/RedHat/qpid". Windows programs doesn't understand it, cygpath= converts the path to windows path including conversion of ":" to ";" > > > java -cp $CLASSPATH $PROPERTIES > org.apache.qpid.qmf2.tools.ConnectionAudit "$@" It works for me, if it works for you too, this will help a lot. I am on tru= nk, I can check immediately. Thanks, Jan DISCLAIMER ________________________________ WOOD & Company Financial Services, a.s. and its branches are autho= rized and regulated by the CNB as Home State regulator and in Poland by the= KNF, in Slovakia by the NBS and in the UK by the FCA as Host State regulat= ors. For further information about WOOD & Co., its investment services, fin= ancial instruments and associated risks, safeguard client assets (incl. com= pensation schemes) and contractual relationship please see our website at w= ww.wood.com under section Corporate Governance. Unless otherwise stated, this transmission is neither an offer nor= the solicitation of an offer to sell or purchase any investment. All estim= ates, opinions and other information contained herein are subject to change= without notice and are provided in good faith but without legal responsibi= lity or liability. Opinion may be personal to the author and may not reflec= t the opinions of WOOD & Co. Communications from sales persons, sales trade= rs or traders should not be regarded as investment research and may contain= opinions or trading ideas which are different from WOOD & Co. investment r= esearch opinions. This e-mail and any attachments are confidential and may be privil= eged or otherwise protected from disclosure. If you are not a named address= ee you must not use, disclose, distribute, copy, print or rely on this e-ma= il and any of its attachments. Please notify the sender that you have recei= ved this email by mistake by replying to the email, and then delete the ema= il and any copies of it. Although WOOD & Co. routinely screens e-mails for = viruses, addressees should scan this e-mail and any attachments for viruses= . WOOD & Co. makes no representation or warranty as to the absence of virus= es in this e-mail or any attachments. Please note that to ensure regulatory= compliance and for the protection of our clients and business, we may moni= tor and read e-mails sent to and from our server(s). ________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org