Commit Graph

2966 Commits

Author SHA1 Message Date
Bernd Gutjahr f07e592a66 ARTEMIS-1108: Removed AIOFileLockManager
AIOFileLockManager doesn't work on NFS-mounted share store directories.
Since the GFS2 bug https://bugzilla.redhat.com/show_bug.cgi?id=678585
has been fixed end of 2011, the class AIOFileLockManager is no longer needed and I have removed it.

(cherry picked from commit 557f02ba4d)
2017-04-12 11:07:31 -04:00
Martyn Taylor 75994b5fb2 This closes #1195 2017-04-11 10:47:47 +01:00
Francesco Nigro 3c33632882 ARTEMIS-1098 Improve flow control while streaming large messages
(cherry picked from commit c6d24e9073)
2017-04-11 10:47:46 +01:00
Martyn Taylor e82ef026b3 This closes #1192 2017-04-11 10:46:57 +01:00
Francesco Nigro a9fbd22fcb ARTEMIS-1089 fixing compilation 2017-04-11 07:30:06 +02:00
Clebert Suconic c30e7cd1da ARTEMIS-1089 fixing compilation 2017-04-10 12:50:15 -04:00
Clebert Suconic 8a4a307653 ARTEMIS-1089 Improving flow control on replication
(Cherry picked from 911888e8d1)
2017-04-07 15:30:21 -04:00
Justin Bertram f8be6a460d This closes #1178 2017-04-06 19:58:47 -05:00
Jeff Mesnil a97303118b [ARTEMIS-1043] Support IPv6 in NettyConnector
Call IPV6Util.encloseHost when creating the uri used to send the HTTP
ugrade request to ensure that IPv6 address are properly enclosed.

JIRA: https://issues.apache.org/jira/browse/ARTEMIS-1043
2017-04-06 19:58:47 -05:00
Clebert Suconic f428f53e16 This closes #1152 2017-04-06 13:36:18 -04:00
Francesco Nigro 55f5124932 ARTEMIS-1025 Improve flow control on NettyConnection
(cherry picked from commit 27cfb2d902)
2017-04-06 18:51:58 +02:00
Clebert Suconic 7929fff893 ARTEMIS-1089 Fixing Replication catchup slow 2017-04-03 12:58:13 +01:00
Clebert Suconic b819026dfc ARTEMIS-1056 Improving allocations on InVM Transport 2017-04-03 12:58:13 +01:00
Clebert Suconic c2989e1742 ARTEMIS-1056 Removing PartialPooledByteBufAllocator 2017-04-03 12:56:21 +01:00
Martyn Taylor 200088778e ARTEMIS-1085 Perform storelineup on appendRecord
(cherry picked from commit 120b8aa7ad)
2017-04-03 12:12:33 +01:00
Martyn Taylor bae011bafb ARTEMIS-1087 Make InVM buffer pooling configurable
(cherry picked from commit 8760b3ddfd)
2017-04-03 12:12:33 +01:00
Martyn Taylor 7e4cb4d181 ARTEMIS-1084 Throw RunTime on bad Oracle table size
(cherry picked from commit 42bf845)
2017-04-03 12:12:33 +01:00
Bernd Gutjahr f94f8f4718 ARTEMIS-1078 Improving ActiveMQThreadPoolExecutor
This is now considering only threads waiting for the queue to get new tasks as idle.

The thread pool maintained a counter of active threads, but that counter was increased
too late in the beforeExecute method. Submitting a task created a new thread.
If now a second task was submitter before the new thread had started to execute it's task,
the second task was queued without creating a 2nd thread. So the second task was only
executed after the first task had been completed - even if the thread pool's
maximum number of thread had not been reached.

This fix now maintains the delta between the number those threads that are currently waiting
in the queue's poll or take methods as idle threads, and the number of queued tasks.
It creates new threads unless there are enough idle threads to pick up all queued tasks.

This closes #1144

(cherry picked from commit 5a31e70353)
2017-03-31 19:02:24 -04:00
Clebert Suconic ea01aeb65e This closes #1154 2017-03-29 09:59:09 -04:00
Francesco Nigro ec3ed04d08 ARTEMIS-1036 Streaming huge messages between cluster nodes causes java.lang.OutOfMemoryError: Direct buffer memory
(cherry picked from commit 1686b3545d)
2017-03-29 15:09:25 +02:00
Justin Bertram 20f5554e8d This closes #1148 2017-03-28 20:33:39 -05:00
Armand Roelens 9330fc8546 ARTEMIS-1074 Acceptors/Connectors now start up when configured to use SSL and a password codec
(cherry picked from commit 3ceb332866)
2017-03-28 17:40:35 -07:00
Justin Bertram 4e8a98f2be This closes #1137 2017-03-27 22:02:24 -05:00
Clebert Suconic 7d8f5bca02 ARTEMIS-1072: moving java-opts to /etc/artemis.profile 2017-03-27 15:03:35 -04:00
Justin Bertram 5e4fe476b6 This closes #1116 2017-03-22 10:00:21 -05:00
Jeff Mesnil 35800351ea [ARTEMIS-1057] Log AMQ214023 at DEBUG level
JIRA: https://issues.apache.org/jira/browse/ARTEMIS-1057
2017-03-22 10:30:25 +01:00
Clebert Suconic 655f6beb04 NO-JIRA: logger on Exception
(cherry picked from commit 75a4162a36)
2017-03-14 09:51:10 -04:00
Justin Bertram 6f96b057d5 This closes #1089 2017-03-13 10:30:42 -05:00
Clebert Suconic dce89c9c75 ARTEMIS-1033 Fixing NPE on PageTX and reload 2017-03-13 09:08:30 -04:00
Martyn Taylor 87c7e05820 ARTEMIS-930 Return the ID field on createFile statement
(cherry picked from commit 0bcf003a87)
2017-03-13 10:20:28 +00:00
Martyn Taylor 512dbee133 NO-JIRA Update Copyright Dates 2017-03-10 13:13:31 +00:00
Martyn Taylor 2779ad8553 ARTEMIS-990 Dont require Perms on MQTT mngment Q
(cherry picked from commit b33fea0d7f)
2017-03-10 13:13:31 +00:00
Clebert Suconic e0cd9aa8b3 NO-JIRA: update notice
(cherry picked from commit 12394afc5d)
2017-03-09 09:09:53 -05:00
John D. Ament 5896a2e176 [maven-release-plugin] prepare for next development iteration 2017-03-07 21:46:12 -05:00
John D. Ament 07807952a8 [maven-release-plugin] prepare release artemis-pom-1.5.4 2017-03-07 21:44:12 -05:00
Jiri Danek f6ea3f97b2 ARTEMIS-1017 reword error message
reword error message when default destination for producer is not specified

(cherry picked from commit 84dfa24e38)
2017-03-06 15:19:26 -05:00
John D. Ament a203e47c19 ARTEMIS-1020 Fixing CDI client
Observe process bean when finding eligible bean classes to allow producer methods.

This closes #1066

(cherry picked from commit ffb7c5654a)
2017-03-06 14:58:37 -05:00
Clebert Suconic 9e137add67 ARTEMIS-1006: JDBC should log proper warns with stack traces on SQLExceptions
(cherry picked from commit 70721dcd5c)
2017-02-28 20:24:17 -05:00
Clebert Suconic 75ed0bf7bb This closes #1056 2017-02-28 15:06:12 -05:00
Justin Bertram b582524017 ARTEMIS-919 JMS reloader reading core queues 2017-02-28 13:55:27 -06:00
Martyn Taylor fbdac0c97d ARTEMIS-1002 Use default PooledBufferAllocator in ActiveMQBuffers
(cherry picked from commit dc40f60e6b)
2017-02-27 14:24:04 -05:00
Martyn Taylor e79524683e ARTEMIS-999 Add support for Oracle12C
(cherry picked from commit 7b344a92fd)
2017-02-27 08:49:00 +00:00
Martyn Taylor e5fde974e4 NO-JIRA Database Page Store Improvements
(cherry picked from commit a3c852eb04)
2017-02-27 08:48:38 +00:00
Martyn Taylor 01075ae36f ARTEMIS-998 Fix NPE in JDBC FileDriver when BLOB is null
(cherry picked from commit a1012884cc)
2017-02-27 08:48:22 +00:00
Justin Bertram 84acb2f50c ARTEMIS-986 fix int overflow
(cherry picked from commit 4e92b63de7)
2017-02-26 20:23:26 +00:00
Clebert Suconic 19b3ad9da5 NO-JIRA fixing merge script on 1.x 2017-02-24 16:05:55 -05:00
Clebert Suconic 2f68737b3f ARTEMIS-995 adding teardown in a few tests
(cherry picked from commit baee0038dc)
2017-02-24 11:50:55 -05:00
Clebert Suconic cea51bee53 This closes #1046 2017-02-24 11:50:13 -05:00
Erich Duda a4b33bb33a ARTEMIS-995 Bulk of test fixes
This commit fixes tests:
 ActiveMQScheduledComponentTest.testAccumulationOwnPool
 PendingDeliveriesTest.testWithtReconnect
 ReceiveTest.testReceiveImmediate
 ActiveMQProducerResourceTest.testSendString
 EmbeddedActiveMQResourceTest.testSendString
 MultipleEmbeddedActiveMQResourcesTest.testMultipleServers
 MultipleEmbeddedJMSResourcesTest.testMultipleServers
 ActiveMQDynamicProducerResourceWithoutAddressTest.testSendString
 ActiveMQDynamicProducerResourceWithoutAddressExceptionTest.testSendBytesToDefaultAddress
 ActiveMQDynamicProducerResourceTest.testSendString
 ActiveMQServerControlTest.testTotalMessageCount
 EmbeddedActiveMQResourceCustomConfigurationTest.testCustomConfiguration
 EmbeddedJMSResourceMultipleFileConfigurationTest.testConfiguration
 EmbeddedJMSResourceQueueTest.testPushObjectMessage
 EmbeddedJMSResourceSingleFileConfigurationTest.testConfiguration
 EmbeddedActiveMQResourceFileConfigurationTest.testConfiguredQueue
 EmbeddedJMSResourceTopicTest.testPushObjectMessage
 LargeMessageFailoverTest.testTimeoutOnFailoverTransactionCommit

(cherry picked from commit 0c64cbfa4e)
2017-02-24 17:17:21 +01:00
Clebert Suconic 20d627f2b7 ARTEMIS-989 fixing test after cherry-picking 2017-02-23 17:06:37 -05:00