summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3995 - Cleans up queues created during Cucumber feature tests Ted Ross2012-05-256-12/+29
| | | | | | | Applied patch from Darryl Pierce git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342786 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: eliminate dead code and potential null pointer dereference as found ↵Kenneth Anthony Giusti2012-05-251-23/+19
| | | | | | by Coverity git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342759 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: fix some defects found by Coverity static analysis scan of C++ codeKenneth Anthony Giusti2012-05-2511-13/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342742 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: [Java Broker] BDB HA.Keith Wall2012-05-2514-75/+237
| | | | | | | | | | | | Close BDB environment in the event of unexpected exceptions during commit/begin tran. Install BDB exception listener to log exception arising from its own threads. Default BDB parameters for sensible defaults for standard Qpid use-cases. Ensure that closeInternal always closes the environment. Added MBean operation descriptions. Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342712 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4012: update the priority queue entry sub lists to maintain a record of ↵Robert Gemmell2012-05-251-4/+13
| | | | | | the priority index they represent, refer to this when comparing queue entries in order to avoid using the metadata later than is possible git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342667 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3767: add additional test case for link sharing.Kenneth Anthony Giusti2012-05-241-0/+113
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342442 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: Remove BDB StateChangeListener during Environment#close() to ↵Keith Wall2012-05-241-73/+108
| | | | | | avoid processing an unnecessary DETACHED event (which was causing a stack trace). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342169 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Rearrange memory status codeAndrew Stitcher2012-05-243-5/+15
| | | | | | Currently only Linux has a useful implementation and everyone else uses a null implementation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342137 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Rearrange CMake a bit to improve the chances of compiling on ↵Andrew Stitcher2012-05-241-9/+12
| | | | | | non-Linux Unix git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342136 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove final vestiges of non-portable alloca().Andrew Stitcher2012-05-243-11/+9
| | | | | | Fixed unit_test changes to avoid incorrect array initialisation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342135 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3004: Keep the code compatible with clang C++ compiler (and probably ↵Andrew Stitcher2012-05-225-21/+17
| | | | | | | | | | | gcc 4.7 too) Fix up intrusive_ptr_add_ref(RefCounted*)/intrusive_ptr_release(RefCounted*) so they are now found by argument dependent lookup. Trivial: Added missing newline at end of file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1341608 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: BDB HA. Make passivation async to avoid holding up the BDB ↵Keith Wall2012-05-227-173/+175
| | | | | | | | | | thread. Introduce VirtualHost ERROR state to be used when virtual host is unable to activate or passivate itself completely. Change MULTISYNC mode to use WRITE_NO_SYNC. Stop relying on Monitor nodes to perform some tests. Work of Robbie Gemmell <robbie@apache.org> and myself. squashme git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1341584 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Renamed brokers and public-brokers to brokers-url and public-url ↵Alan Conway2012-05-226-61/+66
| | | | | | for clarity. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1341581 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA backups pass identifying info to primary.Alan Conway2012-05-2214-28/+210
| | | | | | Pass hostname, management UUID and status in link connection arguments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1341580 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2518: Qpid C++ broker can easily be blocked by client trying to connect ↵Andrew Stitcher2012-05-214-15/+61
| | | | | | | | over SSL port Implement timed disconnect for SSL git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1341263 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2518: Qpid C++ broker can easily be blocked by client trying to connect ↵Andrew Stitcher2012-05-216-16/+75
| | | | | | | | over SSL port Implement timed disconnect for TCP and for SSL/TCP mux git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1341262 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Implement abort for ssl connectionsAndrew Stitcher2012-05-213-2/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1341261 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4011: TestIsLocalHost unit_test fails with if machine name resolves to ↵Andrew Stitcher2012-05-211-1/+1
| | | | | | | | loopback address Oops - ntohl() can be a macro so specifying ::ntohl() can fail in optimised builds. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1341246 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4013: Windows Broker SSL is more difficult to use than necessary and ↵Andrew Stitcher2012-05-211-4/+23
| | | | | | possibly less secure than possible git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1341229 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3994: fix -Doptional=true enabling of the optional bdbstore dependency ↵Robert Gemmell2012-05-202-0/+12
| | | | | | in the systests/perftests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1340855 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4011: TestIsLocalHost unit_test fails with if machine name resolves to ↵Andrew Stitcher2012-05-182-11/+30
| | | | | | | | loopback address QPID-3404 - This change also adds support for IPv6 interface addresses to getLocalIpAddresses git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1340279 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4005: Eliminate "using" especially "using namespace" from header fileAndrew Stitcher2012-05-182-20/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1340278 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4005: Eliminate "using" especially "using namespace" from header fileAndrew Stitcher2012-05-184-46/+58
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1340277 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4005: Eliminate "using" especially "using namespace" from header fileAndrew Stitcher2012-05-186-19/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1340276 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4010 : [Java broker] Add LDAP authenticationRobert Godfrey2012-05-183-3/+406
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1340248 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3973 : [Java] Add support for non JKS key store types (patch supplied ↵Robert Godfrey2012-05-189-28/+65
| | | | | | by jsightle@redhat.com) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1340191 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: Fix failing HA tests due to spaces in filenames on Apache CI serversKeith Wall2012-05-184-12/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1340095 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4007 : [Java Broker] Fix pointless equality test in Kerberos ↵Robert Godfrey2012-05-181-1/+1
| | | | | | authentication support git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1340030 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4008: added check for INVALID_SOCKET similar to Linux implementationClifford Allan Jansen2012-05-171-7/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339927 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4007 : [Java Broker] Add Kerberos authentication supportRobert Godfrey2012-05-172-2/+230
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339840 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: exclude systests until updated to account for the paths found in ↵Robert Gemmell2012-05-171-0/+3
| | | | | | the ASF Jenkins test matrix workspaces git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339789 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA failover test, increase timeout to avoid false failures.Alan Conway2012-05-171-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339757 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: add support for using BDB HA to form an active-passive cluster ↵Robert Gemmell2012-05-1770-725/+3153
| | | | | | | | | | | for persistent messaging - Includes support for setting BDB configuration parameters via the store configuration, both for the existing store and the new HA variant. - Removes the MessageStoreFactory and reverts store configuration to historical values. Applied patch from Keith Wall, Andrew MacBean <andymacbean@gmail.com>, Oleksandr Rudyy <orudyy@gmail.com>, Philip Harvey <phil@philharveyonline.com>, and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339728 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4005: Eliminate "using" especially "using namespace" from header fileAndrew Stitcher2012-05-171-0/+2
| | | | | | - Fix windows breakage git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339696 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3997 : [Java Broker] add ability to configure multiple ↵Robert Godfrey2012-05-1715-42/+781
| | | | | | Authenticationmanagers and map different AuthenticationManagers to different ports git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339578 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4005: Eliminate "using" especially "using namespace" from header fileAndrew Stitcher2012-05-1631-31/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339403 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed unused FileAndrew Stitcher2012-05-162-71/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339359 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4004: Cruft in qpid::framing::Buffer class should be removedAndrew Stitcher2012-05-167-64/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339358 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA don't replicate excluseive, auto-delete, non-timeout queues.Alan Conway2012-05-163-15/+53
| | | | | | | | | Such queues don't need to be replicated because they are destroyed when as the owning session disconnects, so won't survive a failover. This eliminsates managment subscriptio queues from replication. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339268 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603 HA broker backup/primary ready checks. Repair r1338889 for Windows.Charles E. Rolke2012-05-162-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339204 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3997 : [Java Broker] Refactor code to make all calls to ↵Robert Godfrey2012-05-1613-25/+82
| | | | | | | | getAuthenticationManager() pass in local socket address (note that this commit does not actually implement per socket authentication managers) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339146 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: reuse the properties from build.deps, remove duplication in ↵Robert Gemmell2012-05-151-16/+3
| | | | | | build.xml file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338951 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA rename "promoting" to "recovering"Alan Conway2012-05-156-15/+15
| | | | | | Better term, a broker in failover recovers to become the primary, hence recovering. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338898 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA remove backup Replicator code to track unready queues.Alan Conway2012-05-159-64/+24
| | | | | | Tracking readiness will be done on the primary with qmf notification to backup. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338894 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Test fixes to ha_tests.pyAlan Conway2012-05-152-44/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338893 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix inconsistent use of bridge-name and queue-name for bridge ↵Alan Conway2012-05-151-1/+1
| | | | | | sessions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338892 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA backup brokers don't connect to self when searching for primary.Alan Conway2012-05-155-14/+32
| | | | | | Also: BrokerReplicator destroys bridge in destructor. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338891 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA primary marks ReplicatingSubscription ready immediately if ↵Alan Conway2012-05-156-106/+123
| | | | | | queue is empty. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338890 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA broker backup/primary ready checks.Alan Conway2012-05-1530-393/+1065
| | | | | | | | | | | | | | | | | - Introduce HA broker state machien - Inform backup queues when ready. - Incomplete implementation of backup ready check. - does not count correctly after a failover, see countUnready. - Existing replicator bridges updated out of sync with BrokerReplicator initialize. - Does not handle multi-messages responses. - Newly promoted HA primary waits for backups to be ready before accepting clients. - Uniform log prefixes for HA messages. - qpid-ha tests, call qpid-ha python code directly. - Move excluder from Backup to HaBroker, it is also used in PROMOTING. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338889 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3996 : [Java Broker] update BDB depency to latest versionRobert Godfrey2012-05-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338884 13f79535-47bb-0310-9956-ffa450edef68