summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'qpid-3603-4-rebase' into qpid-3603-5qpid-3603-5Alan Conway2012-02-1399-915/+4289
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-5@1243748 13f79535-47bb-0310-9956-ffa450edef68
* Create branch qpid-3603-5Alan Conway2012-02-130-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-5@1243747 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3739: Java properties qpid.ssl.keyStoreCertType and ↵Keith Wall2012-02-131-2/+0
| | | | | | | | qpid.ssl.trustStoreCertType have misleading names and would be better called qpid.ssl.[Key|Trust]ManagerFactory.algorithm Address review comments from Robbie Gemmell. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243449 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3825: TransactionTimeoutTests sporadically failKeith Wall2012-02-131-2/+3
| | | | | | Increase the tolerance around the number of received alert messages to allow for running on slower CI box. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243448 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3817: remove unnecessary cast to AMQQueue from the QueueBrowser ↵Robert Gemmell2012-02-132-3/+6
| | | | | | | | | creation path to allow their use with Address syntax 'destination.<address>' entries in JNDI properties files. Applied patch from Praveen Murugesan git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243389 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3830: remove stale reference to old examples READMERobert Gemmell2012-02-131-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243388 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3830: remove stale/confusing old 'examples' for the java clientRobert Gemmell2012-02-1327-2874/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243385 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3831: use AcquireMode=PRE_ACQUIRED when using server-side selectors and ↵Robert Gemmell2012-02-136-16/+12
| | | | | | consuming from Queues. Remove unused method parameter for selector filter. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243384 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3803: increase receive() timeout on persistent runs, newest failure log ↵Robert Gemmell2012-02-131-7/+8
| | | | | | shows the consumer timed out while recieving, before the publisher completed sending all the messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243382 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3440: add test to verify issue by ensuring that the reply-to ↵Robert Gemmell2012-02-134-55/+128
| | | | | | Destination cache results in use of the same Destination objects for subsequent messages. Implement equals() and hashCode() for the generated ReplyTo class to let it function properly as an index in the hashmap to resolve the issue. Update PropertyValueTest to remember the initial reply-to destination it sets and compare it with the value returned after sending/receiving the message, rather than constituting its own test destination for comparison. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243380 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3829: use a seperate object for reference checking to stop the ↵Robert Gemmell2012-02-138-175/+49
| | | | | | | | | AMQMessage holding its underlying 0-8/0-9/0-9-1 connection/io objects in memory after they are closed. Also stops an NPE on the 0-8/0-9/0-9-1 subscriptions when evaluating no-local after store recovery. Enables NoLocalAfterRecoveryTest again, though updated to make it simpler and more reliable. This test should be removed if changes for QPID-3605 are undertaken. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243379 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Fixed missing return type on Windows stub.Ted Ross2012-02-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1242915 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3773: generate a unique queue name for the internal bridge queues.Kenneth Anthony Giusti2012-02-101-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1242887 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Fixed a misleading commentTed Ross2012-02-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1242788 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3803: System tests SortedQueueTest fail ocasionally on slow machinesKeith Wall2012-02-101-31/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1242716 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3824 - Additional queue statistics, posix memory statistics, and ↵Ted Ross2012-02-0927-278/+1976
| | | | | | broker-scope statistics git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1242526 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3621 cmake build changes for solaris and solaris specific code changesClifford Allan Jansen2012-02-097-24/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1242411 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3823: ServerSession unblock(AMQQueue) can cause NPE when trying to ↵Keith Wall2012-02-094-67/+85
| | | | | | | | remove a queue from _blockingQueues Map that is not present Applied patch from Andrew MacBean <andymacbean@gmail.com> and Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1242408 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3620 time conversion fix for sparc architectureClifford Allan Jansen2012-02-091-4/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1242406 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3825: TransactionTimeoutTest.testProducerOpenCommit and others fails ↵Keith Wall2012-02-091-2/+8
| | | | | | | | | sporadically on slower boxes The test needs to sync() after sending the last test message in order that the test and broker start measuring the idle transaction from the same point in time. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1242399 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3571 PosixPoller implementationClifford Allan Jansen2012-02-091-0/+793
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1242380 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3821: Uncaught exception thrown in QueueRunner.run() could cause ↵Keith Wall2012-02-092-21/+30
| | | | | | QueueRunner to remain stuck in RUNNING state permanently git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1242339 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3819: ExhaustiveACLTests seen to timeoutKeith Wall2012-02-094-150/+128
| | | | | | | | | Backout changes to AMQStateManager made by QPID-3512 as these changes were causing the client to hang for 30 seconds after the Broker closed connection due to ACL violation. Refactored ConnectionCloseTest (now called BrokerClosesClientConnectionTest) to avoid the sporadic failure by verifying that the closed connection is reported correctly to the client. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1242338 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3820: Sporadic failures from ProducerFlowControlTestKeith Wall2012-02-081-2/+2
| | | | | | | | The tests rely on a sync() to make sure the Broker has received the sent messages and has had a chance to invoke flow-control. However, a defect in tests testClientLogMessages and testSendTimeout meant that an inactive session was actually being sync'd, rather than the one used to produce the messages. This will probably explain the sporadic failure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1241866 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3820: ProducerFlowControlTest#testSendTimeout test fails sprodically on ↵Keith Wall2012-02-071-141/+85
| | | | | | 0-10 profiles git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1241670 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3809: Java Broker killed by java.net.SocketException: Broken pipe ↵Keith Wall2012-02-071-6/+18
| | | | | | | | (killed by uncaught exception handler) Applied patch from Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1241433 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3818: Replace CombinedTest and its support classes with a simpler ↵Keith Wall2012-02-076-466/+169
| | | | | | test-case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1241431 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3807: Improve thread safety of JMS Session dispatcher.Keith Wall2012-02-071-21/+11
| | | | | | Make _dispatcherThread/_dispatcher volatile and remove their unused setters. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1241430 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove unnecessary getters added by recent commit 1236867Keith Wall2012-02-071-87/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1241429 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Move members back to top of class where they belongKeith Wall2012-02-071-181/+180
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1241428 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3816: add client version to connection open loggingRobert Gemmell2012-02-067-28/+72
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1241257 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3801: change use of escaped single quote to a hex literal to avoid a ↵Robert Gemmell2012-02-061-4/+8
| | | | | | bug in Checkstyle after JavaCC processes it into escaped unicode. Add braces to if statements and remove tabs for clarity. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1241180 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove redundant code from client and common trees.Keith Wall2012-02-0613-916/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1241107 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3756: Reorder Java Broker's connection close process so that ↵Keith Wall2012-02-063-7/+17
| | | | | | | | | ConnectionCloseOk is sent only after first updating its internal state. This change means that the connection mbean will be deregistered from JMX before sending ConnectionCloseOk, thus removing the possibility of the race condition. The client side process is unaffected by this change. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1241024 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3775: Change BDB shell scripts to avoid use of readlink when ↵Keith Wall2012-02-063-7/+12
| | | | | | determining QPID_HOME. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240985 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3815: remove duplicate setting of the NetworkConnection, this was ↵Robert Gemmell2012-02-061-1/+0
| | | | | | already done via the delegate ProtocolEngines constructor git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240868 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3815: update test to expose the issue, we no longer log both the ↵Robert Gemmell2012-02-061-18/+5
| | | | | | (unsupported) 0-10 and subsequent 0-9-1 connection attempts on the 0-9-1 profiles, so the test can now expect a precise number of messages on every profile git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240867 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove factory method only used by testRobert Gemmell2012-02-062-8/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240866 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3814: ensure the 0-10 client sends its version number during ↵Robert Gemmell2012-02-0518-198/+200
| | | | | | ConnectionStart(Ok) process, align properties better across protocol versions, general tidy up of the property handling git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240813 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove test-only and unused connect methodsRobert Gemmell2012-02-054-24/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240812 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3812: ExceptionListenerTest sporadically fails on java-mms-0.10Keith Wall2012-02-051-5/+9
| | | | | | Remove possibility of race condition by updating Broker state *before* sending the connection reply. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240708 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3813: allow configuring the default version reply to an unsupported ↵Robert Gemmell2012-02-048-33/+129
| | | | | | protocol version initiation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240644 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3810: fix log outputRobert Gemmell2012-02-041-4/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240605 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3793: Remove test MessageStatisticsTest.testMessagePeakRates from test ↵Robert Gemmell2012-02-041-22/+0
| | | | | | | | | suite because there is already junit test for testing peak value evaluation Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240519 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3794: calculate a sleep interval to account for previous overlsleep, to ↵Robert Gemmell2012-02-041-1/+6
| | | | | | | | | help avoid ocasional failures in StatisticsCounterTest.testPeakOutOfOrder Applied patch from Oleksandr Rudyy <orudyy@gmail.com> (with small update to prevent a negative value being used) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240518 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3803: allow more time on persistent runs to help prevent sporadic ↵Robert Gemmell2012-02-041-3/+9
| | | | | | | | | failures on sorted queue tests Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240517 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3595: exclude additional alternate exchange testRobert Gemmell2012-02-041-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240498 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3810: close an accepted socket when exceptions occur in order to ↵Robert Gemmell2012-02-041-4/+24
| | | | | | prevent leaking, wrap debug statement git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240497 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3810: rework exception handling to allow the acceptor to continue after ↵Robert Gemmell2012-02-031-25/+41
| | | | | | encountering IOE such as too many open files, ensure errors are logged at error level (except at close, when a SocketException will be thrown if we are blocking on accept() at the time), make the thread non-daemon but add support for it to exit when the acceptor is closed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240223 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3781: fix system test ↵Robert Gemmell2012-02-031-2/+2
| | | | | | | | MaxDeliveryCountTest.testAsynchronousDupsOkSession by ensuring the queue depth check syncs first Applied patch from Andrew MacBean <andymacbean@gmail.com> and Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240065 13f79535-47bb-0310-9956-ffa450edef68