summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-4313: Address review comments from QPID-4109 (Reenable LoggingManagement)Keith Wall2012-09-217-48/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1388457 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4338: Performance tests charting: Support long chart descriptions and ↵Keith Wall2012-09-2018-38/+323
| | | | | | allow colour/stroke to be controlled git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1388256 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4310: Display performance test results in messages per secondRobert Gemmell2012-09-2024-50/+169
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1388072 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4333: remove the Slow Consumer Detection plugin and associated ↵Robert Gemmell2012-09-2025-2823/+1
| | | | | | | | documentation Work by Keith Wall and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1388047 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Performance Tests] Add config to run/chart varying number of ↵Keith Wall2012-09-205-154/+218
| | | | | | participants tests for both auto-ack and session transacted mode git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1387905 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: use uptodate to prevent management-http's dojo unwar happening ↵Keith Wall2012-09-191-1/+11
| | | | | | unnecessarily git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1387583 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4321: Perf tests should not try to call Message#acknowledge on a ↵Keith Wall2012-09-197-61/+61
| | | | | | | | | | producing session * ProducerParticipant makes erroneous call to Message#acknowledge * Externalise the poll timeout used by QpidQueueCreator to drain the queue after test * Topic-AckModes.js - replace tests for client-ack, dups-okay-ack with session transacted git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1387565 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4284: Remove system test dependencies on development and localhost ↵Keith Wall2012-09-1720-364/+146
| | | | | | virtual hosts git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1386864 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4056: HAClusterManagementTest.testRemoveNodeFromGroup fails ↵Keith Wall2012-09-141-6/+26
| | | | | | | | occasionally on Apache CI Test should await all nodes knowning about one and other before commencing the remainder of the test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1384810 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4303: FailoverTest sometimes fails on slower CI boxes.Keith Wall2012-09-141-11/+14
| | | | | | | In non-transacted case, test should sync after producing messages in order to ensure that messages are on Broker before consumption begins. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1384685 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4302: 0-8..0-9-1 client should sync after message.acknowledge()Keith Wall2012-09-132-10/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1384512 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Broker] Add performance test script to highlight performance ↵Keith Wall2012-09-132-0/+137
| | | | | | | | | | | improvement from QPID-4125 QPID-4125 improved the performance of the Java Broker for persistent transacted messages for multiple channels on same connection. This change adds a perf test script allowing the performance improvement to be quantified. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1384291 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4292: Java Web Management - standardise of the use of SC_FORBIDDEN and ↵Keith Wall2012-09-129-25/+25
| | | | | | | | avoid ugly stack trace in logs in response to some authorisation failures Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1383894 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4297: Broker should not rely on Subject.getPrincipals.iterator().next() ↵Keith Wall2012-09-113-8/+7
| | | | | | to find 'username principal' git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1383639 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4296: Push down 0-8..0-9-1 flow control implementation to ↵Keith Wall2012-09-113-79/+94
| | | | | | | | | | | | | AMQSession_0_8 (refactoring) Move method impls. isFlowBlocked(), setFlowBlocked() and checkFlowBlocked() and their associated fields down to AMQSession_0_8. On 0-10, isFlowBlocked() was already overridden to delegate to the 0-10 transport layer. The operation setFlowBlocked() makes no sense to 0-10, so will be implemented to throw UnsupportedOperationException. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1383638 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4292: add ACL rule to authorise access to the web management UIKeith Wall2012-09-1015-126/+306
| | | | | | | | | | | * added object name MANAGEMENT to represent both JMX and Web Management layers * Change both JMX/Web entry points to permission access with an access management check * Updated examples and docbook * Made Principals serialised to avoid container warnings when Qpid principals are placed within a HttpSession. Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1382947 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add default config for http managementRobert Gemmell2012-09-101-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1382915 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4289: Fix 0-8/0-9/0-9-1 failover issuesRobert Gemmell2012-09-1012-78/+429
| | | | | | Applied patch from Philip Harvey <phil@philharveyonline.com> and Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1382799 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4275: Java Performance Tests - race condition between closing test ↵Keith Wall2012-09-072-3/+27
| | | | | | | | consumer and test connection Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1382074 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4255: Add "log out" functionality to web UIKeith Wall2012-09-0610-26/+305
| | | | | | | | | | | * Added logout link to the Web Management UI (displayed once a user is logged in). * Added operation logging (open/close event) to report the fact that the user has logged in, logged out (or gone away i.e. web session timeout). * Allow Jetty web session timeout to be overridden from the config.xml Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1381637 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4288 The pid and platform info are now fetched in a static blockRajith Muditha Attapattu2012-09-061-8/+19
| | | | | | and the cached value is returned. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1381625 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4283: Make web management capable of using external authentication manager.Keith Wall2012-09-0410-342/+87
| | | | | | | | | | | also: * remove test servlets * rename management.html => index.html * allow sasl-auth to be disabled Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1380626 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4271: improve behaviour when embedding the broker inside a containerKeith Wall2012-09-0411-48/+128
| | | | | | | | | | | | Avoid potential ThreadLocal leaks on Container owned threads for CurrentActor, AMQShortString and SecurityManager. Have LogRecorder unregistered itself from Log4J. Allow SIGHUP handling to be turned off (inappropiate to install signal handling when deployed inside Container. Allow use of custom RMI socket factory to be disabled. (The registration of a custom RMI socket with the JRE cannot be reversed (deficiency in JRE API) and this causes a large perm-gen leak). Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1380625 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4282: Remove debug logging from web management consoleRobert Gemmell2012-09-031-11/+0
| | | | | | Applied patch from Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1380291 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4238: escape tags for queue and virtualhost names with dots in them ↵Robert Gemmell2012-09-024-3/+53
| | | | | | | | | when accessing the XML configuration, works around CommonsConfiguration behaviour with element names containing dots Applied patch from Jakub Scholz git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1380037 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4253: add configuration for basic-auth on http / https management and ↵Robert Gemmell2012-09-025-5/+139
| | | | | | set to disabled / enabled respectively by default git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1380016 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4261: extend BindingURLs to allow specifying exchange ↵Robert Gemmell2012-09-0119-233/+391
| | | | | | | | | durable/autodelete/internal options, use the values when sending exchange declares during producer and consumer creation. Fix ExchangeDeclareHandler to set auto-delete properly (though we dont actually support it, and it was removed from the protocol in 0-9-1). Isolate AMQProtocolHandler use to the 0-8/0-9/0-9-1 specific Session/Producer/Consumer implementations that actually need it instead of letting it bleed through the abstraction and 0-10 implementations that dont use it. Add some other clarifying comments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1379748 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4267 Committing a patch on behalf of Weston Price.Rajith Muditha Attapattu2012-08-311-2/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1379478 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4270: Change web management plugin to log management operational log ↵Keith Wall2012-08-306-34/+75
| | | | | | messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1379139 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4143 now producing test-summary.csv to make viewing all the 'all ↵Keith Wall2012-08-2914-77/+346
| | | | | | | | participants' test results more convenient. Re-ordered columns so that the important stuff appears first. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1378751 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4242 : [Java Broker] Remove QMFv1 implementationRobert Godfrey2012-08-29120-11302/+306
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1378496 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4237: modified FileGroupDatabase to ensure that it always closes its ↵Robert Gemmell2012-08-271-2/+24
| | | | | | | | file input/output streams. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1377724 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4237: added convenience method to AuthenticatedResult to facilitate ↵Robert Gemmell2012-08-271-3/+13
| | | | | | | | implementation of third party authentication managers. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1377723 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: make the default location the 'localfs' ivy resolver uses be a ↵Robert Gemmell2012-08-271-1/+1
| | | | | | subdirectory of the lib dir git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1377641 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add ivy config for new modules for use in uploading the maven ↵Robert Gemmell2012-08-261-0/+48
| | | | | | artifacts to nexus git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1377541 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4250: ensure producer creation on 0-8/0-9/0-9-1 connections respects ↵Robert Gemmell2012-08-265-39/+118
| | | | | | the qpid.declare_exchanges system property. Add systest to highlight the issue and verify the fix. Add constants for the system properties. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1377521 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4236, QPID-4237, QPID-4245: exclude new systest package from CPP test ↵Robert Gemmell2012-08-241-0/+1
| | | | | | profiles git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1376981 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4236, QPID-4237, QPID-4245: Added group management functionality, and ↵Robert Gemmell2012-08-24137-1316/+6481
| | | | | | | | | | | | | | | | | | | exposed it via the web management interface. Removed group definition functionality from the ACL plugin. The ACL plugin uses groups but no longer defines them. Introduced SubjectCreator as a facade to AuthenticationManager and group management classes. Applied access control to user and group management. Fixed bug in choosing between update and creation in RestServlet. Moved lots of RestTest helper methods to RestTestHelper. Fixed authentication, authorisation, and status logging when using the web ui. Applied patch from Philip Harvey <phil@philharveyonline.com>, Keith Wall and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1376968 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4053: Change performance test qpid queue creator to drain the queue ↵Keith Wall2012-08-235-43/+85
| | | | | | | | before the deletion to avoid timeouts Applied patch from Oleksandr Rudyy<orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1376735 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4231: Update optional BDB store to use version 5.0.58 of BDBKeith Wall2012-08-143-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1373155 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4143: [Java Perf Tests] Modified acknowledgement mode graphs to ↵Keith Wall2012-08-142-9/+11
| | | | | | contrast different ack-modes with like message persistence settings git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1373133 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4143: modified perf test visualisation code so that chart-summary.html ↵Keith Wall2012-08-142-0/+15
| | | | | | | | now contains a table of contents. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1372852 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove unused client/test folderRobert Gemmell2012-08-1424-879/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1372769 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove unused manual test classRobert Gemmell2012-08-141-277/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1372768 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: disable test against java broker pending resolution of debate ↵Gordon Sim2012-08-131-0/+1
| | | | | | associated with QPID-4178 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1372379 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4111: add licence header to various filesRobert Gemmell2012-08-1215-1/+297
| | | | | | | trunk equivalent of the changes made in r1372144 on the 0.18 release branch git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1372149 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add a system property for configuring the historically hard coded ↵Robert Gemmell2012-08-124-17/+53
| | | | | | timeout value in IoNetworkTransport, remove dead code in ConnectionSettings git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1372148 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4051: use the connecttimeout option value from the BrokerDetails object ↵Robert Gemmell2012-08-125-13/+41
| | | | | | to control the connect() timeout via the produced ConnectionSettings object git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1372147 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4143: topic tests were inadvertently using persistent messages causing ↵Keith Wall2012-08-093-0/+3
| | | | | | | | misleading poor performance test results Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1371165 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4162: Change Java Client/Java Broker to send a session.detached in ↵Keith Wall2012-08-082-40/+21
| | | | | | response to receiving unexpected control on detached transport, as required by AMQP 0-10 spec. The previous behaviour (throwing a ProtocolViolationException) was causing sporadic test failures on a number of CI instances for both Java and Python tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1370991 13f79535-47bb-0310-9956-ffa450edef68