summaryrefslogtreecommitdiff
path: root/qpid/tools/src
Commit message (Collapse)AuthorAgeFilesLines
...
* NO-JIRA: HA fix hanging ha_tests.test_failover_send_receive on RHEL5Alan Conway2014-05-011-1/+3
| | | | | | | | | | | | | The test was hanging because of a python construct not available in 2.4. It was causing an exception in a strange place because this bit of code was imported at runtime, and that was hanging the test. Fixed and did some cleanup to avoid such mysterious hangs in future: - Fixed qpidtoollibs/config.py to work with python 2.4. - Import qpid-ha script at import time rather than runtime. - Fix Popen.teardown logic to avoid hanging if a process can't be killed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591794 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA qpid-ha usability: automatically use qpidd.conf if no --broker ↵Alan Conway2014-04-251-1/+13
| | | | | | option. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1590118 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA minor cleanup of qpid-ha toolAlan Conway2014-04-241-22/+9
| | | | | | | | | | - Remove some dead code. - Removed "set" command - not ready for production. All settings in qpidd.conf. - Removed related tests in ha_tests - Improved help on promote command. - Made option group for common broker connection options. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1589834 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5719: HA becomes unresponsive once any of the brokers are SIGSTOPedAlan Conway2014-04-241-22/+48
| | | | | | | | | | | | | | | | | | | | | | | | - Added timeout to qpid-ha. - qpidd init script pings broker to verify it is not hung. - updated documentation in qpid/doc/book/src/cpp-broker/Active-Passive-Cluster.xml. The new results for the cases mentioned in the bug: a] stopped ALL brokers: rgmanager restarts the entire cluster but data is lost. Equivalent to killing all the brokers at once. This does not affect quorum because only qpidd services are affected, not other services managed by cman. b] stopped the primary: rgmanager restarts the primary after a timeout and promotes one of the backups. c] stopped a backup: rgmanager restarts the backups after a timeout. Clients that are actively sending messages may see a delay while backup is restarted. Note you need to set link-heartbeat-interval in qpidd.conf. The default is very high (120 seconds), it should be set lower to see recovery from sigstop in a reasonable time. See the updated documentation in qpid/doc/book/src/cpp-broker/Active-Passive-Cluster.xml. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1589807 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5711: HA cannot promote primary if SASL security is enabled.Alan Conway2014-04-232-7/+52
| | | | | | | | | | | | Updated the qpid-ha tool and qpidd init scripts to handle SASL authentication. The qpid-ha script as as called by the qpidd-primary init script now reads authentication settings from the qpidd.conf file and uses them to connect to the local broker. - qpidd-primary script respects prefix: use installed location for qpidd script, not "service" call - qpid-ha added --config option qpid-ha options to use qpidd.conf for local broker connection. - qpid-ha --all use user/pass for each broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1589391 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5560: HA tests do not use AMQP 1.0Alan Conway2014-04-071-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The HA tests were using only AMQP 0-10. Modified the tests to use AMQP 1.0 if available (still use 0-10 if 1.0 is not available) Fixed bugs uncovered both in the tests and in the AMQP 1.0 implementation. Summary of changes: - brokertest.py: configurable support for of swig vs. native and amqp0-10 vs. 1.0 - default to swig+amqp1.0 if swig is available, native+amqp0-10 otherwise - qpidtoollibs/broker.py: enable use of swig client with BrokerAgent - Swig python client: - support for passing client_properties/properties. - expose AddressHelper pn_data read/write as PnData helper class - set sender/receiver capacity on creation - limited disposition support - rejected messages. - support for additional timeout parameters - expose messaging::Logger, allow log configuration to be set from python. - ha_tests.py: - bind, delete policies not supported by AMQP 1.0, switched to using BrokerAgent QMF. - pass protocol:amqp1.0 connection-option to c++ test clients (qpid-send, qpid-receive) - TX tests forsce use of 0-10 protocol (but still with Swig client if enabled.) - Broker fixes: - Queue::Settings::isTemporary was set in the 0-10 SessionAdapter, moved to Broker::createQueue. - broker::amqp::Session was always setting an exclusive owner in createQueue git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1585588 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5660: [legacystore] Python tests fail with syntax error on Python 2.4Kim van der Riet2014-04-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1584347 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5362: Bugfix for qpid_qls_analyzeKim van der Riet2014-04-011-15/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1583778 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4738: Fix qpid-ha status --all when used with a standalone broker.Alan Conway2014-03-241-2/+2
| | | | | | | Previously qpid-ha status --all on a standalone broker produced no output. Now it prints the status of the standalone broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1580962 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5643: qpid-route route map does not pass credentials to other brokers ↵Pavel Moravec2014-03-241-1/+3
| | | | | | in the route map git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1580827 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5362: No store tools exist for examining the journals - Bugfix and ↵Kim van der Riet2014-03-186-852/+1224
| | | | | | reorganization of qls python modules. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1578899 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5604: Update comments to If we're on Cygwin we need to convert to ↵Fraser Adams2014-03-118-8/+8
| | | | | | Windows path. as per Jan's suggestion git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1576460 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5604: Added Cygwin support to all the scripts in qpid/tools/src/java/binFraser Adams2014-03-108-6/+84
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1576020 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5604: Added the Cygwin patch to QpidRestAPI.sh initially to see if it ↵Fraser Adams2014-03-081-0/+10
| | | | | | works - it doesn't break on Linux, but I can't test Cygwin myself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1575537 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5614: Fix problems caused by changes to Java Broker Logging in QPID-5611Fraser Adams2014-03-081-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1575533 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5614: Initial fix of the issues. The QMF2 Plugin compiles again and ↵Fraser Adams2014-03-0810-161/+156
| | | | | | mostly works, but there are issues with the bindings and subscriptions - though I think that this might be a problem with the Java Broker Management Model git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1575530 13f79535-47bb-0310-9956-ffa450edef68
* JIRA:QPID-5555 Get the QMF plugin working again. There was still a gotcha on ↵Fraser Adams2014-02-235-12/+45
| | | | | | the ExclusivityPolicy, which compiled OK but gave ClassCastExceptions. This commit sorts that problem and also tweaks the returned port to report the TCP based AMQP port not the WS one git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1571021 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5555 : fix breakage in the broker QMF plugin caused by rework to broker ↵Robert Godfrey2014-02-184-6/+11
| | | | | | internals git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1569525 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5362: Bugfixes and enhancements for qpid_qls_analyzeKim van der Riet2014-02-054-65/+150
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1564808 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5541: HA incorrect options for expected-backups in qpid-ha toolAlan Conway2014-02-051-3/+0
| | | | | | Remove invalid --backup option from qpid-ha set and query commands. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1564797 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5530: [legacystore] store_chk raises "Operation on non-existent record: ↵Pavel Moravec2014-02-011-2/+11
| | | | | | operation=unlock; rid=.." on aborted DTX transaction in TplStore git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1563387 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5362: Bugfixes and enhancements to qpid_qls_analyzeKim van der Riet2014-01-274-153/+398
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1561848 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5362: Bugfixes for journal analysis tool qpid_qls_analyzeKim van der Riet2014-01-221-6/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1560530 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5470: Improve QMF README documentation and update JavaDocs to reflect ↵Fraser Adams2014-01-1122-35/+182
| | | | | | new location of QMF2 API docs git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1557407 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5362: WIP: Linearstore: No store tools exist for examining the ↵Kim van der Riet2014-01-095-0/+1183
| | | | | | journals. This checkin is work-in-progress. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1556888 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5336: Don't hardcode location of bash in shell scriptsAndrew Stitcher2013-11-1423-23/+23
| | | | | | | As bash isn't specified by POSIX its location is variable. Specifically under BSDs it isn't found in /bin/bash. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1541763 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5321: fix exception handling in qpid-tool. Fix by Jakub ScholzGordon Sim2013-11-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1540793 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5277: handle case where objects do not all have value for given propertyGordon Sim2013-11-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1538694 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5277: support for generic add, del and listGordon Sim2013-11-042-1/+69
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1538626 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5231: Fix QMF code to use qpid_messaging rather than cqpid.Darryl L. Pierce2013-10-151-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1532324 13f79535-47bb-0310-9956-ffa450edef68
* Revert "QPID-5213: Fix QMF code to use qpid_messaging rather than cqpid."Darryl L. Pierce2013-10-151-2/+2
| | | | | | | | This reverts commit 067e9aa1656b9f92e5910bbb6d530f9df6d0dad3. It had the wrong JIRA number in the commit. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1532323 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5213: Fix QMF code to use qpid_messaging rather than cqpid.Darryl L. Pierce2013-10-141-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1532049 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5215: Import rest of legacy store tests and utilities from original codeAndrew Stitcher2013-10-086-0/+2322
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1530301 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5197: Remove obsolete --cluster-durable/persistLastNode options in java ↵Alan Conway2013-10-044-40/+3
| | | | | | code. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1529200 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5197: Remove obsolete --cluster-durable/persistLastNode options in C++ ↵Alan Conway2013-10-041-9/+1
| | | | | | and python. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1529198 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5169: CRAM-MD5, not CRAM-MD; a patch from Ernie AllenJustin Ross2013-09-2614-21/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1526637 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5152: handling of exchange properties for create-on-demand with 1.0Gordon Sim2013-09-201-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1525091 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove obsolete qpid-cluster and qpid-cluster-store tools.Alan Conway2013-09-033-402/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1519739 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5109: remove invalid options from qpid-configGordon Sim2013-09-021-7/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1519480 13f79535-47bb-0310-9956-ffa450edef68
* JIRA: QPID-5093 Adding ASF licence note to a bunch of html/css/js files that ↵Fraser Adams2013-08-2320-105/+328
| | | | | | were missing it git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1516919 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA adding ↵Fraser Adams2013-07-191-0/+118
| | | | | | tools/src/java/src/qpid-broker-plugins-management-qmf2/java/org/apache/qpid/server/qmf2/agentdata/Session.java to source control unfortunately I'd missed that previously git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1504869 13f79535-47bb-0310-9956-ffa450edef68
* JIRA: QPID-5005 The Java Broker Plugin API has changed to need overridden ↵Fraser Adams2013-07-191-0/+6
| | | | | | getType() method in instances of PluginFactory. This commit adds getType() to QmfManagementFactory.java git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1504839 13f79535-47bb-0310-9956-ffa450edef68
* No JIRA: Refactored QMF GUI qmf-ui.js to remove a lot of copy and paste ↵Fraser Adams2013-06-232-178/+101
| | | | | | reuse when rendering QMF objects in various pages. I've added a qmfui.renderObject and qmfui.renderArray method to handle these general patterns and hopefully improve maintainability. There's no new features in this update, just some slightly more readable code git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1495854 13f79535-47bb-0310-9956-ffa450edef68
* No Jira: Refactored Exchange and Queue selection dropdowns, which were a ↵Fraser Adams2013-06-163-399/+207
| | | | | | little too much like -copy and paste reuse- the resulting change hasn't added any functionality, but will help when I get round to adding federation support git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1493504 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4650: C++ Broker method to redirect messages between two queues.Charles E. Rolke2013-05-231-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1485836 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4806: Suppress traceback when access denied; a patch from Ernie AllenJustin Ross2013-05-021-3/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1478311 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4805: Don't override qpidd.conf defined values for journal files; a ↵Justin Ross2013-05-021-6/+10
| | | | | | patch from Ernie Allen git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1478309 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4783: Improve Connection statistics in Java Broker QmfManagementAgentFraser Adams2013-04-281-17/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1476792 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fixed QmfManagementPlugin to cater for change made to ↵Fraser Adams2013-04-271-1/+1
| | | | | | AbstractPluginAdapter Constructor on r1476544 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1476550 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4760: Associate Java Broker QueueAdapter and SessionAdapter via ↵Fraser Adams2013-04-261-13/+21
| | | | | | ConsumerAdapter git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1476219 13f79535-47bb-0310-9956-ffa450edef68