Commit Graph

3181 Commits

Author SHA1 Message Date
Hiram R. Chirino 4512f27fdd Fix threading issue which was causing a memory leak. Basically the writes were getting added to the in flight map
after they were enqueued to get written and in that time span they could be been processed and the remove() would occur before the add witch caused the leak.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652562 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 16:02:59 +00:00
Hiram R. Chirino 935ab765ac fix build
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652549 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 15:05:14 +00:00
Hiram R. Chirino faaccf3391 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652512 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 13:22:35 +00:00
Hiram R. Chirino 7f073eb532 [maven-release-plugin] prepare release activemq-5.1.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652510 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 13:22:13 +00:00
Robert Davies 290f51a1eb Fix for https://issues.apache.org/activemq/browse/AMQ-1699
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652440 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 06:43:08 +00:00
Robert Davies 5a27904d1d Fix for https://issues.apache.org/activemq/browse/AMQ-1705
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652438 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 06:36:20 +00:00
Robert Davies 8248314204 Fix for https://issues.apache.org/activemq/browse/AMQ-1542
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652437 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 06:10:08 +00:00
Hiram R. Chirino a3fb0301f9 Fixing test - it has some bad timing assumptions.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652413 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 00:46:36 +00:00
Hiram R. Chirino 87dee22068 Make the test work on AIX
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652392 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 14:49:26 +00:00
Hadrian Zbarcea 101a3e453a Removed timing dependent asserts in test that could cause intermittent failures.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652368 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 12:31:46 +00:00
Robert Davies a61e5bce17 Fix for https://issues.apache.org/activemq/browse/AMQ-1509
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652305 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 06:52:36 +00:00
Robert Davies 7a238556e3 Fix for https://issues.apache.org/activemq/browse/AMQ-1698
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652303 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 06:49:55 +00:00
Robert Davies b35bc797ec Fix for https://issues.apache.org/activemq/browse/AMQ-1702
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652302 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 06:48:20 +00:00
Robert Davies 9341f16442 Fix for https://issues.apache.org/activemq/browse/AMQ-1701
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652300 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 06:36:53 +00:00
Hadrian Zbarcea c4aae53139 Fix typos in tests.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652181 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 22:46:39 +00:00
Hiram R. Chirino 453d2a25f5 Fix for AMQ-1691 and AMQ-1694
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652159 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 21:46:23 +00:00
Hiram R. Chirino 29b07eae49 make naming convention more consistent so it shows processor platform
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652123 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 21:07:24 +00:00
Hiram R. Chirino 22c63e65c7 Fix for AMQ-1691 and AMQ-1694
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652121 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 21:06:02 +00:00
Hiram R. Chirino aa62069349 Fix for AMQ-1696
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652111 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 20:59:06 +00:00
Hadrian Zbarcea c65a66fe3e AMQ-1677. Spring dependencies.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652107 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 20:55:10 +00:00
Hiram R. Chirino e57b646261 Don't test in the full profile
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651666 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 17:52:05 +00:00
Hiram R. Chirino d5634894f5 Fixing source ver problems
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651663 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 17:46:30 +00:00
Hiram R. Chirino be47d0b392 applying a modified version of that patch attached to https://issues.apache.org/activemq/browse/AMQ-1689
- This reduces the the number of disk syncs that the broker does on some workloads which increases performance
 - Fixed and issue where the last write to disk migh get lost on broker shutdown.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651637 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 16:15:20 +00:00
Robert Davies 8bf2d78cb2 start consumers/producers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651619 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 14:49:58 +00:00
Robert Davies 803abe48a4 Apply patch for http://issues.apache.org/activemq/browse/AMQ-1690
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651618 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 14:42:45 +00:00
Hiram R. Chirino e54a1261d5 Fix for https://issues.apache.org/activemq/browse/AMQ-1098
Use of https transport throws ClassCastException


git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651320 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 17:42:37 +00:00
Hiram R. Chirino d8be50b617 Applied patch from AMQ-1686 thanks Gary
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651316 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 17:03:47 +00:00
Hiram R. Chirino 44e0eaf1f4 Fix for http://issues.apache.org/activemq/browse/AMQ-1681
- Avoid logging object leak when temp destination are created and destroyed.


git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651300 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 16:02:16 +00:00
Hiram R. Chirino 4e6a637896 using SHIFT hacnges the way args are passed on so just use %* instead
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651289 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 15:23:10 +00:00
Hiram R. Chirino cd1b1d661d AMQ-1685 Made the activemq-admin scripts identical to the activemq ones except the start arg is not passed along. This should make them behave the same way.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651288 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 15:19:25 +00:00
Robert Davies d3ebc9cd21 Fix for https://issues.apache.org/activemq/browse/AMQ-1683
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651242 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 12:23:17 +00:00
Hiram R. Chirino 347f8eca1b synchronize the asyncWrite method. To avoid the following reported stack trace:
Running org.apache.activemq.broker.region.cursors.CursorDurableTest
Exception in thread "Persistence Adaptor Task" java.lang.NullPointerException
        at org.apache.activemq.store.amq.AMQMessageStore$4.execute(AMQMessageStore.java:381)
        at org.apache.activemq.util.TransactionTemplate.run(TransactionTemplate.java:44)
        at org.apache.activemq.store.amq.AMQMessageStore.doAsyncWrite(AMQMessageStore.java:374)
        at org.apache.activemq.store.amq.AMQMessageStore.asyncWrite(AMQMessageStore.java:341)
        at org.apache.activemq.store.amq.AMQMessageStore$1.iterate(AMQMessageStore.java:95)
        at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122)
        at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 303.672 sec <<< FAILURE!

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650956 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 17:46:05 +00:00
Robert Davies cbb290c0b3 updated some defaults
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650930 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 16:18:06 +00:00
Hiram R. Chirino e9b1cd5282 Fixing up pom after the release
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650893 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 14:44:07 +00:00
Hiram R. Chirino 147021394a [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650873 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 14:01:23 +00:00
Hiram R. Chirino ad089f5e46 [maven-release-plugin] prepare release activemq-5.1.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650871 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 14:00:11 +00:00
Hiram R. Chirino 349d7e1e81 Fixing ver for next release attempt
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650863 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 13:38:38 +00:00
Hiram R. Chirino 80a978807f Disable the command agent by default for now cause it tends to spew out errors when the broker is shutdown.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650859 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 13:24:18 +00:00
Robert Davies 620b657216 Fix for https://issues.apache.org/activemq/browse/AMQ-1654
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650766 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 07:10:22 +00:00
Robert Davies 18f9773326 Fixes for https://issues.apache.org/activemq/browse/AMQ-1678
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650763 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 06:57:51 +00:00
Hiram R. Chirino 6aa07faceb Fix the build
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650626 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 19:40:03 +00:00
Hiram R. Chirino 4f0c105395 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650588 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 17:35:50 +00:00
Hiram R. Chirino ad25a169dd [maven-release-plugin] prepare release activemq-5.1.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650586 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 17:34:50 +00:00
Hiram R. Chirino 62aba75153 Fixing osgi export
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650578 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 17:13:32 +00:00
Robert Davies 464402cd0e Applied patch from https://issues.apache.org/activemq/browse/AMQ-1200
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650392 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 07:09:52 +00:00
Robert Davies ad2465ace8 removed unused import
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650387 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 06:07:04 +00:00
Robert Davies 35635f925d Fix for https://issues.apache.org/activemq/browse/AMQ-1667
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650386 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 06:03:17 +00:00
Robert Davies 16f2d753e8 Fix for https://issues.apache.org/activemq/browse/AMQ-1672
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650143 13f79535-47bb-0310-9956-ffa450edef68
2008-04-21 13:41:19 +00:00
Robert Davies 4a6699e33b tidied imports
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649713 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 22:26:30 +00:00
Hiram R. Chirino e4ee0b2440 When sending directly, do it outside the valve lock to avoid a deadlock
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649708 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 22:06:04 +00:00