QPID-6019 : [Java Broker] Move configured object registration with parents until after resolution, and provide clearer error messages on attribute resolution failure

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1619568 13f79535-47bb-0310-9956-ffa450edef68
NO-JIRA: Reduce "No EFP Partition" log message from warning to info.

It is normal for there to be no EFP partition if a broker is being started for
the first time with a clean data directory.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1619580 13f79535-47bb-0310-9956-ffa450edef68
QPID-6020: HA logging improvements - log prefix with status and ID.

Fix log prefix for RemoteBackup and PrimaryTxObserver objects.
Use short UUIDs for showing UUID sets in logs.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1619581 13f79535-47bb-0310-9956-ffa450edef68
QPID-6027 : Add persisted derived attributes to the initial configuration extract

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1619584 13f79535-47bb-0310-9956-ffa450edef68
QPID-6022 : Remove unnecessary and potentially XSS inducing replay of the path info in the error response

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1619733 13f79535-47bb-0310-9956-ffa450edef68
QPID-6032: throw aborted error before reconnect attempt when a transactional session discovers transport failure

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1619745 13f79535-47bb-0310-9956-ffa450edef68
NO-JIRA: remove redundant and confusing statement; the record is already marked ended and this invocation is on the copy that is not stored anyway

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1619746 13f79535-47bb-0310-9956-ffa450edef68
NO-JIRA: Fix timeout on python messaging.Session.commit and rollback

Fix both to take timeout arg and raise Timeout exception if timeout expires.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1619813 13f79535-47bb-0310-9956-ffa450edef68
NO-JIRA: Clean up test_store.cpp async functionality.

Clean up test_store.cpp to allow control over async completion of messsages.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1619814 13f79535-47bb-0310-9956-ffa450edef68
QPID-5855: JAVA Client Can not recieve message with qpid ha cluster "Session exception occured while trying to commit"

The problem: the java client sets the sync flag on tx.commit and then waits for
completion of the entire transaction. According to the 0-10 spec, this is
correct, the commit (or rollback) will not complete until all of the
transactional commands have completed. However the C++ broker was sometimes
completing a commit *before* one of the the corresponding enqueues. It issued
the completions up to the commit (because the commit is makred sync) but there
is a "hole" for the incomplete enqueue. The enqueue is not marked sync so when
this hole is filled no completion is sent and the client hangs.

Fix: make tx.commit a "sync point", that is it behaves like execution.sync and
is not completed till all preceeding commands are complete. Note tx.rollback
does not need modification as it is never completed asynchronously.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1619816 13f79535-47bb-0310-9956-ffa450edef68
QPID-6034: [Java Broker] Refactor Port UI to use metadata service rather than hard-coding a list of protocols/transports etc

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1619854 13f79535-47bb-0310-9956-ffa450edef68
QPID-6035: HA clearly distinguish qpid-ha commands intended for cluster manager.

This commit adds a --cluster-manager flag to qpid-ha tool.

Without this flag
- the 'promote' command is not listed in the tool help.
- using the promote command raises an error saying that it is only for cluster manager use
  and mentioning the --cluster-manager flag.

With the flag: promote functions as before.

The qpid-ha help text for promote is also more clear now that it is for cluster
manager only.

Originally the idea was to split qpid-ha into two tools but I have kept one tool
with the flag and warning messages because it:

- avoids packaging changes that might trip things up.

- helps people who are already using qpid-ha promote: their scripts will
  break but the error message explains how to fix it.

I think the special role of promote is sufficiently clear now even if it is
part of the same tool.

This commit also updates the following to take account of the new flag:
- rgmanager qpidd-primary script.
- qpidd tests.
- qpid book HA chapter.

NOTE: THIS WILL BREAK TEST HARNESSES that do promotion outside of rgmanager.
You'll need to add the --cluster-manager flag in the relevant places.

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