Commit Graph

3770 Commits

Author SHA1 Message Date
Timothy A. Bish 8acbf4ceb5 Fix for AMQ-3468. Updated to XStream v1.4.1
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1160923 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 23:10:41 +00:00
Timothy A. Bish 3efd4b0515 fix for: https://issues.apache.org/jira/browse/AMQ-3454
Use a read / write lock on the destination mutex as many of the access points are simply reads of the underlying maps or a quite copy to another Collection.  The only time a write is done is during addDestination and removeDestination.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1160894 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 21:51:10 +00:00
Bosanac Dejan 4b6648eba1 https://issues.apache.org/jira/browse/AMQ-3463 - osgi and maven metadata
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1160656 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:25:22 +00:00
Bosanac Dejan 4682d399ba https://issues.apache.org/jira/browse/AMQ-3463 - osgi and maven metadata
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1160316 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 15:58:44 +00:00
Timothy A. Bish b9b67d0677 See if a bit more time allows the file based version of the test to receive, persist and then expire the messages on the slow build machine.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159875 13f79535-47bb-0310-9956-ffa450edef68
2011-08-20 13:41:02 +00:00
Gary Tully 383a7acb05 https://issues.apache.org/jira/browse/AMQ-3362 - revisit, place a limit on a browse such that the entire store is not recovered at once. Makes use of getMaxBrowsePageSize and getMaxExpirePageSize like the queue case, overhead is too large otherwise as durable sub test shows
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159662 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 15:34:31 +00:00
Gary Tully 32c06a0b1b some more autofail support to tests that can block a run
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159581 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 10:30:41 +00:00
Bosanac Dejan 6994ecb5ac https://issues.apache.org/jira/browse/AMQ-3374,https://issues.apache.org/jira/browse/AMQ-3443 - long kahadb tx, delayed tmp file removal
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159570 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 10:16:33 +00:00
Gary Tully 0d12055926 add autofail to yet another test that seems to stop the nightly build
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159294 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 16:13:34 +00:00
Gary Tully 039b646b4e add autofail
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159168 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:14:49 +00:00
Gary Tully c2179d15b7 use autofail
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159153 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 10:49:17 +00:00
Gary Tully e23b8ea0a6 https://issues.apache.org/jira/browse/AMQ-3459 - fix up outofdate merge
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159149 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 10:41:12 +00:00
Gary Tully 12aeb272bd don't let a hang stop the nightly build
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159142 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 10:25:18 +00:00
Bosanac Dejan 79c9f2d013 https://issues.apache.org/jira/browse/AMQ-3459 - inactive durable subscriber view selector
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159090 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 08:46:58 +00:00
Gary Tully a1b8df5605 setAutoFail so we get a stack trace on a hang in nightly
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1158822 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 16:47:22 +00:00
Gary Tully 5daeb53cc4 https://issues.apache.org/jira/browse/AMQ-3455: Broker may deadlock when creating queues under load with wildcard consumers - remove unnecessary class sync that results in lock order acquisition problem - related to https://issues.apache.org/jira/browse/AMQ-3197 sync on create. Additional test with concurrent producers/consumers on wildcards reproduces
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1158591 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 09:25:45 +00:00
Timothy A. Bish f1f6894ed7 Test case to show that https://issues.apache.org/jira/browse/AMQ-3405 is not a bug.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1158471 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 23:20:08 +00:00
Timothy A. Bish a6f1d756ef fix for: https://issues.apache.org/jira/browse/AMQ-1942
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1157433 13f79535-47bb-0310-9956-ffa450edef68
2011-08-13 22:28:42 +00:00
Timothy A. Bish 0885c60c4d fix for: https://issues.apache.org/jira/browse/AMQ-3449
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1157238 13f79535-47bb-0310-9956-ffa450edef68
2011-08-12 20:29:29 +00:00
Gary Tully 9026274532 show the store location for a DB toString
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1157118 13f79535-47bb-0310-9956-ffa450edef68
2011-08-12 14:20:51 +00:00
Timothy A. Bish 0e7d5a9523 https://issues.apache.org/jira/browse/AMQ-2411
remove some of the dependencies on port 61616 in current tests.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1156835 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 21:17:24 +00:00
Timothy A. Bish b4b39509a9 apply patch for: https://issues.apache.org/jira/browse/AMQ-2845
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1156748 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 19:14:50 +00:00
Timothy A. Bish 7a46a1c368 https://issues.apache.org/jira/browse/AMQ-2411
remove some of the dependencies on port 61616 in current tests.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1156397 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 23:00:13 +00:00
Gary Tully caca105072 https://issues.apache.org/jira/browse/AMQ-3442: Use real durable sub key as MBean name for inactive durable sub and improve metrics, fix inflight count on deactivate. resolved.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1155437 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 17:09:49 +00:00
Timothy A. Bish fd6be7f340 Give this test more time to meet its criteria
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1155385 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 14:33:28 +00:00
Timothy A. Bish 1e1b568784 Give the wait for expiration a bit more time since a really slow disk + CPU can't seem to get it done in 30secs.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1155363 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 13:39:23 +00:00
Timothy A. Bish 1898f9adbd apply patch for: https://issues.apache.org/jira/browse/AMQ-3439
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1154964 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 13:48:10 +00:00
Timothy A. Bish 3a181501b1 test for: https://issues.apache.org/jira/browse/AMQ-2801
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1154258 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 15:05:47 +00:00
Timothy A. Bish d8b5e2d6e2 Allows the class to set a field that isn't public but has a setter method. Fixes the compile warnings as well.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1154189 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 12:33:10 +00:00
Gary Tully c0513811a9 https://issues.apache.org/jira/browse/AMQ-3438: Make use of remote port in Connection MBeanNames optional, useful when ephemeral range cycles quickly. added boolean attribute org.apache.activemq.broker.jmx.ManagementContext#allowRemoteAddressInMBeanNames, accessible via xml. when false, a transport connector will only be registered by its clientId (whic defaults to connectionid)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1154162 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 11:24:45 +00:00
Gary Tully 516558698a https://issues.apache.org/jira/browse/AMQ-3383 - fix regression in org.apache.activemq.transport.failover.FailoverTransactionTest#testFailoverSendReplyLost, : being appended to the id to match input so a get for producer id on the audit will work
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1153857 13f79535-47bb-0310-9956-ffa450edef68
2011-08-04 12:08:21 +00:00
Gary Tully 8ec1347e30 resolve intermittent failure with this test, fix up the sync
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1153849 13f79535-47bb-0310-9956-ffa450edef68
2011-08-04 11:26:03 +00:00
Timothy A. Bish 84a16161be Allows the class to set a field that isn't public but has a setter method. Fixes the compile warnings as well.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1153701 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 23:17:34 +00:00
Timothy A. Bish 42e51a3368 https://issues.apache.org/jira/browse/AMQ-2411
remove some of the dependencies on port 61616 in current tests.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1153649 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 20:31:53 +00:00
Gary Tully a6b85cc9f3 https://issues.apache.org/jira/browse/AMQ-3353 - fix regression in NoDuplicateOnTopicNetworkTest, suppression only relevant to active durable subs
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1153588 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 17:26:15 +00:00
Bosanac Dejan 01ae0eaf92 https://issues.apache.org/jira/browse/AMQ-3422 - don't remove journal file with current producer tracker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1153482 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 13:35:35 +00:00
Gary Tully fa2b058dd5 https://issues.apache.org/jira/browse/AMQ-3375: stomp consumer might not receive all msgs of a virtual topic queue with memory limits. Committing tims test case which works fine post resolution of https://issues.apache.org/jira/browse/AMQ-3434
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1153463 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 12:19:46 +00:00
Bosanac Dejan 4798cea181 https://issues.apache.org/jira/browse/AMQ-3427 - compile on jdk7
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1153425 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 10:53:12 +00:00
Gary Tully bf59b7d70f https://issues.apache.org/jira/browse/AMQ-3434: Contention in PLIist creation results in NPE on load - FilePendingMessageCursor. Resolve contention on creation, tidy up ListIndex iterator remove and plist release, additional test that stresses contention such that it can reproduce the stomp load test scenario
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1153420 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 10:18:18 +00:00
Gary Tully 24cd2b3f29 https://issues.apache.org/jira/browse/AMQ-3435: Connection is taking a long time to close warning and hung close thread. Ensure stop called during start can attempt a stop such that it does not hang
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1153419 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 10:17:17 +00:00
Bosanac Dejan 14755a19d5 https://issues.apache.org/jira/browse/AMQ-3422 - producer audit needs string rollback, plus don't fail if we cannot recover producer audit
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1153125 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 13:46:07 +00:00
Bosanac Dejan 44ef96e6d3 https://issues.apache.org/jira/browse/AMQ-3431 - guard debug logging
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1152757 13f79535-47bb-0310-9956-ffa450edef68
2011-08-01 13:14:55 +00:00
Bosanac Dejan be37064a17 https://issues.apache.org/jira/browse/AMQ-3430 - activemq web - session pool
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1152747 13f79535-47bb-0310-9956-ffa450edef68
2011-08-01 11:46:50 +00:00
Timothy A. Bish cef02210b7 fix for: https://issues.apache.org/jira/browse/AMQ-3426
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1152194 13f79535-47bb-0310-9956-ffa450edef68
2011-07-29 12:58:18 +00:00
Bosanac Dejan 8c59bc3348 https://issues.apache.org/jira/browse/AMQ-826 - useManifestOnlyJar = false for apache ds tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1151900 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 15:47:41 +00:00
Bosanac Dejan 1aafa4fa1c https://issues.apache.org/jira/browse/AMQ-3422 - bitarray serialization
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1151857 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 14:12:02 +00:00
Timothy A. Bish b0f9afa1b3 Update the assertion messages to reflect the actual failure condition.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1151454 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 13:15:50 +00:00
Willem Ning Jiang 4ce57a618e AMQ-2922 Fixed the issue of KahaDBTransactionStore doesn' t store prepare command rightly
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1151121 13f79535-47bb-0310-9956-ffa450edef68
2011-07-26 14:49:35 +00:00
Timothy A. Bish e4dfd570b9 fix for: https://issues.apache.org/jira/browse/AMQ-3414
use schedule instead of scheduleAtFixedRate since we don't need read or write check tasks to "catch up" if delayed for some reason only to fire once the resources allow for it and then return to the standard delay for the next execution.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1150917 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 21:25:39 +00:00
Bosanac Dejan 036f2a8d7c https://issues.apache.org/jira/browse/AMQ-2583 - stomp+nio+ssl initial implementation
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1150630 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 11:08:52 +00:00