Commit Graph

5117 Commits

Author SHA1 Message Date
Clebert Suconic 8f9299793a This closes #1977 2018-03-28 11:52:31 -04:00
Francesco Nigro 1a7a2cf5b4 ARTEMIS-1774 Node Manager Store table name should be configurable
It exposes the table name configuration for:
- CLI command
- configuration file

The docs are updated as well.
2018-03-28 11:52:30 -04:00
Clebert Suconic ab808106fc This closes #1978 2018-03-28 11:51:59 -04:00
Benjamin Graf c5ef696dad ARTEMIS-1775: Replace wrong env variable ARTEMIS_ETC_INSTANCE with ARTEMIS_INSTANCE_ETC 2018-03-28 17:40:58 +02:00
Clebert Suconic 586739ff46 This closes #1962 2018-03-27 10:37:27 -04:00
Francesco Nigro af3917247a ARTEMIS-1760 JDBC HA should have configurable tolerance of DB time misalignment
It allows a user to customize the max allowed distance between system and DB time,
improving HA reliability by shutting down the broker when the misalignment
exceeds configured limit.
2018-03-27 10:36:56 -04:00
Clebert Suconic 5d3ba98a11 This closes #1822 2018-03-27 10:12:14 -04:00
Niels Lippke b95afbf936 ARTEMIS-1653 Allow database tables to be created externally
In some environments it is not allowed to create a schema
by the application itself. With this change the AbstractJDBCDriver
now tests if an existing table is empty and executes further
statements in the same way as if the table does not exist.
2018-03-27 10:12:14 -04:00
Clebert Suconic f36bcb6705 This closes #1969 2018-03-27 10:10:35 -04:00
Francesco Nigro b89fa74f8a ARTEMIS-1762 JdbcNodeManager shouldn't be used if no HA is configured
It forces to use InVMNodeManager when no HA option is selected with JDBC persistence and includes the checks that the only valid JDBC HA options are SHARED_STORE_MASTER and SHARED_STORE_SLAVE.
2018-03-27 10:10:35 -04:00
Clebert Suconic caa19647ae This closes #1963 2018-03-27 09:59:57 -04:00
Francesco Nigro 8842ac3638 ARTEMIS-1757 Improve DB2 compatibility
It includes:
- Fixed AUTO_INCREMENT not supported on DB2
- Added proper stop/teardown of driver
- Fixed recursive SQLException formatting
2018-03-27 09:59:56 -04:00
Clebert Suconic 5a39446561 This closes #1964 2018-03-26 10:32:53 -04:00
Radovan STANCEL 373c3db2ac [ARTEMIS-1761] Log one warning if cluster could not be formed because it's not possible to connect to other cluster node 2018-03-26 10:32:17 -04:00
Clebert Suconic acb134316e This closes #1973 2018-03-23 14:49:24 -04:00
saurabhrai 6c05a81ba2 ARTEMIS-375:When use ./artemis data exp, the xml printed to stdout mixed with logging information 2018-03-23 13:59:58 +05:30
Clebert Suconic 5612982a3e This closes #1966 2018-03-22 16:30:00 -04:00
saurabhrai f045ffbcf8 ARTEMIS-370: Make JDBC Journal Sync period configurable 2018-03-22 16:29:00 -04:00
Clebert Suconic e2341e3a76 This closes #1967 2018-03-22 16:22:18 -04:00
andytaylor 3a548a9df5 ARTEMIS-1763 - Remove 'quick check' before quorum
https://issues.apache.org/jira/browse/ARTEMIS-1763
2018-03-22 16:22:17 -04:00
Clebert Suconic 7628236453 This closes #1968 2018-03-22 16:21:17 -04:00
Martyn Taylor f8547aecf1 ARTEMIS-1764 Ignore Ack for Prepared Tx when Queue deleted 2018-03-22 16:21:16 -04:00
Clebert Suconic d8f22a399b This closes #1971 2018-03-22 16:20:14 -04:00
Michael André Pearce a9d84a7dad ARTEMIS-1766 - Persist LastValue queue config in bindings.
Added Integration tests for the issue.
Add lastvalue to the queue bindings that get persisted.
2018-03-22 16:20:14 -04:00
Clebert Suconic 7a36e84aa9 This closes #1972 2018-03-22 16:19:36 -04:00
Francesco Nigro b775cb251f ARTEMIS-1767 JDBC Lock Acquisition Timeout should behave like the file based version
The JDBC Lock Acquisition Timeout is no longer exposed to any user configuration and defaulted to infinite to match the behaviour of the journal (file-based) one.
2018-03-22 16:19:35 -04:00
Clebert Suconic fae3a8fadb This closes #1970 2018-03-22 16:13:45 -04:00
Clebert Suconic e86acd4824 ARTEMIS-1765 Fixing Large Message Compression and Conversion 2018-03-22 16:11:11 -04:00
Howard Gao 51f105da7b ARTEMIS-1765 Adding StompWithLargeMessageTest
This closes #1965
2018-03-22 16:06:37 -04:00
Clebert Suconic 552e4a2844 NO-JIRA cleanup System.out on compatibility tests 2018-03-22 16:06:37 -04:00
Clebert Suconic 37657f22fa ARTEMIS-1753 Fixing intermittent failure on OldAddressSpaceTest 2018-03-22 15:46:27 -04:00
Justin Bertram e26c051617 This closes #1955 2018-03-22 10:46:40 -05:00
Ulf Lilleengen be6cb7a22f ARTEMIS-1748: Cleanup connections when client connector is destroyed 2018-03-22 10:46:40 -05:00
Timothy Bish 2f9d373937 This closes #1961 2018-03-22 10:10:50 -04:00
gtully 72ec6c8e0b [ARTEMIS-1758] support SASL EXTERNAL with TextCertLoginModule
- rework proton handler to use saslListener
2018-03-22 10:09:58 -04:00
Martyn Taylor 92a73e2cb6 This closes #1957 2018-03-22 11:01:32 +00:00
andytaylor a1c76e8d61 ARTEMIS-1752 - avoid null pointer in BridgeImpl
https://issues.apache.org/jira/browse/ARTEMIS-1752
2018-03-22 11:01:32 +00:00
Clebert Suconic d3b11bc439 This closes #1959 2018-03-20 15:54:33 -04:00
Clebert Suconic fe0e6c2b28 ARTEMIS-1754 Avoiding Leaks from LargeServerMessageImpl.getPersistentSize 2018-03-20 15:45:09 -04:00
Howard Gao 38ba5d797a ARTEMIS-1754 LargeServerMessageImpl.toString() may leak files 2018-03-20 15:40:44 -04:00
Justin Bertram 8b8eff053f This closes #1958 2018-03-19 10:39:53 -05:00
Martyn Taylor 772156dd35 ARTEMIS-1753 Prevent NPE on 1.x Client Topic Sub
When creting a durable topic subscription using the Artemis 1.x JMS
client library.  The client sends a QueueQuery to the server to see if
the durable subsciption queue already exists.  The broker then performs
some transformation of the queue addresses to suit the 1.x naming
scheme.  However, if the queue does not already exist the transform is
attempted on a null string causing NPE.  To fix we simply check that the
result return isExists=true.
2018-03-19 13:35:02 +00:00
Clebert Suconic e56b38b3e0 This closes #1954 2018-03-15 10:05:12 -04:00
Michael André Pearce c7622d58c0 ARTEMIS-1747 - Fix Configuration change loss when network Issue
Add Test Case to stop and restart server after config reload and check state, this re-creates network health check issue where config changes are lost when network health check de-activates the server and then re-activates.

Add fix to update the held configuration thats used when initialisation steps during start are done.
2018-03-15 10:05:11 -04:00
Clebert Suconic 4f1c94898f NO-JIRA Fixing examples 2018-03-14 23:34:28 -04:00
Clebert Suconic 77172dece3 This closes #1953 2018-03-14 18:40:14 -04:00
Clebert Suconic a7333bcf9d ARTEMIS-1286 Fixing MQTT Bytes message encode 2018-03-14 18:39:58 -04:00
Clebert Suconic 0d47f62710 ARTEMIS-1286 Adding test replicating MQTT direct buffer leak
(Test developed as an interaction between Justin Bertram, Philip Jenkins and Clebert Suconic through
ARTEMIS-1286)
2018-03-14 18:39:58 -04:00
Clebert Suconic 2383c22f0e This closes #1952 2018-03-14 14:56:30 -04:00
Stanislav Knot 84a098a4f4 ARTEMIS-1743 fix NPE in server log when Artemis trace logging is enabled 2018-03-14 14:56:29 -04:00