summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-5715: Use coalescing sync committer for message store transactions only ↵Alex Rudyy2014-06-0313-148/+299
| | | | | | when syncronization policy SYNC is set for local transactions in BDB HA virtual host git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1599445 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5795: [Java Broker] Prevent ConnectionAdapter leak when closing a ↵Keith Wall2014-05-305-111/+32
| | | | | | | | | | | | | | messaging connection The leak was due to the fact that nothing was telling the virtualhost to unregister the connection child (#unregisterChild) when the connection was closed. * Made ConnectionAdapter responsible for causing its own deletion (when the underlying connection is closed). The call to #deleted() causes the child to be unregistered from its parent (preventing the leak) * Removed the now unnecessary _connectionAdapters map from the VH. This needlessly duplicated information already held more generally by the ACO. * Refactored SessionAdapter in sympathy with CA changes. SessionsAdapters where _not_ being leaked as the session implementation were already telling the model to delete. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1598658 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5782: [Java Broker] Prevent VH housekeeper trying to check the state of ↵Keith Wall2014-05-291-12/+16
| | | | | | queues that are not active git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1598260 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5413: [Java Broker-Web Management] Allow stopping and starting of ↵Alex Rudyy2014-05-294-33/+59
| | | | | | virtual host node from the virtual host node tab git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1598257 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5413: [Java Broker-Web Management] Allow stopping and starting of ↵Alex Rudyy2014-05-294-46/+260
| | | | | | virtual host nodes and virtual hosts from the broker tab git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1598232 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5791: [Java Broker] Json store should synchronise on update tooKeith Wall2014-05-291-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1598231 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Add new attributes for transaction sync policies into BDB HA ↵Alex Rudyy2014-05-2722-185/+529
| | | | | | | | | | | | virtual host, remove 'coalescingSync' attribute from BDB HA virtual host node and always use coalescingSync with replicated environment, change attribute 'durability' of BDB HA virtual host node into derived attribute, delegate bdb je transaction creation to EnvironmentFacade, with ReplicatedEnvironmentFacade crate transactions with durability having virtual host transaction sync policies and ack mode 'SIMPLE_MAJORITY'. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597801 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Broker Tests] Fix race condition in TransactionTimeoutTests ↵Keith Wall2014-05-261-26/+23
| | | | | | | | meaning observations of test members could yield NPE * Reordered so that the exception listener's latch is decremented only after members for linked exception message and linked exception code. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597595 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Fix test ↵Alex Rudyy2014-05-261-0/+13
| | | | | | BDBHAVirtualHostNodeTest.testTransferMasterToRemoteReplica git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597578 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Address review comments from Alex RudyyKeith Wall2014-05-261-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597564 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Added extra logging when transfering master to a ↵Keith Wall2014-05-262-5/+17
| | | | | | remote replica in order to understand sporadic test failure git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597538 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: On virtual host node deletion delete virtual host first, in order ↵Alex Rudyy2014-05-248-163/+253
| | | | | | to allow listeners to hear virtual host deletion. JMX Management needs to unregister virtual host MBean on host deletion git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597340 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5784: [Java Broker] Prevent NPE possibility from BDB store\'s ↵Keith Wall2014-05-231-0/+15
| | | | | | coalescing committer on shutdown git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597122 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: assembly and dependency fixupsRobert Gemmell2014-05-232-2/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597084 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Prevent sporadic failure of BDB HA REST test ↵Keith Wall2014-05-235-97/+496
| | | | | | | | | | | | testNewMasterElectedWhenVirtualHostIsStopped * VHN role attribute now mutated after the completion of onMaster/onReplica event * Made BDBHAReplicaVirtualHost a type (BDB_HA_REPLICA) within the VirtualHost category. This no-op vhost represents the virtualhost when the node is replica (and the mastership is elsewhere within the group). Work by Andrew MacBean <andymacbean@gmail.com> and me. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597066 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: restore some config that was erroneously removed previously, ↵Robert Gemmell2014-05-235-2/+382
| | | | | | update to match current build git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597065 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: make the clients logging test deps explicit rather than just ↵Robert Gemmell2014-05-231-0/+14
| | | | | | transitive git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597054 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5781: remove connection from the registry upon exception while closing, ↵Robert Gemmell2014-05-221-12/+11
| | | | | | ensure we dont loop retrying it git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596899 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5771: ensure the closed event is passed to the listener even if closing ↵Robert Gemmell2014-05-221-4/+9
| | | | | | the endpoint input throws something, ensure the connection is unregistered from the connection registry git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596894 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5779: [Java Broker] JMX plugin Remove debug logging from socket factoriesKeith Wall2014-05-222-51/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596797 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5779: Workaround sporadic test failure.Keith Wall2014-05-213-8/+6
| | | | | | It seems sometimes the JMX Plugin's RMI sockets are closed (by the RMI TCP Accept thread) *after* the Broker has stopped. I can't find a way to avoid this issue. Work around by awaiting the ports to become free within the test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596702 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5779: Add more logging to help understand sporadic test failure.Keith Wall2014-05-213-3/+51
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596659 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5779: [Java Broker] JMX plugin's server sockets should set the ↵Keith Wall2014-05-214-11/+14
| | | | | | SO_REUSEADDR socket option - defect fix - set socket option *before* port is bound git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596631 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add a file recording the tests using spawned brokersRobert Gemmell2014-05-211-0/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596600 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5774: remove client plugins dirRobert Gemmell2014-05-212-42/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596598 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5774: remove dependency stubs used for the old pom generation the Ant ↵Robert Gemmell2014-05-2136-865/+0
| | | | | | build did git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596597 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5774: remove test profile files, custom Ant tasks, resources files ↵Robert Gemmell2014-05-2145-2458/+0
| | | | | | specific to the ant build git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596596 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5774: first main swipe, remove the Ant builds main build.xml and ↵Robert Gemmell2014-05-2149-4234/+0
| | | | | | associated files git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596595 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5779: [Java Broker] JMX plugin's server sockets should set the ↵Keith Wall2014-05-214-22/+101
| | | | | | | | | SO_REUSEADDR socket option * Plugin now passes correctly configured ServerSocketFactory to JMX for both the registry and connector servers. * Manually retested SSL connections to JMX. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596579 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Make virtualhosts respect the states ACTIVE and STOPPEDKeith Wall2014-05-216-19/+158
| | | | | | | | | | * Add state transition tests for BDBHA virtualhostnode / virtualhost * Prevent the BDBVHN activating the VH (this is now a responsibility of attain desired state) * BDBHARemoteReplicationNode use state UNAVAILABLE in the case where the remote node is not MASTER or REPLICA. Work by Andrew MacBean <andymacbean@gmail.com> and me. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5777: delete stale 'doc' directoryRobert Gemmell2014-05-2115-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596522 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Make virtualhosts respect the states ACTIVE and STOPPEDKeith Wall2014-05-2015-144/+197
| | | | | | | | | * Changes in virtualhost state are now persisted to store. * VirtualHostState eliminated. The PASSIVE state used when a BDB HA Virtualhost is in replica is replaced by UNAVAILABLE. Work by me and Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596281 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: On BDB HA virtual host node deletion invoke ↵Alex Rudyy2014-05-206-9/+245
| | | | | | ReplicationGroupAdmin#removeMember to remove node from the group git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596273 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Broker] Add extra assertions to PortRestTest to help ↵Keith Wall2014-05-201-3/+12
| | | | | | investigate sporadic test failure on some CI environments git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596269 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5762: log a warning but allow the model processing to continue when ↵Robert Gemmell2014-05-201-6/+16
| | | | | | there are unsatisfied dependencies, enabling startup if the associated pluggable services are not being used git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596214 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Make java-mms test profile ignore ↵Keith Wall2014-05-161-0/+2
| | | | | | org.apache.qpid.server.store.berkeleydb.replication/upgrader sub-packages git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1595227 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5413: Improve virtual host node and virtual host UIAlex Rudyy2014-05-164-22/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1595188 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5766: Intitialisation of StatisticsCounter objects can lead to NPE.Keith Wall2014-05-169-80/+31
| | | | | | Patch Supplied by Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1595155 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Fix Virtual Host MBean creation in JMX management pluginAlex Rudyy2014-05-1510-177/+551
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1594963 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Make virtualhostnode respect states ACTIVE and STOPPEDKeith Wall2014-05-155-7/+213
| | | | | | | | | | * Added test to ensure that the VHN can transit between ACTIVE <=> STOPPED * Fixed defect whereby the VHN could not be recovered in the STOPPED state. Added test case. * Fixed defct whereby on stopping a VHN, the DurableConfigurationStore would be left open. Work by me and Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1594903 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: BDB HA's remote replication nodes were using wrong value for ↵Keith Wall2014-05-142-4/+28
| | | | | | lastKnownReplicationId property git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1594509 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5744: Add support for REST URIs containing the major version in ↵Alex Rudyy2014-05-131-0/+1
| | | | | | addition to latest git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1594260 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5413: Add UI for creation of virtual host nodesAlex Rudyy2014-05-1320-280/+979
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1594221 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5764: update note to reflect the trunk maven build no longer requiring ↵Robert Gemmell2014-05-131-4/+2
| | | | | | flag to enable git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1594177 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5764: add note detaling the move to the maven build for future ↵Robert Gemmell2014-05-131-0/+19
| | | | | | releases, to be merged to 0.28 branch git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1594176 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5761: Fix BDBHAVirtualHostNodeRestTest test failure caused by premature ↵Alex Rudyy2014-05-121-3/+3
| | | | | | | | call to virtual host rest service before opening of virtual host Patch Supplied by Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1593930 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5574 : [Java Broker] remove redundant state transitionsRobert Godfrey2014-05-099-72/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1593576 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5759 : [Java Broker] add annotation validationRobert Godfrey2014-05-093-0/+435
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1593562 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5409 : Change BDB HA MBean to delegate operations to BDB HA node instanceAlex Rudyy2014-05-0911-282/+241
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1593538 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5754 : [Java Broker] Make state change operations methods rather than ↵Robert Godfrey2014-05-08108-1352/+1520
| | | | | | calls to setDesiredState git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1593264 13f79535-47bb-0310-9956-ffa450edef68