summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
...
* Add diagram of the broker queue and subscription model.Aidan Skinner2009-09-021-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@810538 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2059 : CI failures were due to threading races to exhaust prefetch ↵Martin Ritchie2009-09-021-19/+11
| | | | | | before delivered messages could be acked. So adjusted test to have the client dispatcher ready to deliver and relax the constraint that we validate which actor is doing the logging. The fact the state has changed correctly is the important factor. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@810441 13f79535-47bb-0310-9956-ffa450edef68
* CommitRollbackTest#testPutThenRollbackThenGet failed on CI. Using a 100ms ↵Martin Ritchie2009-09-011-1/+1
| | | | | | initial receive is to low as there will be no prefetched data to use. Increasing to 1000ms. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@810093 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2059 : Updated SLT to ensure there is a gap between ACTIVE and ↵Martin Ritchie2009-09-011-12/+20
| | | | | | SUSPENDING states so that the log can occur. As there are multiple threads editing the state of the subscripition it is possible that the state change does not result in a log message being produced. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@810072 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2077 : The problem with the tearDown is that we still have a race ↵Martin Ritchie2009-09-011-3/+25
| | | | | | | | condition when a control thread trys to close the connection at the same time as the exception handling thread is also closing the connection. Solution here is to wait for the exception handling thread to have done enough to mark the connnection closed so the race condition will not occur. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@809981 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2059 : Add some validation to verify suspension has been lifted correctly.Martin Ritchie2009-09-011-15/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@809957 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2060 : Simplist solution is to remove test as the functionality is ↵Martin Ritchie2009-09-011-12/+0
| | | | | | better tested by the _Timeout test. This test verifies that the message is not in the file then waits for it ot occur. The _Found test is failing as we have not waited long enough for the message to be logged. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@809936 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2060: If the result set isn't the right size, try re-reading the log ↵Aidan Skinner2009-08-261-2/+4
| | | | | | file 10 times, just in case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807983 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2075: Wrap every Connection/Notification Listener removal in an ↵Robert Gemmell2009-08-252-7/+38
| | | | | | individual try-catch block to ensure attempt is made to unregister all listeners. Close the JMXConnector. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807737 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2074Rajith Muditha Attapattu2009-08-242-28/+49
| | | | | | | | | | I added a flag to disable flow control when max prefetch is zero. This will also prevent unnessacery suspend/resume actions (and hence extra threads being spawned) when the non meaningful thresholds (for the above case) are passed. I also think that adjusting the count and puting the message into the queue should be an atomic operation. This means notifying the listener will also need to be squeezed insde the same sync block. Another point to note is that this is redundent in the 0-10 codepath as we have protocol level flow control. Since a more complete overhaul is needed in this area, for the time being I have only done the bare minimum. I also added a timeout for all sync receives in the DurableSubscriptionTest. This will prevent the whole test suite from hanging if messages don't arrive as expected. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807292 13f79535-47bb-0310-9956-ffa450edef68
* unix2dos on the win32 qpidmc.ini to the correct line endings for the SSL ↵Robert Gemmell2009-08-241-11/+11
| | | | | | configuration template git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807236 13f79535-47bb-0310-9956-ffa450edef68
* slight tweak to the note informationRobert Gemmell2009-08-241-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807055 13f79535-47bb-0310-9956-ffa450edef68
* Make the highlighted (editable) attributes more distinguishableRobert Gemmell2009-08-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807054 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2070: allow double clicking in the Channels table to open the default ↵Robert Gemmell2009-08-241-0/+58
| | | | | | queue for the channel, if there is one git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807053 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2069: Allow empty values to be specified for keys when creating ↵Robert Gemmell2009-08-241-2/+12
| | | | | | bindings in a Headers exchange via JMX, as the HeaderBindind supports this as specifying a match on key presence only git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807050 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2071: Have the console clean up when the ↵Robert Gemmell2009-08-241-1/+6
| | | | | | JMXConnectionNotification.CLOSED notification is recieved git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807044 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2068: add a key-value pair based createBinding dialog for Headers ExchangesRobert Gemmell2009-08-241-22/+118
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807043 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2073:Reduce the minimum vertical footprint of the QueueOperations to ↵Robert Gemmell2009-08-241-7/+13
| | | | | | better suit use with a 1024x768 screen resolution git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807042 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2072: add missing initialisations of sort column/directionRobert Gemmell2009-08-245-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807041 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2060: right, if the results are the wrong size just HOLD ON A MO and ↵Aidan Skinner2009-08-201-0/+13
| | | | | | retry it. Log files sometimes take a while to write, y'know. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@806165 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2060: make sure we clean up the logfile after each test run.Aidan Skinner2009-08-192-40/+43
| | | | | | Optionally print out the whole thing if the log monitor fails to find the text. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805848 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2049: close the connection after checking the log file, giving the ↵Aidan Skinner2009-08-191-2/+1
| | | | | | broker enough time to start and suspend the connection. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805795 13f79535-47bb-0310-9956-ffa450edef68
* This is to fix the test failures introduced in r805267.Rajith Muditha Attapattu2009-08-181-2/+2
| | | | | | | The above commit resulted in the FailoverTest and QueueBrowserAutoAckTest to fail under the java profiles. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805604 13f79535-47bb-0310-9956-ffa450edef68
* Always log subscription state changes in the same way.Aidan Skinner2009-08-181-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805482 13f79535-47bb-0310-9956-ffa450edef68
* Added the BrokerStartupTest to 010ExcludesRajith Muditha Attapattu2009-08-181-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805441 13f79535-47bb-0310-9956-ffa450edef68
* Clarified for users who do not run the Java broker on the same machineJonathan Robie2009-08-181-3/+4
| | | | | | | as client examples. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805418 13f79535-47bb-0310-9956-ffa450edef68
* This commit allows a limited number of failover tests to run under the SSL ↵Rajith Muditha Attapattu2009-08-185-20/+28
| | | | | | | | | | | | profile using SSL connections. This commit should also fix the tests hanging under the SSL test profile due to port conflicts with SSL and failover ports. FailoverBaseCase and FailoverTest is improved to handle the failover port without having to rely on port arithmetic. The FailoverBaseCase is modified to use the failover.ssl connection factory when running under the SSL profile. I have uncommented the FailoverTest from the cpp.ssl.excludes. However only a selected set of tests will run outside the cpp.clustered profile. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805267 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2051: relax the parser validation to only halt startup on fatal-errors ↵Robert Gemmell2009-08-176-50/+97
| | | | | | in the xml file, and relax the level-check to allow undefined system properties. Move the Log4J initialisation override inside Main instead of the startup scripts, and have it check for -Dlog4j.configuration first before engaging. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805188 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2056: ensure the table listeners are added to the new table when ↵Robert Gemmell2009-08-172-48/+56
| | | | | | changing the displayed attributes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805046 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1911, QPID-1912, QPID-1913: make SelectorTest, TopicSessionTest, ↵Aidan Skinner2009-08-175-38/+79
| | | | | | SelectorTest and SubscriptionLoggingTest all use transactions to stop intermittent timing related test failures. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805021 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2055: update the save process for the log4j configuration file. Check ↵Robert Gemmell2009-08-171-5/+32
| | | | | | if the rename/move succeeds, and if not attempt a copy instead git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805020 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2042: update the save process for the access rights file. Check if the ↵Robert Gemmell2009-08-171-5/+34
| | | | | | rename/move succeeds, and if not attempt a copy instead git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805019 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2041: update the save process for the B64 MD5 password file. Only ↵Robert Gemmell2009-08-171-8/+38
| | | | | | attempt the move if the new file is created successfully. Check if the rename/move succeeds, and if not attempt a copy instead git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805018 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2040: update the save process for the plain password file. Only attempt ↵Robert Gemmell2009-08-171-8/+39
| | | | | | the move if the new file is created successfully. Check if the rename/move succeeds, and if not attempt a copy instead git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805017 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2040: add a copy method to FileUtils that throws checked exceptions ↵Robert Gemmell2009-08-171-18/+31
| | | | | | instead of wrapping as them runtime exceptions git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805016 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1978: add some missed expansions of button text, dialog headings to pluralRobert Gemmell2009-08-172-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805015 13f79535-47bb-0310-9956-ffa450edef68
* Ensured AlertingTest cleans up after its run. So we don't have to ant clean ↵Martin Ritchie2009-08-161-0/+9
| | | | | | between tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@804814 13f79535-47bb-0310-9956-ffa450edef68
* 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