summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3191: A fix for the performance problem which replaces the ↵Kim van der Riet2011-04-083-18/+29
| | | | | | QueueListeners std::vector with a std::deque and adds some other improvements. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1090252 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3190: always try to eval() quoted tokensGordon Sim2011-04-081-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1090170 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: prevent interference from other tests by using unique queue nameGordon Sim2011-04-081-4/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1090169 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3192 .NET Binding for Messaging classes are missing intrinsic copy ↵Charles E. Rolke2011-04-0712-7/+149
| | | | | | | | | constructors. The existing 'T(const T ^)' constructor is useful for C# code but fails for Cpp/clr. This commit adds the 'T(const T %)' intrinsic copy constructor for Cpp/clr. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1089995 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix bug in Cluster::timerDrop - calling wrong function.Alan Conway2011-04-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1089953 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3182Rajith Muditha Attapattu2011-04-061-28/+36
| | | | | | | | | Added a test case to cover the above issue. This class can use a bit of refactoring and some consolidation of test cases. Hoping to do that soon. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1089554 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3182Rajith Muditha Attapattu2011-04-062-3/+6
| | | | | | | A queue-bind is now issue when creating a queue under node props or for the subscription queue under link props. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1089552 13f79535-47bb-0310-9956-ffa450edef68
* gsim's patch to bring c++ logic in line with other clients.Michael Goulish2011-04-061-8/+9
| | | | | | | | If there is no username, then do nothing with either NAME or PASSWD callbacks. If there is a name but no passwd, then explicitly store an empty PASSWD callback. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1089294 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3187: Added exception handling safeguard for timer tasksGordon Sim2011-04-051-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1088951 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3181: addition of new task 'eclipse' to the Java build system to ↵Robert Gemmell2011-04-053-0/+103
| | | | | | | | support the creation of .classpath and .project files for the Eclipse IDE. Relies on http://ant-eclipse.sourceforge.net/ Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1088946 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3184: Amend ant build to produce cobertura coverage.xmlRobert Gemmell2011-04-052-4/+12
| | | | | | Applied patch from Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1088934 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: minor improvements to qpid-cpp-benchmark, more flexible arguments.Alan Conway2011-04-041-6/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1088738 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Update document/pdf to remove obsoleted components.Charles E. Rolke2011-04-042-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1088663 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3183: some minor improvements to the recently seperated QueueRunner ↵Robert Gemmell2011-04-041-4/+9
| | | | | | class, based on review feedback from Keith Wall for QPID-3167 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1088639 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3164: correct the occasionally failing tests ↵Robert Gemmell2011-04-041-77/+23
| | | | | | | | testSubscriptionSpecificRequeueForQueueWithMultipleSubscriptions and testSubscriptionSpecificRequeueForQueueWithMultipleSubscriptions. Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1088562 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3164 - Remove dead methods SimpleAMQQueue.requeue(QueueEntryImpl, ↵Robert Gemmell2011-04-044-39/+0
| | | | | | | | Subscription) and QueueEntryImpl.requeue(QueueEntryImp, Subscription subscription). SimpleAMQQueue.requeue(QueueEntryImpl, Subscription) was last used from SubscriptionImpl.java, but this was removed on 2009-10-25. Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1088561 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3174: remove further unnecessary enqueueComplete() calls ↵Gordon Sim2011-04-044-11/+1
| | | | | | [enqueueAsync() only called when enqueing in a store, and is not required on recovery at all] git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1088539 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3177: Add missing call to connection resumeAndrew Donald Kennedy2011-04-011-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1087890 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3174: remove unnecessary enqueueComplete() callsKenneth Anthony Giusti2011-04-011-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1087868 13f79535-47bb-0310-9956-ffa450edef68
* Corrected help text for --max-queue-size, --max-queue-countJonathan Robie2011-04-011-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1087706 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3180: fix ring queues for the case where max size is 0 (implying ↵Gordon Sim2011-04-011-1/+1
| | | | | | infinite size) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1087669 13f79535-47bb-0310-9956-ffa450edef68
* Add missing CMakeLists.txt to files to distribute. Fixes QPID-3176.Stephen D. Huston2011-03-311-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1087341 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3158 - Defect in the CRAM-MD5-HEX mechanism - CRAMMD5HexInitialiser ↵Robert Gemmell2011-03-315-11/+244
| | | | | | | | fails to pad bytes in range 0A-0F with leading zero. Add testcase to test CRAM-MD5-HEX mechanism. Guard against nulls in SASL SaslServerFactory.getMechanismNames implementations to avoid dependency on mechanism registration order. Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1087249 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3129: cluster_tests.LongTests.test_failover hangsAlan Conway2011-03-302-11/+28
| | | | | | | | | | | | | | | | | Fix is a race condition in posix/Socket.cpp Socket::connect. When connecting to a port on the same host which no longer has a process associated with it the OS occasionally chooses the remote port (which is unoccupied) as the port to bind the local end of the socket, resulting in a "circular" connection. This seems like something the OS should prevent but I have confirmed that the sporadic hangs in cluster_tests.LongTests.test_failover on RHEL5 are caused by such a circular connection. The fix is to detect circular connections and raise an error. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1087052 13f79535-47bb-0310-9956-ffa450edef68
* qpid-3171Michael Goulish2011-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | The registration of the codec happens on a different thread from the use of the codec. It is possible for the registration to occur after the first attempted use. In my testing, this happened 3% of the time -- 165 times out of 5000 tests -- when using RDMA transport, and 0 times out of 5000 when using TCP. Which is why we didn't notice it earlier. We have a function that tells when we are ready to encode -- CyrusSecurityLayer::canEncode. But it does not check the validity of the codec pointer before using it, so it cores in this situation. I believe simply checking that pointer is probably the best solution. Introducing that check caused the crash not to show up in 10,000 trials. There were also no hangs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1087047 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3167: add a unit test of SimpleAMQQueue#processQueue to check delivery ↵Robert Gemmell2011-03-3023-77/+264
| | | | | | when subscriptions with unique selectors are in use git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1087000 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add missing ASF licenceRobert Gemmell2011-03-291-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1086777 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add missing ASF licenceRobert Gemmell2011-03-291-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1086769 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Fixed case error in the automake file.Ted Ross2011-03-291-1/+1
| | | | | | | This caused a missing dependency in the qpidtypes library. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1086663 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3166: updates based on review feedback from Keith WallRobert Gemmell2011-03-281-25/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1086169 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3162: move unregistration of ServerConnections from the ↵Robert Gemmell2011-03-271-3/+11
| | | | | | ConnectionRegistry into the setState() method to ensure it occurs in all cases. Also move registration into setState(). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1086041 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3165: ensure all subscriptions are checked before making the decision ↵Robert Gemmell2011-03-271-22/+69
| | | | | | on whether to stop delivering. Use a boolean instead of doing a 0/1 toggle and update variables to generally clarify logic. Use an int instead of a long for the iteration decrementing git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1086040 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3166: add system test using multiple batch transacted producers with ↵Robert Gemmell2011-03-272-2/+250
| | | | | | multiple consumers using unique selectors. Exposes issue detailed in QPID-3165. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1086039 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3156: Use MapAccessor to retrieve Boolean propertiesAndrew Donald Kennedy2011-03-241-15/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1085187 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3169: add usage message if command is unknown.Kenneth Anthony Giusti2011-03-241-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1085147 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3168: fix queue flow control --help textKenneth Anthony Giusti2011-03-242-204/+159
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1085065 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - ACL Modules "reload" method now returns OK status if there was no ↵Ted Ross2011-03-231-1/+4
| | | | | | error. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1084768 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3156Rajith Muditha Attapattu2011-03-231-1/+8
| | | | | | | | The address parser treats 'true' as a string while it treats 'True' as a boolean. Therefore I modified the AddressHelper class to expect both forms. The MapAccessor class used for the rest of code already handles this case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1084462 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2930Rajith Muditha Attapattu2011-03-232-0/+4
| | | | | | | Excluding the testGetPropertyNames test case until we make a decision on whether to apply the same fix for 0-8 codepath. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1084420 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2930Rajith Muditha Attapattu2011-03-221-1/+1
| | | | | | | | Removed the explicit use of addressing in the test case to enable it to be run under any profile. This seems better than excluding it from the default and 0.8 profiles as the test doesn't really have anything to do with addressing. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1084414 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3159 - Applied patch from Angus SalkeldTed Ross2011-03-221-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1084359 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3160: Remove file/directory defaults from pre-generated man page.Alan Conway2011-03-222-69/+71
| | | | | | | | | | These paths will be different depending on build configuration so they can't be included in a static man page. They will still be shown by qpidd --help. Also updated the instructions in Makefile.am to include this edit step. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1084339 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3160: Check in pre-generated man pageAlan Conway2011-03-225-9/+315
| | | | | | | | | | | | | Previously the man page was generated automatically from the output of qpidd --help. To make a distribution, you had to build the entire source tree just to generate the man page. This automation was of limited value as the core broker options do not change often. This commit includes a pre-generated man page. At each release we will manually re-generate and check in a new man page. Instructions are provided in docs/man/Makefile.am git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1084282 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Fixed two problems in the qmf-interop tests:Ted Ross2011-03-221-1/+2
| | | | | | | | | | 1) Added a 2-second delay on console startup. This closes the window on a race condition that occurs when the console and agent start at exactly the same time. Note that this race has been designed out of the QMFv2 protocol. 2) Fixed a reference to an incorrect variable name in the assert(cond) message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1084053 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2930Rajith Muditha Attapattu2011-03-221-3/+13
| | | | | | | | | I had checked in an incomplete test case with rev 1082719 I had made certain changes to the test case for testing another potential fix, but forgot to revert it back to the original before committing. Re applied the changes to adequately test the issue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1084048 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3147: Added missing qpid/DisableExceptionLogging.h to source list in ↵Alan Conway2011-03-211-0/+1
| | | | | | Makefile.am. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1083961 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3147: Misconfigured tracing/logging can lead to hung threads in logging ↵Alan Conway2011-03-213-5/+62
| | | | | | | | | | | stack The hang was caused by re-entrant attempts to initialize the Logger singleton when an exception was thrown during logger configuration. The fix is to disable exception logging temporarily while the logger is constructed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1083884 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3155: Install module libraries during install-exec phaseAlan Conway2011-03-186-22/+22
| | | | | | | | The C++ automake system has 2 install phases, exec and data. Module libraries are installed incorrectly in the data phase. Fix the makefiles to install them in the exec phase. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1083077 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix qpidd late/overran warnings.Alan Conway2011-03-182-9/+13
| | | | | | | Warnings for late-and-overrun tasks were not being correctly reported. Lateness for overrun tasks below the late threshold were not being reported. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1082954 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3153Michael Goulish2011-03-184-4/+8
| | | | | | | added check for ais_exec running -- or don't run these clustered tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1082812 13f79535-47bb-0310-9956-ffa450edef68