QPID-5940 : [Java Broker] Add meta-data servlet

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614370 13f79535-47bb-0310-9956-ffa450edef68
QPID-5941: Set sensible default build type: default is RelWithDebInfo.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614472 13f79535-47bb-0310-9956-ffa450edef68
[QPID-5938]: qpid-stat: remove dead code relevant to active-active cluster

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614577 13f79535-47bb-0310-9956-ffa450edef68
QPID-5940 : [Java Broker] Fix type registry to work when run in tests

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614581 13f79535-47bb-0310-9956-ffa450edef68
NO-JIRA: Strengthen ant python test wrapper to ensure that ant will fail if it fails to identify the pid of the broker\'s process

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614598 13f79535-47bb-0310-9956-ffa450edef68
QPID-5943: Strengthen BDB HA operational logging tests

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614601 13f79535-47bb-0310-9956-ffa450edef68
[QPID-5945]: qpid-config to pass integer arguments whenever possible

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614637 13f79535-47bb-0310-9956-ffa450edef68
QPID-5928: [Java Broker] Further enhancements and feedback changes for
initial implementation

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614644 13f79535-47bb-0310-9956-ffa450edef68
QPID-5946 : [Java Broker] Add alternative KeyStore implementation that can use standard crt/pem rather than jks files

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614652 13f79535-47bb-0310-9956-ffa450edef68
QPID-5924 [linearstore] Qpidd Will Not Start with Large Number of Queues

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614665 13f79535-47bb-0310-9956-ffa450edef68
QPID-5946 : [Java Broker] Add alternative TrusStore implementation that can use standard crt files rather than jks files

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614667 13f79535-47bb-0310-9956-ffa450edef68
QPID-5944: [Java Broker] Expose queue clear management operation to the REST API and Web Management Console

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614783 13f79535-47bb-0310-9956-ffa450edef68
QPID-5926: [Java Broker] When transitioning from STOPPED to ACTIVE the virtualhost re-recovers children beneath it

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614866 13f79535-47bb-0310-9956-ffa450edef68
QPID-5939: Add get_address to Perl Sender/Receiver classes.

Updated the Perl client/server examples.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614889 13f79535-47bb-0310-9956-ffa450edef68
NO-JIRA: Perl Receiver returning an unwrapped Message object.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614890 13f79535-47bb-0310-9956-ffa450edef68
QPID-5915: [Java Broker] Guard the case where client and server sides race to close the same connection.

This change reuses the approach taken by ConnectionRegistry when the Broker is shutdown.  Namely, it logs the failure
and continues to allow the Broker to shutdown.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614893 13f79535-47bb-0310-9956-ffa450edef68
QPID-5942: qpid HA cluster may end-up in joining state after HA primary is killed

There are two issues here, both related to the fact that rgmanager sees qpidd
and qpidd-primary as two separate services.

1. The service start/stop scripts can be called concurrently. This can lead to
   running a qpidd process who's pid is not in the pidfile. rgmanager cannot
   detect or kill this qpidd and cannot start another qpidd because of the lock
   on the qpidd data directory.

2. rgmanager sees a primary failure as two failures: qpidd and qpidd-primary,
   and will then try to stop and start both services. The order of these actions
   is not defined and can lead to rgmanager killing a service it has just
   started.

This patch makes two major changes to the init scripts:

1. Uses flock to lock the sensitive stop/start part of the scripts to ensure
   they are not executed concurrently.

2. On "stop" the scripts check if a running qpidd is primary or not. "qpidd stop"
   is a no-op if the running broker is primary, "qpidd-primary stop" is a no op
   if it is not. This ensures that a broker will be stopped by the same stream
   of service actions that started it.

Minor changes in this patch:
- better logging of broker start-up and shut-down sequence.
- qpid-ha heartbeat use half of timeout option.
- add missing timeouts in qpid-ha.


Notes:

This changes the behavior of 'clusvcadm -d <qpidd-service>' on the primary node.
Previously this would have stopped the qpidd service on that node, killed the
qpidd process and relocated the primary service. Now this will stop the qpidd
service (as far as rgmanager is concerned) but will not kill qpidd or relocate
the primary service. When the primary is relocated the qpidd service wil not be
able to re-start on that node until it is re-enabled with 'clusvcadm -e'.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614895 13f79535-47bb-0310-9956-ffa450edef68
QPID-5915: [Java Broker] Remove unintentional debug output

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614906 13f79535-47bb-0310-9956-ffa450edef68
QPID-5937 : Address comments from ~k-wall

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614938 13f79535-47bb-0310-9956-ffa450edef68
QPID-5953: [Java Broker] Restore the auto refesh behaviour of tables within tabs of the web management ui

This commit reverts some changes made by r1598232 (which introduced the regression).

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