summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-2051, QPID-1975 : Add test to validate broker log4j startup does not ↵Martin Ritchie2009-08-161-0/+141
| | | | | | result in DEBUG logging git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@804813 13f79535-47bb-0310-9956-ffa450edef68
* Give QpidTestCase the ability to set environment variables for the external ↵Martin Ritchie2009-08-161-1/+28
| | | | | | brokers git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@804811 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2039: close the JMXConnectorServer down during shutdown of the ↵Robert Gemmell2009-08-161-9/+18
| | | | | | JMXManagedObjectRegistry git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@804781 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2052: Enable setting Loggers to inherit their Level from an ancestor. ↵Robert Gemmell2009-08-163-9/+118
| | | | | | Highlight the Runtime Loggers that have a level defined in the configuration file to aid inheritance visibility. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@804768 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2016: Add ability to reload the Log4J configuration file on request ↵Robert Gemmell2009-08-163-1/+87
| | | | | | using the management console git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@804767 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2051: Make the LoggingManagementMBean share the lock with ↵Robert Gemmell2009-08-162-313/+379
| | | | | | QpidLog4JConfigurator,protecting against concurrent access/modifications to the logging configuration file by JMX clients and the WatchDog thread. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@804766 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2051: Update startup scripts to disable the Log4J default ↵Robert Gemmell2009-08-166-54/+752
| | | | | | initialisation process. Add QpidLog4JConfigurator that validates the XML file before allowing it to be applied. Alter startup behaviour to shut the broker down if the specified log4j XML file is present present but invalid. Uses the -Damqj.logging.level(defaults to info) with the log4j.properties file in the broker jar if the XML file is not found. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@804765 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2001 : Default Locale should be the VMs locale not en_US.Martin Ritchie2009-08-143-14/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@804201 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Relax the SubscriptionLoggingTest.testSubscriptionSuspend. It ↵Martin Ritchie2009-08-141-5/+5
| | | | | | should only check the state not the Actor performing that state change. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@804199 13f79535-47bb-0310-9956-ffa450edef68
* QTC: Removed nukeBroker() as it is not functionally different from stopBroker()Martin Ritchie2009-08-132-64/+34
| | | | | | Completely commented out tests in PST that are not possible. i.e. gracefull broker shutdown and the final test that did nothing other than leave 100 msgs on the queue. Also updated queue naming to use QTC.getTestQueueName() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803944 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002: BLT should not be monitoring the qpid.log file it needs to ↵Martin Ritchie2009-08-131-9/+8
| | | | | | monitor standard out to validate that the correct BRK-1007 log4j configuration messages is provided. So reverted change to monitor qpid.log and refined comment git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803851 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Update to DMSLT.testQueueRecoveryCountEmpty which reuses a ↵Martin Ritchie2009-08-131-0/+3
| | | | | | previous test for validation. However, it did not stop the active broker before running that test so the DerbyMS threw an exception preventing startup and so testing." git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803842 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Fixed issue where the BLT.defaultLog4j test failed to startup.Martin Ritchie2009-08-132-3/+12
| | | | | | Cause is that the broker.ready 'BRK-1004' message goes to qpid.log not standard out. Updating the broker.start string to be a value that is always logged to standard out will ensure we know when the test is ready git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803841 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Excluded JMX testing from CPP brokerMartin Ritchie2009-08-131-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803818 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Fixed issue with multiple closes in Java profileMartin Ritchie2009-08-121-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803654 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Update the signal for when the broker is ready to be the new ↵Martin Ritchie2009-08-122-2/+2
| | | | | | | | BRK-1004 log message for the java profiles. qpid.ready=BRK-1004 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803653 13f79535-47bb-0310-9956-ffa450edef68
* Move closure logging to the end when things have been closed rather than ↵Martin Ritchie2009-08-121-4/+4
| | | | | | before it is closed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803652 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Defensive update incase the thread name is not as expected. In ↵Martin Ritchie2009-08-121-8/+27
| | | | | | all production environments it has shown to be but as the other tests highlight it will fail if the name is not as expected. Better to be defensive that just broken. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803651 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Ensure that we set the logging actor correctly when mina signals ↵Martin Ritchie2009-08-121-0/+6
| | | | | | the connection closed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803650 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Addition of JMX Management interface logging using the new ↵Martin Ritchie2009-08-129-18/+745
| | | | | | Logging Interfaces git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803649 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Updated ManagementActor to derive logString from the current threadMartin Ritchie2009-08-122-21/+69
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803648 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Added Logging of management console connection open and close eventsMartin Ritchie2009-08-124-1/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803647 13f79535-47bb-0310-9956-ffa450edef68
* Augmented QpidTestCase to proved details of the currently active management portMartin Ritchie2009-08-121-1/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803646 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Update the build order so that systests can depend on the ↵Martin Ritchie2009-08-122-3/+3
| | | | | | management cli and eclipse plugin to allow automated system testing git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803645 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2001 : Update to ensure changes to all LogMessages properties files ↵Martin Ritchie2009-08-121-1/+1
| | | | | | cause the re-generation of the *Messages classes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803642 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2047 : Updates to Qpid CLI to use super() calls rather than method that ↵Martin Ritchie2009-08-127-11/+9
| | | | | | | | has the same name as the class. Added generic discriminator to the return type of returnedObjects. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803641 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Added new SUB-1003 Message with testingMartin Ritchie2009-08-125-4/+148
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803639 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Addition of a QueueActor to be set during running of the ↵Martin Ritchie2009-08-124-2/+183
| | | | | | | | | processQueue thread Made QueueLogSubject public so it can be reused by QueueActor Updated SAMQQ to create a QueueActor for use during the processQueue thread run git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803638 13f79535-47bb-0310-9956-ffa450edef68
* Updated SAMQQ to only display owner when it is non-nullMartin Ritchie2009-08-121-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803636 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Made owner an optional value on the queue log messageMartin Ritchie2009-08-124-26/+113
| | | | | | Update tests to ensure Owner is not present git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803635 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Added Empty Queue Recovery testMartin Ritchie2009-08-121-9/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803634 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Removed incomplete and redundant test caseMartin Ritchie2009-08-121-51/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803633 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Removed commented out codeMartin Ritchie2009-08-121-64/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803632 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : removed unused importMartin Ritchie2009-08-121-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803631 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Added test to ensure that the ResourceBundle is loadable even if ↵Martin Ritchie2009-08-122-0/+173
| | | | | | the current Locale is not one that has a specific file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803630 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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@802601 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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@802121 13f79535-47bb-0310-9956-ffa450edef68