summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-1841: make MC release tar files gzipped as filename indicates. Add ↵Robert Gemmell2009-05-061-2/+8
| | | | | | licence, notice, readme from main resources folder git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@772177 13f79535-47bb-0310-9956-ffa450edef68
* The certificates added here had expired :(.Rajith Muditha Attapattu2009-05-047-23/+21
| | | | | | | Adding new certificates with a longer expiry git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@771471 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1839Rajith Muditha Attapattu2009-05-041-2/+12
| | | | | | | | | I added a timeout (that could be configured via qpid.ssl_timeout if needed) to notify the application, 1) if the broker fails to respond in a timely manner 2) if there was an error and the broker has already closed the connection. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@771470 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1833: use file.seperator to overcome copy+globmapper path limitation on ↵Robert Gemmell2009-04-302-2/+2
| | | | | | Windows git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@770317 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1730: add AlertingTest, although not to 010Aidan Skinner2009-04-284-2/+167
| | | | | | | | java.testprofile: Make sure that the broker can always find the log configuration file even if we've used a different directory for the config file QpidTestCase: expose the file that the output is being written to as a protected variable. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@769406 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1826: brown paper bag commitAidan Skinner2009-04-232-16/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@767989 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1826: Ensure that server-wide configuration variables in ↵Aidan Skinner2009-04-235-54/+298
| | | | | | virtualhosts.xml are honored. Add sample-flattened parse tree from M4 and test to ensure that values are parsed appropriately. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@767951 13f79535-47bb-0310-9956-ffa450edef68
* Added failonerror=true to fail the build if the example automation failsRajith Muditha Attapattu2009-04-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@767211 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1823: Allow recycling of channel IDsAidan Skinner2009-04-219-5/+167
| | | | | | | | | | | | AMQConnection.getNextChannelID: add method to abstract channel id assignment, allow max to be set AMQConnectionDelegate*: add getMaxChannelID AMQConnectionDelegate_0_10: use getNextChannelID for this session-id SessionCreateTest: add test that attempts to create 65555 sessions on one connection AMQConnectionTest: add unit test for getNextChannelID SessionCreateTest takes a long, long time to run so is excluded by default git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@767185 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1824 : Add ability to use a ConnectionURL String to configure a ↵Martin Ritchie2009-04-212-0/+86
| | | | | | ConfigurationFactory via a 3rd party tools that use Bean properties such as Mule or Spring. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@767150 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1818 : Disable NoLocalAfterRecoveryTest until we can resolve the ↵Martin Ritchie2009-04-211-0/+2
| | | | | | failover problems git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@767083 13f79535-47bb-0310-9956-ffa450edef68
* Setting the svn:executable property on the verify_all scriptRajith Muditha Attapattu2009-04-171-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@766162 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1822: override imported module.xml 'libs' target, preventing unecessary ↵Robert Gemmell2009-04-171-0/+4
| | | | | | copy of the libs to the 'build/lib' directory. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@766068 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1798: Update AMQQueueMBean to use new constant value of DeliveryMode, ↵Robert Gemmell2009-04-173-5/+6
| | | | | | | | | replacing previously incorrect literal value used in conditional statement and thus preventing the reversal of delivery mode status. Also update other broker classes making similar comparisons using a literal value to use a constant. merged from trunk r764026, as changes were lost during /broker 0.5-fix process. Excludes changes to sections no longer present, and changes still present in /common from previous commit. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@766047 13f79535-47bb-0310-9956-ffa450edef68
* Turn off NoLocalAfterRecoveryTest until it's fixed.Aidan Skinner2009-04-171-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@766042 13f79535-47bb-0310-9956-ffa450edef68
* Eat IllegalArgumentException when creating the signal handler, fixes startup ↵Aidan Skinner2009-04-171-1/+9
| | | | | | on Windows. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@766025 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1820: configure queues on creationAidan Skinner2009-04-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@766004 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1818 : Exclude NoLocalAfterRecoveryTest as 0-10 client code path does ↵Martin Ritchie2009-04-161-0/+2
| | | | | | not restore a transacted session after failover. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765656 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1813 : Add missing DerbyDB library dependency.Martin Ritchie2009-04-161-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765628 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1813/QPID-1817 : Removed the new properties from the test-provider as ↵Martin Ritchie2009-04-165-33/+76
| | | | | | this will affect all tests. The NoLocalAfterRecoveryTest now updates a ConnectionURL based on the JNDI data and uses that to start a connection. NLART also provides a default location for the derbyDB store as the DMS class does not correctly attempt to put the store in QPID_WORK. This will be re-addressed when ServerConfiguration is again available from a VHC object. ConnectionTest was updated to remove the literal values for the BrokerDetail options. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765608 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1817 : Update QTC to provide the configuration file to an external brokerMartin Ritchie2009-04-163-23/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765605 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1813 : Provide test that uses the DerbyMessageStore to check NoLocal ↵Martin Ritchie2009-04-164-4/+230
| | | | | | functionality after a broker restart. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765604 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1817 : Update to QpidTestCase to use setUp to start the broker this ↵Martin Ritchie2009-04-168-46/+202
| | | | | | | | allows tests to update the _configFile that is being used before the broker is started. By default the etc/config-systests.xml is used. This differs from the stock config.xml only in that it disables the Managment JMX interface by default. If a test requires this functionality it can provided an edited configuration. An example of how that might be done can be seen in SyncWaitDelayTest and will additionally be provided for QPID-1813. A couple of tests were modified to remove their setUp/tearDown where the code did no additional work. This made the tests cleaner. Additionally FrameworkBaseCase never actually called super.setUp() so that was fixed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765602 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1813 : Check the value of _sessionIdentifier and return null if it is ↵Martin Ritchie2009-04-162-7/+25
| | | | | | null rather than an NPE. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765600 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1815 : Ensure Derby store looks up existing queues/exchanges in the ↵Martin Ritchie2009-04-161-5/+17
| | | | | | virtualhost on recovery git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765597 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1814 : Don't always attempt to create the default exchanges in the ↵Martin Ritchie2009-04-161-0/+9
| | | | | | persistent store as they are always created first. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765596 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1814 : Relax Derby so that it does not error if you create an existing ↵Martin Ritchie2009-04-161-27/+50
| | | | | | Exchange or Queue git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765593 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1812: Fix firewall rule parsing, add test for this.Aidan Skinner2009-04-152-4/+64
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765250 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1810 : Added perftest processing scriptsMartin Ritchie2009-04-152-0/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765134 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1809 : When a DisconnectedException is recieved check the StateManager ↵Martin Ritchie2009-04-151-0/+11
| | | | | | to see if there is a cause of the disconnection that we can throw instead to give more meaning. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765132 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1807 : Add 0.5-fix broker and update SlowMessageStore to use ↵Martin Ritchie2009-04-14369-66/+60356
| | | | | | MessageStores rather than TransactionLogs git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764850 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1807 : Remove old broker and FlowToDisk related testsMartin Ritchie2009-04-14395-64908/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764838 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1779 : Update to ensure CACFTest reports failures correctly and ↵Martin Ritchie2009-04-143-12/+53
| | | | | | resolved the issue that it was not showing. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764790 13f79535-47bb-0310-9956-ffa450edef68
* Updated performance scripts to run even if previous test failed.Martin Ritchie2009-04-112-6/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764152 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1204 : Augmented test to cope with case were Session was closed before ↵Martin Ritchie2009-04-111-2/+10
| | | | | | we could extract the AuthenticationException git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764141 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1779 : Fixed the close problem so that we only send Consumer/Session ↵Martin Ritchie2009-04-112-3/+10
| | | | | | closes when we have a connnection available to send the frame. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764140 13f79535-47bb-0310-9956-ffa450edef68
* Added comments to help understand the testMartin Ritchie2009-04-111-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764139 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1800: only create the new empty arraylist after checking for a previous ↵Robert Gemmell2009-04-101-2/+5
| | | | | | enqueue list, as it often wont be required git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764113 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1806 : Got the classname wrong in in the exclude fileMartin Ritchie2009-04-102-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764112 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1793 : Update AMQChannel to remember any AMQException that occurs ↵Martin Ritchie2009-04-101-9/+28
| | | | | | during requeue and then throws that after it has attempted to requeue all the messsagse from the unackedMap. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764111 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1779 : Application of patches attached to JIRA. Should address ↵Martin Ritchie2009-04-107-12/+158
| | | | | | | | connection close issues experienced on 0-8/9 branch Excluded test from TCP runs as it is hardwired to InVM. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764109 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1800: remove unecessary addAll() command, as the list is about to be ↵Robert Gemmell2009-04-101-1/+1
| | | | | | cloned we can simply use the original list git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764105 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1806 : Ensure Flow to disk location is deleted when the queue is closedMartin Ritchie2009-04-105-2/+92
| | | | | | Note: As our queues do not stop processing on the close() call it is possible that the backing store may not beable to be deleted. In this case all that will occur is that it will log the failure to disk so an operations team can manually clean it up. When we improve the Queueing model for AMQP 1-0 we can address this behaviour. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764095 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1805 : Updated BackingStore to error if we cannot create the backing ↵Martin Ritchie2009-04-102-3/+174
| | | | | | store. Also updated so that we store the queues evenly over 256 bins, thus giving us the ability to have around 8.1 million actives queues. The Hash function was borrowed from Apache Harmony. Added manual testing to ensure we are not limited by Linux's max file/dir per Inode of 31998. Made the test manual as creating 32000 queues does take a little while. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764083 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1633 : Ensured that FlowToDisk configuration defaults to 100Meg and is ↵Martin Ritchie2009-04-102-3/+3
| | | | | | picked up from the configuration files. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764082 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1803 : Test that selectors work when a QueueDepth is set.Martin Ritchie2009-04-102-29/+132
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764081 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1804 : Provide testing for Flow to Disk when using ack modes Client, ↵Martin Ritchie2009-04-102-3/+60
| | | | | | Transacted and No-Ack git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764080 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1791 : Replaced the get call before the dequeueAndDelete with a remove. ↵Martin Ritchie2009-04-102-4/+161
| | | | | | | | So the remove call after the delete is now nolonger requried. Added manual test to assist identifing the problem git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764079 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1794 : Moved processing of single message removals to just before the ↵Martin Ritchie2009-04-101-30/+29
| | | | | | transaction commit rather than before the dequeue. As previously the list of dequeues was being traversed for every dequeue in that transaction batch with nothing to do. So removing this loop should increase performance in large batch cases. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764078 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1803 : Fixed potential NPE in FileUtils.deleteMartin Ritchie2009-04-101-2/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764076 13f79535-47bb-0310-9956-ffa450edef68