summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4093: [Java Broker] Prevent new queues and exchanges from being created ↵Keith Wall2012-07-063-15/+55
| | | | | | on vhosts that are not active git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358217 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4093: Prevent NullPointerException from ExchangeMBean when target queue ↵Keith Wall2012-07-062-27/+251
| | | | | | does not exist git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358216 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4112: Virtualhosts recover exchanges before queuesKeith Wall2012-07-066-38/+44
| | | | | | | Switch the recover order from queues,exchanges,... to exchanges,queues,.. so that when a queue with an alternate exchange is recovered, the exchange's uuid is already in the registry. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358118 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3977: tidy up chart generation.Keith Wall2012-07-0541-27721/+80
| | | | | | | | | | | Specifically: - chart-summary.html now shows charts in deterministic order (dictated by the chart file names) - We now only have one set of test definitions rather than maintaining both short and standard sets of files. We will use QPID-4103 to adjust the durations across the board. - Charts have been given subtitles, and sloping CategoryLabelPositions to Plots that aren't CategoryPlots. Also added test for statistical bar charts to ChartProductionTest. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1357682 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4110 added topic support to performance tests.Keith Wall2012-07-0514-36/+501
| | | | | | | | | | | Specifically: - Added support for creating and tearing down durable subscriptions - Improved IterationValueTest so that we test the format for boolean properties (such as durableSubscription) - Added test and chart definitions Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1357650 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4109: Re-enable LoggingManagement MBeanKeith Wall2012-07-0542-1296/+1421
| | | | | | | | | | | | | * Re-wire up LoggingManagementMBean. * Centralise log4j specific functionality into LoggingFacade class (moving implementation from LoggingManagementMBean and QpidLog4JConfigurator together). * Implement unit-tests for MBean and Facade levels. Reenforce units tests with system tests testing logging management end to end. * Changed QpidBrokerTestCase so that log4j.configuration is _always_ used to obtain the log4j config file regardless of whether test type is spawned or internal (previously log4j.configuration was respected only for internal tests). This was require to be able to write a logging management system test that could safely change the contents of the log4j config without running the risk of effecting other tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1357528 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4105: perf test tidy-up code changes:Keith Wall2012-07-048-45/+70
| | | | | | | | | - Now accessing sessions in a threadsafe manner - Corrected spelling of ParticipantAttribute.IS_BROWSIING_SUBSCRIPTION Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1357295 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4103: [Java Performance Tests] Allow specifying of test configuration ↵Keith Wall2012-07-0414-53/+1045
| | | | | | | | with javascript Applied patch from Oleksandr Rudyy <orudyy@gmail.com> and Philip Harvey <phil@philharveyonline.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1357294 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4104: Create and bind second queue in test ↵Keith Wall2012-07-041-0/+1
| | | | | | | | StoreOverfullTest#testCapacityExceededCausesBlockTwoConnections Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1357292 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add missing Apache licenses to Java source files; correct ↵Keith Wall2012-07-0274-244/+527
| | | | | | positioning of the license wrt to the package statement git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1356257 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4089: Add latency tests into java performance test frameworkKeith Wall2012-07-0242-50/+12574
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1356250 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4093: Resolve some outstanding TODOs in new JMX moduleKeith Wall2012-07-0212-57/+150
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1356248 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3923: remove deprecated test-only AMQQueueFactory method and update ↵Robert Gemmell2012-07-0115-123/+75
| | | | | | tests accordingly, rename method for generating random IDs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355995 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3923: update ID generation to be consistent across all ↵Robert Gemmell2012-07-0112-53/+191
| | | | | | queues/exchanges/bindings as opposed to deterministic for some and not for others git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355994 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4090: Bug fix: allow Java client to make connections to Java Broker ↵Keith Wall2012-06-303-9/+93
| | | | | | using CRAM-MD5-HASHED mechanism. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355775 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4902: NPE from SimpleAMQQueue and RejectedExecutionExecution handlingKeith Wall2012-06-305-22/+29
| | | | | | | | Guard against NPE in setLastSeenEntry. #execute() method change to ignore REE in the case where the queue has already been stopped (logged at ERROR otherwise). Change Subscription*#_queueContext member to volatile as this member is get/set from different threads during the queue's lifecycle git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355721 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4099: Fix race condition in test ↵Keith Wall2012-06-291-1/+4
| | | | | | FailoverBehaviourTest.testFlowControlFlagResetOnFailover git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355449 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4098: update POM generation for the plugins to mark the dependencies as ↵Robert Gemmell2012-06-296-1/+8
| | | | | | being provided (by the broker itself) at runtime git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355391 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4098: generate maven release artifacts for the broker pluginsRobert Gemmell2012-06-295-5/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355390 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3998: add dependency stubs for jetty components to fix the POM ↵Robert Gemmell2012-06-299-0/+250
| | | | | | generation, ensuring the same set of deps gets composed as those that end up in the broker binary package git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355314 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3999: add logo image which was missed during previous commitRobert Gemmell2012-06-291-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355313 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4094: Qpid MC misformats JMX notification datesKeith Wall2012-06-291-1/+1
| | | | | | Fix date format string so date is properly formatted to the 24 hour clock. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355255 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3998, QPID-3999, QPID-4093: exclude missed Java-only test class from ↵Robert Gemmell2012-06-281-1/+1
| | | | | | the CPP profile git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355145 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4093: work around ancient versions of Ant lacking 'erroronmissingdir' ↵Robert Gemmell2012-06-282-8/+20
| | | | | | | | | in the metainf element of the jar task by using copying to compose the files for addition to META-INF. Also prevents general files in the modules resources dir that arent intended for inclusion in META-INF from being included there. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355130 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3998, QPID-3999, QPID-4093: add new management plugins for ↵Robert Gemmell2012-06-28296-7811/+21553
| | | | | | jmx/rest/webui functionality, partial merge from the java-config-and-management branch at r1355039 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355072 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4080: close initial connections after use rather than allowing them to ↵Robert Gemmell2012-06-281-8/+7
| | | | | | fail over after we no longer need them, which causes them to sporadically expose QPID-4086 during teardown. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1354912 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4091 : [Java Broker] correct handling of dtx set timeoutRobert Godfrey2012-06-272-24/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1354738 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4091 : [Java Broker] correct handling of dtx set timeoutRobert Godfrey2012-06-273-21/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1354728 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4075: Exclude qmf_events from java/python testsKeith Wall2012-06-261-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1353860 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4080: restore connectdelay to previous value and increase retriesRobert Gemmell2012-06-251-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1353594 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4081: [Java Tests] Applied patch supplied by Alex RudyyRobert Godfrey2012-06-224-2/+112
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1352838 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4080: [Java Broker] HA - Increase client connectdelay to allow test to ↵Keith Wall2012-06-211-1/+1
| | | | | | be successful on slowe boxes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1352433 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4069: ↵Keith Wall2012-06-152-9/+11
| | | | | | | | | DistributedClientTest.testClientFailsToCreateProducerUsingInvalidSession occasionally seen to fail on CI Test is seen to fail on slower CI boxes running persistent profiles. From the logs, it can be seen that the issue is timing. Extending receive timeout and sync'ing after the message ought to resolve the problem. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1350722 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4052: [Java Broker] Increase the number of retries that the client will ↵Keith Wall2012-06-151-1/+1
| | | | | | use when trying to reconnect to the cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1350626 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3977: ChartingUtil now generates chart-summary.html file to facilitate ↵Keith Wall2012-06-157-5/+259
| | | | | | | | chart png browsing from CI server. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1350625 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3977: Add support for 3D bar/line charts; XY line charts, chart ↵Keith Wall2012-06-1523-100/+777
| | | | | | subtitles, and add Main-Class/Class-Path manifest entries to visualisation JAR to allow for convienient use from command line. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1350624 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4050: reduced verbosity of logging. Also removed unnecessary imports ↵Keith Wall2012-06-1515-18/+19
| | | | | | | | and casts in various perftests files. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1350623 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Simple fix to make JBoss7 compilation classpath genericWeston M. Price2012-06-141-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1350293 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA:Weston M. Price2012-06-133-5/+7
| | | | | | | | *Cleaned up JBoss7 configuration *Documentated cluster configuration for connection URL *Minor typo fixes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1349981 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4061 - Added statistic: Number of unacknowledged messages in a sessionTed Ross2012-06-131-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1349865 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4062 : [Java Tests] add misssing file from previous checkinRobert Godfrey2012-06-121-0/+127
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1349531 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4062 : [Java Tests] Java system tests sometimes fail due to JMX port ↵Robert Godfrey2012-06-124-64/+61
| | | | | | already initialised (Applied patch from Philip Harvey git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1349443 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4055 : [Java Broker] update to latest version of BDB libraryRobert Godfrey2012-06-123-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1349191 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4044: Synchronise DtxRegistry#commit and #rollback to eliminate the ↵Keith Wall2012-06-111-2/+2
| | | | | | possibility of deadlock git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1349055 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4034: XASessionImpl should override resubscribe() for correct XAWeston M. Price2012-06-111-5/+10
| | | | | | | | failover behavior *Implemented resubscribe() in XASessionImpl *Minor cleanup, fixed typos etc git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348825 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4014: increase debug logging in ConflationQueueListRobert Gemmell2012-06-101-2/+16
| | | | | | | Applied patch from Phil Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348647 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3997: [Java Broker] Allow assignment of AuthenticationManager on a ↵Keith Wall2012-06-107-14/+91
| | | | | | | | per-port basis Address review comments from Rob Godfrey. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348603 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4047 : [Java] Add timeout to socket connectRobert Godfrey2012-06-081-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348224 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4045: remove the unused 'extras' pluginRobert Gemmell2012-06-078-769/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1347688 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: Decrease 'je.rep.logFlushTaskInterval' interval to 1 minute in ↵Keith Wall2012-06-071-0/+5
| | | | | | | | order to minimize data losses on Node with NO_SYNC durability Applied patch from Oleksandr Rudyy <orudyy@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1347564 13f79535-47bb-0310-9956-ffa450edef68