2959 Commits

Author SHA1 Message Date
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 27cfb2d90208403cec6727dd595f9dd1380ef441)
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 120b8aa7ad314b30bca082fb4f809bfa15a1dea1)
2017-04-03 12:12:33 +01:00
Martyn Taylor
bae011bafb ARTEMIS-1087 Make InVM buffer pooling configurable
(cherry picked from commit 8760b3ddfd0ea52a0417ce91b6abe4840ca5ddca)
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 5a31e7035354516664087a65ac97e1a6f4c13f14)
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 1686b3545d14cdf591e00e6d04228b48b2b74a9f)
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 3ceb3328664e3dfa1dbeb24bad45115e2f1970c4)
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 75a4162a36a32d0247f29860c2d74c9fb03d91a4)
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 0bcf003a870780136854ec2f2f238a2fb37501f0)
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 b33fea0d7fbc94a43d04ca66a89880442e0f91c5)
2017-03-10 13:13:31 +00:00
Clebert Suconic
e0cd9aa8b3 NO-JIRA: update notice
(cherry picked from commit 12394afc5dbac77bc50033d037a07169991a05ea)
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 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 84dfa24e38557093ee81b6f6551e029ec4d52a35)
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 ffb7c5654a7614813e94d7f6e7934e37dce82139)
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 70721dcd5c68aaaa9c14e5df328471518d43db42)
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 dc40f60e6bce0baedf2eb5e777f820b8a7ee7f92)
2017-02-27 14:24:04 -05:00
Martyn Taylor
e79524683e ARTEMIS-999 Add support for Oracle12C
(cherry picked from commit 7b344a92fd534e62d793acab865544437f81ca4f)
2017-02-27 08:49:00 +00:00
Martyn Taylor
e5fde974e4 NO-JIRA Database Page Store Improvements
(cherry picked from commit a3c852eb040a425bd198120a3de3ec4b41b22951)
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 a1012884ccc765e8670a172612aa1e582b865ca7)
2017-02-27 08:48:22 +00:00
Justin Bertram
84acb2f50c ARTEMIS-986 fix int overflow
(cherry picked from commit 4e92b63de735a74e9156c53ef50ac72b205d59ad)
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 baee0038dce91e70b8d72275f1925c895bb0bfe2)
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 0c64cbfa4e78208b1e262d6c60613c738b211fe1)
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
Justin Bertram
2b18db6a1c ARTEMIS-992 deal w/bad connector-ref in cluster-cxn
(cherry picked from commit c7e0a921819cd39896e11bbfa008432633a88581)
2017-02-23 16:53:56 -05:00
Justin Bertram
1f054f04a0 ARTEMIS-991 handle odd password input
(cherry picked from commit ef8f992ca207281c6a9dc5825107e8a9dfaac6e9)
2017-02-23 14:58:04 -05:00
Justin Bertram
4ddd969ffc ARTEMIS-989 JMS2 context support custom session modes
(cherry picked from commit 0b829558b32ac1fe34fab3f18cf2730a7a919e7c)
2017-02-23 11:42:21 -05:00
Martyn Taylor
a79cf3b2da NO-JIRA Cherry-pick fix 2017-02-18 14:04:11 +00:00
Martyn Taylor
7553e4860c NO-JIRA Send MQTT WILL outside of Server Session
(cherry picked from commit 8b51ec27db2e201c604e8178a574e344d73b033f)
2017-02-18 13:39:55 +00:00
Clebert Suconic
779a19d121 Revert "NO-JIRA Remove Property shouldn't invalidate buffer if not found"
This reverts commit f492bd978648edecfbc0cdd378f856e295cf2bde.
2017-02-17 12:21:24 -05:00
Clebert Suconic
f492bd9786 NO-JIRA Remove Property shouldn't invalidate buffer if not found
(cherry picked from commit cf71b7292a06438c341fc3677243772e02b79812)
2017-02-16 21:05:21 -05:00