Commit Graph

3101 Commits

Author SHA1 Message Date
Jeff Mesnil 2a0b9039a3 [ARTEMIS-1590] Properties-based SQLProvider
(cherry picked from commit 938fbd81cb)
2018-03-28 11:54:15 -04:00
Francesco Nigro f005da6dfd ARTEMIS-1541 Make the JDBC Node Manager more resilient on failures
(cherry picked from commit 70b21725ed)
2018-03-28 11:54:15 -04:00
Francesco Nigro a0f3da5d72 ARTEMIS-1509 Add support for JdbcNodeManager into the NettyFailoverTest
(cherry picked from commit 8e8a6f0faf)
2018-03-28 11:54:15 -04:00
Francesco Nigro 590fbcf1d2 ARTEMIS-1447 JDBC NodeManager to support JDBC HA Shared Store
(cherry picked from commit 95d26b7be3)
2018-03-28 11:54:15 -04:00
Clebert Suconic 1a7cd8aabe ARTEMIS-1447 Reuse thread pools on JDBC Locks
(cherry picked from commit 1af6d986a5)
2018-03-28 11:54:15 -04:00
Francesco Nigro 565b817592 ARTEMIS-1447 JDBC NodeManager to support JDBC HA Shared Store
(cherry picked from commit 7944a25269)
2018-03-28 11:54:15 -04:00
Clebert Suconic b267e8a741 NO-JIRA small doc on ActiveMQScheduledComponent
(cherry picked from commit bc97720bf2)
2018-03-28 11:54:15 -04:00
Clebert Suconic b097ef381e ARTEMIS-1462 Fixing QueueControlTest
(cherry picked from commit c66a7975e6)
2018-03-28 11:54:15 -04:00
Francesco Nigro ed76ecb3c5 ARTEMIS-1462 Allow ActiveMQScheduledComponent initial delay configuration
(cherry picked from commit 40f49ef0bc)
2018-03-28 11:54:15 -04:00
Justin Bertram 846f36e98b This closes #1854 2018-02-12 10:32:20 -06:00
Yeray Borges de7f6de094 [ARTEMIS-1666] List of prepared transaction details returns Object.toString() instead of Json string 2018-02-12 10:32:19 -06:00
Clebert Suconic a90adaed51 This closes #1860 2018-02-09 09:10:27 -05:00
Lin Gao 3e212c09db [ARTEMIS-1670] NPE was found in when dropping durable subscriptions from a topic 2018-02-09 15:02:12 +08:00
Martyn Taylor 466f5f8ebe ARTEMIS-1482 Catch malformed SimpleString 2017-10-25 14:23:53 +01:00
Clebert Suconic 459e5976ca This closes #1604 2017-10-23 14:58:54 -04:00
Jeff Mesnil 79e307e9f9 [ARTEMIS-1475] Fix NPE in ActiveMQMessageHandler#setup
* initialize ActiveMQActivationSpec#shareSubscriptions to false
* i18n of the exception thrown by ActiveMQMessageHandler if it is not
  possible to create a non-shared subscriber

JIRA: https://issues.apache.org/jira/browse/ARTEMIS-1475
2017-10-23 15:31:27 +02:00
Clebert Suconic e42433f70e Revert "add licenses tag to pom.xml"
This reverts commit b4bbdff456.
2017-09-27 12:59:19 -04:00
Clebert Suconic b56950c351 This closes #1553 2017-09-26 14:48:08 -04:00
Clebert Suconic e03c41aabd NO-JIRA fixing TimedbufferTest as fixed on master 2017-09-26 14:43:56 -04:00
Paul Ferraro 313e816707 NO-JIRA: Allow subclasses to more easily override BroadcastEndpointFactory used during connection factory creation.
(cherry picked from commit 4bf204c012)
2017-09-26 14:28:08 -04:00
Martyn Taylor ee4692d5ca ARTEMIS-1418 AIO Shutdown on IOError and logging
(cherry picked from commit 520a40b1a1)
2017-09-26 14:28:07 -04:00
Justin Bertram f51023506e ARTEMIS-1417 Failback not working on NFSv4
With NFSv4 it is now necessary to lock/unlock the byte of the server
lock file where the state information is written so that the
information is then flushed to the other clients looking at the file.

(cherry picked from commit 2ec173bc70)
2017-09-26 14:28:07 -04:00
psakar b4bbdff456 add licenses tag to pom.xml 2017-09-26 14:28:07 -04:00
Erich Duda 0f4a8c3c2d ARTEMIS-1368 Artemis gets to state when it doesn't respond to producer
There is a leak on replication tokens in the moment when a backup is
shutdowned or killed and the ReplicationManager is stopped. If there
are some tasks (holding replication tokens) in the executor, these
tokens are simply ignored and replicationDone method isn't called on
them. Because of this, some tasks in OperationContextImpl cannot be
finished.

(cherry picked from commit 88a018e17fd49097de1186c65e25cd0af578b6a9)
(cherry picked from commit d6cbc0aa88)
2017-09-26 14:28:07 -04:00
Clebert Suconic 492b55e09a ARTEMIS-1353 Initial replication of large messages out of executor
This is based on the work @jbertram made at the github pr #1466 and the discussions we had there

(cherry picked from commit ce6942a9aa)
2017-09-26 14:28:07 -04:00
Martyn Taylor 5db0c8772e NO JIRA Remove failing tests due to cherrypick 2017-09-26 14:28:06 -04:00
Clebert Suconic fef0256bfa ARTEMIS-1305 Fix checkstyle and traces
https://issues.jboss.org/browse/JBEAP-9235
2017-09-26 14:28:06 -04:00
Howard Gao 6f0bebaad7 ARTEMIS-1220 removing broken test
Testsuite won't compile
2017-09-26 14:28:06 -04:00
xstefank 08fdae355c ARTEMIS-950 Change log level from INFO to WARN for "Invalid "host" value "0.0.0.0" detected for..." when Artemis is bound to 0.0.0.0
(cherry picked from commit 93ebbfdeaa)
(cherry picked from commit d402f67f4e6c14072213c2a2936edb032cee751b)
2017-09-26 14:28:06 -04:00
Howard Gao 7b1a1b058a ARTEMIS-1221 Duplicated ID causes LargeMessage lost at backup
When a large message is replicated to backup, a pendingID is generated
when the large message is finished. This pendingID is generated by a
BatchingIDGenerator at backup.

It is possible that a pendingID generated at backup may be a duplicate
to an ID generated at live server.

This can cause a problem when a large message with a messageID that is
the same as another largemessage's pendingID is replicated and stored
in the backup's journal, and then a deleteRecord for the pendingID
is appended. If backup becomes live and loads the journal, it will
drop the large message add record because there is a deleteRecord of
the same ID (even though it is a pendingID of another message).
As a result the expecting client will never get this large message.

So in summary, the root cause is that the pendingIDs for large
messages are generated at backup while backup is not alive.

The solution to this is that instead of the backup generating
the pendingID, we make them all be generated in advance
at live server and let them replicated to backup whereever needed.
The ID generater at backup only works when backup becomes live
(when it is properly initialized from journal).

(cherry picked from commit d50f577cd5)
2017-09-26 14:28:05 -04:00
Martyn Taylor 5faf2cd829 NO-JIRA Remove artemis-feature dep from integration tests 2017-09-26 14:28:05 -04:00
Andy Taylor 2c89287009 ARTEMIS-1224 - change the journal file size to nearest multiple
https://issues.apache.org/jira/browse/ARTEMIS-1224

(cherry picked from commit 30a6ac703e)
2017-09-26 14:28:05 -04:00
Dmitrii Tikhomirov 31fa7584ab ARTEMIS-1180 Artemis is logging warnings during server shut down
(cherry picked from commit 2443eaaa00)
2017-09-26 14:28:05 -04:00
Jeff Mesnil 6febd5e314 [ARTMIS-1431] Adapt transport configuration in ClientProtocolManagerFactory
add the adaptTransportConfiguration() method to the
ClientProtocolManagerFactory so that transport configurations used by
the ClientProtocolManager have an opportunity to adapt their transport
configuration.

This allows the HornetQClientProtocolManagerFactory to adapt the
transport configuration received by remote HornetQ broker to replace the
HornetQ-based NettyConnectorFactory by the Artemis-based one.

JIRA: https://issues.apache.org/jira/browse/ARTEMIS-1431
2017-09-26 14:28:04 -04:00
Clebert Suconic c85575f435 This closes #1547 2017-09-25 10:35:50 -04:00
Jeff Mesnil 492022618d [ARTMIS-1431] Adapt transport configuration in ClientProtocolManagerFactory
add the adaptTransportConfiguration() method to the
ClientProtocolManagerFactory so that transport configurations used by
the ClientProtocolManager have an opportunity to adapt their transport
configuration.

This allows the HornetQClientProtocolManagerFactory to adapt the
transport configuration received by remote HornetQ broker to replace the
HornetQ-based NettyConnectorFactory by the Artemis-based one.

JIRA: https://issues.apache.org/jira/browse/ARTEMIS-1431
2017-09-22 16:35:36 +02:00
Martyn Taylor eacaffe16a ARTEMIS-1354 Critical IO Error on AIO write failure
(cherry picked from commit 652573a5a9)
2017-08-18 14:02:49 +01:00
Clebert Suconic e5ef406e4e ARTEMIS-1333 Fix SendACK
(fix copied manually from master.. not possible to cherry-pick)
2017-08-10 22:27:57 -04:00
Clebert Suconic 9724571a98 ARTEMIS-1333 SendACK listener message loss (adding test)
next commit should have the fix.
this is to make it easy to confirm the fix by people looking.

(cherry picked from commit 96c6268f5a)
2017-08-10 22:24:37 -04:00
Clebert Suconic 393cf9bfef ARTEMIS-1334 Scheduled component shouldn't be synchronized
(cherry picked from commit 8bc15b1199)
2017-08-10 14:12:13 -04:00
Clebert Suconic 0c5962f1b8 This closes #1448 2017-08-08 14:01:36 -04:00
Clebert Suconic 25c0f93ad5 ARTEMIS-1328 Improving direct delivery check
Based on #1447 as it is not possible to cherry-pick here
2017-08-08 13:00:37 -04:00
Clebert Suconic 9672dc23e2 This closes #1429 2017-08-02 12:51:57 -04:00
Clebert Suconic d96957ea70 ARTEMIS-1265 Fixing jacoco profile for IDE integration
Idea and Eclipse integration was broken because of the surefire plugin options

(cherry picked from commit 14fe149fa5)
2017-08-02 12:51:57 -04:00
Clebert Suconic 17d4ec496a ARTEMIS-1265 Adding helper script for coverage tests
(cherry picked from commit e27a0f8159)
2017-08-02 12:51:57 -04:00
Erich Duda c04fb0f7da ARTEMIS-1265 JaCoCo profile for getting code coverage report
Added two maven profiles for:
 - generating JaCoCo exec files
 - generating JaCoCo reports

(cherry picked from commit 22b4755fbb)
2017-08-02 12:51:57 -04:00
Clebert Suconic 8e7d4fb34e ARTEMIS-1305 Avoid deadlock when shutting down RA and reconnects
(cherry picked from commit 7adc8339c7)
2017-07-28 11:58:58 -04:00
Clebert Suconic e1d6f6cb87 ARTEMIS-1305 Server frozen during shutdown on Resource Adapter
this is a better fix than the previous one

(cherry picked from commit 54d220edf3)
2017-07-28 10:35:04 -04:00
Martyn Taylor b691fabe21 ARTEMIS-1303 Fix interleave during replication sync
(cherry picked from commit 69f8263267)
2017-07-26 11:25:17 +01:00
Andy Taylor 3ae55c0680 This closes #1420 ARTEMIS-1305 Server Frozen during shutdown if RA is retrying 2017-07-26 10:27:09 +01:00