summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* added support for setting attributesRafael H. Schloming2009-08-111-0/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803150 13f79535-47bb-0310-9956-ffa450edef68
* Add new test script to distribution list.Gordon Sim2009-08-111-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803041 13f79535-47bb-0310-9956-ffa450edef68
* Reinstate reliable_replication_testAndrew Stitcher2009-08-111-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802993 13f79535-47bb-0310-9956-ffa450edef68
* Add tests to check for correct Poller DISCONNECT behaviourAndrew Stitcher2009-08-111-24/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802992 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that a PollerHandle that has had a disconnected event can neverAndrew Stitcher2009-08-111-1/+4
| | | | | | | be returned with any more events git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802991 13f79535-47bb-0310-9956-ffa450edef68
* Fix for re-entering DispatchHandle::processEvent more than once on disconnectionAndrew Stitcher2009-08-112-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802990 13f79535-47bb-0310-9956-ffa450edef68
* Watchdog feature to remove unresponsive cluster nodes.Alan Conway2009-08-107-34/+236
| | | | | | | | | | | | | | | | | In some intstances (e.g. while resolving an error) it's possible for a hung process to hang the entire cluster as they wait for its response. The cluster can handle terminated processes but hung processes present a problem. If the watchdog plugin is loaded and --watchdog-interval is set then the broker forks a child process that runs a very simple watchdog program, and starts a timer in the broker process to signal the watchdog every interval/2 seconds. The watchdog kills its parent if it does not receive a signal for interval seconds. This allows a stuck broker to be removed from the cluster so other cluster members can continue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802927 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2018: Updated AMQQueueMBean to make use of the AMQQueue clearQueue ↵Robert Gemmell2009-08-103-7/+27
| | | | | | return value to report the number of messages deleted. Updated management console accordingly, also indicating that it is only non-acquired messaes that are cleared git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802819 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2037: refresh the treeViewer in advance to make the server nodes ↵Robert Gemmell2009-08-091-0/+2
| | | | | | children visible before the expansion is performed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802632 13f79535-47bb-0310-9956-ffa450edef68
* Correct LogMonitorTest after change to the rest functionality broke the test.Martin Ritchie2009-08-091-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802628 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Add VirtualHost logging and testing, again shutdown testing must ↵Martin Ritchie2009-08-093-0/+173
| | | | | | be excluded due to the way we stop test brokers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802627 13f79535-47bb-0310-9956-ffa450edef68
* Removed Java 6 dependency on Deque. Used Stack instead.Martin Ritchie2009-08-091-27/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802626 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Added new message CHN-1004, to allow the reporting of prefetch ↵Martin Ritchie2009-08-093-8/+21
| | | | | | sizes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802625 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2036: replace the getMessagesRangeOnTheQueue() implementation with a ↵Robert Gemmell2009-08-091-22/+15
| | | | | | QueueEntryFilter based version that correctly excludes the final message if it has been deleted, and is in general easier to reason about than the previous version git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802615 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2032: hash the password in addUser() if connected to a Qpid JMX API 1.1 ↵Robert Gemmell2009-08-091-4/+21
| | | | | | or below broker. Convert the setPassword() compatibility check to use the API versioning git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802611 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2015: Update the management console to allow selection of the Queue ↵Robert Gemmell2009-08-095-247/+517
| | | | | | | | | attributes to be displayed in the Queue selection view. Uses the new methods in the VirtualHostManager MBeans for newer brokers, and a new method in the MBeanUtility class that leverages the MBeanServerConnection to gather attributes for older brokers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802602 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2015: Add 2 new methods to the VirtualHostManager to retrieve attribute ↵Robert Gemmell2009-08-095-19/+188
| | | | | | names/values for every Queue in the vhost in a single call. Remove previous viewQueueNamesDepths() method. Add new ManagedQueue attribute names constants, and a test to ensure any attributes added to the Queue MBeans in future are also added to the constants. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802601 13f79535-47bb-0310-9956-ffa450edef68
* Removed unused filesAndrew Stitcher2009-08-079-308/+1
| | | | | | | Removed unused functions from Timer Switched TimerTest to sys::Timer git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802160 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Addition of Management LoggingMartin Ritchie2009-08-072-1/+396
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802128 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002: Broker Start messages were not being printed at earlier enough.Martin Ritchie2009-08-072-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802127 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Add ability to filter log messages by virtualhost to ↵Martin Ritchie2009-08-072-43/+92
| | | | | | AbstractTestLogging so that DerbyMessageStore can use it to filter out all the items created in the test vhost. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802123 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Updated to use getTestQueueName() to ensure the queue used is ↵Martin Ritchie2009-08-071-2/+2
| | | | | | specific to this test git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802122 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Ensured new Logging tests use a new queue name for each test ↵Martin Ritchie2009-08-072-9/+21
| | | | | | case as the durable store is not cleared between tests so subsequent tests performing a queue create will not see a queue declare if the same name is used in all test cases. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802121 13f79535-47bb-0310-9956-ffa450edef68
* Ensured monitor resets do not exclude test connnection setupMartin Ritchie2009-08-073-7/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802120 13f79535-47bb-0310-9956-ffa450edef68
* Add Derby StoreClose test to excludes due to QPID-2031Martin Ritchie2009-08-071-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802119 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2033 : Added destroy for broker process that fails to startup. Also ↵Martin Ritchie2009-08-075-48/+72
| | | | | | | | augmented QpidTestCase and build profiles to take a new broker.stopped search value. If this appears in the log output during the external broker startup and the broker does not report ready then the startup will report the line of text associated with the exception as part of the failure. Currently the stopped value is set to to 'Exception'. This means if an exception occurs during startup then test will give more detail about the cause of the failure. This is only monitored during the brokerStart() call and through the getStopLine() call on the Piper we can return the line of text that the Exception matched. Providing more details of why a broker failed to startup. This extra detail is currently added to the exception thrown when the broker fails to become ready. Added test.mport to profile for defaulting management port git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802118 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2033 : Update to QpidTestCase to ensure that external broker is fully ↵Martin Ritchie2009-08-071-0/+2
| | | | | | shutdown when it fails to startup in the allotted time. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802117 13f79535-47bb-0310-9956-ffa450edef68
* Update to LogMonitor to use channel truncation as the AlertingTest did ↵Martin Ritchie2009-08-071-4/+2
| | | | | | previously. The current method can result in data log data loss and test failures. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802116 13f79535-47bb-0310-9956-ffa450edef68
* Added ServerConfigurationFileTest to exclude as this test requires the ↵Martin Ritchie2009-08-071-0/+5
| | | | | | | | default server configuration file for validation. Rather than editing the config files that the other profiles use simplist to exclude the test. This doesn't reduce test coverage as this is testing configuration loading only. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802115 13f79535-47bb-0310-9956-ffa450edef68
* Restored DerbyMessagStore testMartin Ritchie2009-08-071-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802114 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : MessageStore Logging updates to include queue counts from ↵Martin Ritchie2009-08-072-13/+270
| | | | | | persistent stores git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802113 13f79535-47bb-0310-9956-ffa450edef68
* Add a drainQueue method to QTC to allow tests to clean up after themselvesMartin Ritchie2009-08-071-7/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802112 13f79535-47bb-0310-9956-ffa450edef68
* Fixed BDBMessageStore class pathMartin Ritchie2009-08-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802111 13f79535-47bb-0310-9956-ffa450edef68
* Reverted r801903, it should not be needed after r801860 and r801861.Gordon Sim2009-08-071-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801948 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Fix for BindingLoggingTest : Where Binding Delete message order ↵Martin Ritchie2009-08-071-6/+17
| | | | | | is not guarranteed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801906 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Fix for BrokerLoggingTest NPE.Martin Ritchie2009-08-071-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801904 13f79535-47bb-0310-9956-ffa450edef68
* Gsim's temporary fix for replication bug.Michael Goulish2009-08-071-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801903 13f79535-47bb-0310-9956-ffa450edef68
* Fixed LinkRegistry destructor to only cancel TimerTask if there is one!Andrew Stitcher2009-08-071-1/+3
| | | | | | | (the only time there might not be one is in the store tests) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801871 13f79535-47bb-0310-9956-ffa450edef68
* Change QueueCleaner so that it cancels any outstanding TimerTask on destructionAndrew Stitcher2009-08-073-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801861 13f79535-47bb-0310-9956-ffa450edef68
* Change LinkRegistry to cancel its TimerTask in its destructorAndrew Stitcher2009-08-072-2/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801860 13f79535-47bb-0310-9956-ffa450edef68
* Revert "Stop timer thread before users are deleted (as they don't all clean ↵Andrew Stitcher2009-08-071-4/+0
| | | | | | | | | up prior to being destroyed)" This reverts commit cfbbe6093b1353f3896249d227cf1458d95abbc7. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801859 13f79535-47bb-0310-9956-ffa450edef68
* Further improve the delay/overrun Timer warnings when both occur at onceAndrew Stitcher2009-08-071-6/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801858 13f79535-47bb-0310-9956-ffa450edef68
* When setting up the next fire time for a Timer make sure it can't be in the ↵Andrew Stitcher2009-08-071-1/+2
| | | | | | past. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801857 13f79535-47bb-0310-9956-ffa450edef68
* Stop timer thread before users are deleted (as they don't all clean up prior ↵Gordon Sim2009-08-061-0/+4
| | | | | | to being destroyed) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801802 13f79535-47bb-0310-9956-ffa450edef68
* Fix cman integration to exit immediately on loss of quorum.Alan Conway2009-08-0612-36/+109
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801740 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Improved Channel/ConnectionLogging Test to report that it had no ↵Martin Ritchie2009-08-063-13/+59
| | | | | | logged messages when that situation occurs. Rather than -1 index exceptions. Update to BrokerLoggingTest to ensure it is monitoring the right file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801728 13f79535-47bb-0310-9956-ffa450edef68
* Removed unused Constructor on Mock objectMartin Ritchie2009-08-062-6/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801726 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002, QPID-2001 : Add new SubscriptionActor to perform Subscription ↵Martin Ritchie2009-08-067-11/+203
| | | | | | close logging on the Subscription Flush thread. Alternative would be to create a Virtualhost Logger. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801725 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2001 : Update to LogMessages.vm to perform the option removal BEFORE ↵Martin Ritchie2009-08-061-21/+21
| | | | | | replacement is performed. Encountered a problem creating Binding Tests where the brackets '[]' logged by the messsage caused the option removal to fail. Performing the removal before formatting will remove this problem. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801724 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Add Binding Logging Messages with testMartin Ritchie2009-08-064-19/+293
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801723 13f79535-47bb-0310-9956-ffa450edef68