summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-1870 : Disable AlertingTest until it can be fixed.Martin Ritchie2009-05-211-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@777018 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1864: sync the dispatch queue to make sure there are no messages in it ↵Rafael H. Schloming2009-05-193-4/+116
| | | | | | before we rollback, and fix the ordering so that messages are released in queue order git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@776378 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1859Rajith Muditha Attapattu2009-05-143-44/+19
| | | | | | | | | For FailoverSingleServer the default for retries is set to 0 and the current_retries start from 0 instead of -1. For FailoverRoundRobinServers the current_broker_index now starts from 0 instead of -1. The AMQConnection now uses the getCurrentBrokerDetails() instead of the getNextBrokerDetails() to get the initial broker to connect. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@774899 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1854Rajith Muditha Attapattu2009-05-141-1/+8
| | | | | | | | | The sender.close is now surrounded with a try catch to handle the exception thrown by the IoSender.close(). The ideal situation would have been to pass false to the IoSender.close(boolean reportException) method which will then not throw the exception up the stack. But that method is not exposed in the Sender interface. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@774817 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1853. Since the socket is being closed inside the ↵Rajith Muditha Attapattu2009-05-141-1/+0
| | | | | | finnaly block we can remove the socket.close after the while loop inside the run method. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@774812 13f79535-47bb-0310-9956-ffa450edef68
* Added an exclude list for ssl.Rajith Muditha Attapattu2009-05-132-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@774465 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1857Rajith Muditha Attapattu2009-05-131-0/+2
| | | | | | | We now create a new session id, instead of reusing the same when it tries to attach the session after failover. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@774452 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1854Rajith Muditha Attapattu2009-05-131-0/+1
| | | | | | | | I have added a sender.close() inside the closed() method in the Connection.java This ensures the sender is closed and the IoSender thread is shutdown gracefully. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@774305 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1853. We now close the socket in the finnally block.Rajith Muditha Attapattu2009-05-131-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@774297 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1848 : fixed startup script on unix platformAndrea Gazzarini2009-05-121-20/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@773795 13f79535-47bb-0310-9956-ffa450edef68
* Modified the default message size to 1024 - I missed the default value for ↵Rajith Muditha Attapattu2009-05-071-1/+1
| | | | | | the system property in the previous commit git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@772492 13f79535-47bb-0310-9956-ffa450edef68
* Modified the default message size to 1024 bytesRajith Muditha Attapattu2009-05-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@772491 13f79535-47bb-0310-9956-ffa450edef68
* 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