QPID-4079 log entries track managed object life cycles



git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1361262 13f79535-47bb-0310-9956-ffa450edef68
QPID-4133: (Jason Dillaman) Non-responsive peer in federated link can result in entire cluster shutdown

Fix is to not start link processing until the connection is open.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1361321 13f79535-47bb-0310-9956-ffa450edef68
QPID-4136: HA sporadic failures in ha_tests

Caused by a test bug, default timeout was too short.
Fixed the test to set a high timeout and increased default timeout.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1361323 13f79535-47bb-0310-9956-ffa450edef68
QPID-4107 HA does not replicate alternate-exchange

Set alternate exchange on replicated queues and exchanges.  If the exchange is
available, set it immediately. Otherwise remember what needs to be set so it can
be set when the exchange becomes available.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1361334 13f79535-47bb-0310-9956-ffa450edef68
QPID-4079 log categories for correlation. Design description.



git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1361353 13f79535-47bb-0310-9956-ffa450edef68
QPID-4138: HA sporadic failure in ha_tests

This was another test issue: trace logging had been left on by mistake, which was
slowing down the tests to the point they were hitting test time-outs.

Also in this patch: Include symbolic satus in membership update log message.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1361393 13f79535-47bb-0310-9956-ffa450edef68
QPID-3892 C++ broker add routing key wildcard support to Acl 'publish exchange' lookups. Although this patch does not address the original issue's regex request it provides the desired functionality in a more comprehensive manner.

* Acl publish exchange rules may specify routing keys using the topic exchange syntax with '*' and '#' wildcard match tokens. 
* Acl lookups hook in to the broker's topic exchange key match code to perform the wildcard match.
* Acl rules written using the old Acl wildcard syntax (with a single trailing '*') will continue to work the same as before.




git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1361678 13f79535-47bb-0310-9956-ffa450edef68
QPID-4107 r1361334 typo in file name

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1361682 13f79535-47bb-0310-9956-ffa450edef68
QPID-4107 r1361334 type in file name

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1361733 13f79535-47bb-0310-9956-ffa450edef68
QPID-3892 add missing file

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362014 13f79535-47bb-0310-9956-ffa450edef68
NO-JIRA: Fix typo in make files.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362104 13f79535-47bb-0310-9956-ffa450edef68
NO-JIRA: Minor documentation updates.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362134 13f79535-47bb-0310-9956-ffa450edef68
QPID-3575 SessionExceptions (0-10 code path) are now marked as soft
errors. When a Session receives an exception it is closed and the
exception is notified via the ConnectionListener as well. However the
exception is marked as a soft-error, therefore the connection will not
be closed.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362161 13f79535-47bb-0310-9956-ffa450edef68
QPID-3575
The added a system prop to revert to the previous behavior if need be.
Modified the SelectorTest#testRuntimeSelectorError test case to suit the
new behavior.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362162 13f79535-47bb-0310-9956-ffa450edef68
QPID-4143: tweaked topic test config to introduce a start delay on message production, allowing the consumers enough time to implicitly create the queues (unfortunately the Qpid client can't explicitly create topics).

Also improved error reporting and increased time outs to better cope with large scale tests.

Applied patch from Philip Harvey <phil@philharveyonline.com>

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362502 13f79535-47bb-0310-9956-ffa450edef68
QPID-4103: [Java Performance Tests] modified test so that its success is no longer dependent on the order of the attributes in json2.js's JSON strings (this order varies between JDK 1.6 and 1.7, which caused a Jenkins test failure).

Applied patch from Philip Harvey <phil@philharveyonline.com>.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362503 13f79535-47bb-0310-9956-ffa450edef68
NO-JIRA: error in programming guide

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362504 13f79535-47bb-0310-9956-ffa450edef68
QPID-4103: now getting test file paths as URIs instead of URLs so that they still work when the path contains spaces.

Applied patch from Philip Harvey <phil@philharveyonline.com>.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362536 13f79535-47bb-0310-9956-ffa450edef68
QPID-4144 HA broker deadlocks on broker::QueueRegistry lock and ha::Primary lock

Running tests repeatedly, the broker deadlocked with the attached stack trace.

The problem call sequences are:
1. QueueRegistry::destroy takes QueuerRegistry lock > ConfigurationObserver::queueDestroy > ha::Primary::queueDestroy takes Primary lock.
2. ConnectionObserver::opened cals Primary::opened lock> RemoteBackup>getQueues().eachQueue

This patch breaks the deadlock at both ends: QueueRegistry no longer holds the lock across the observer call and Primary does not hold the lock across eachQueue.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362584 13f79535-47bb-0310-9956-ffa450edef68
NO-JIRA: Added missing EXTERN statements causing build breakage.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362635 13f79535-47bb-0310-9956-ffa450edef68