Martyn Taylor
5383a0c409
Handful of JDBC Journal Fixes
...
This patch fixes a number of bugs with the JDBC Journal implementation.
Mainly around how it was handling transactions. The XA transactions
tests are now enabled to test both the File and Database store.
2016-01-27 12:17:55 -05:00
Lachezar Dobrev
cc4d24cfbb
ARTEMIS-362 Broadcast only filled buffer content.
...
When publishing server connectors to other cluster members the whole buffer is sent.
This fixes ARTEMIS-362 by extracting the filled part of the buffer for broadcasting.
Added test case that checks that packet size does not exceed 1500 bytes with one connector.
2016-01-26 16:30:44 -05:00
Ville Skyttä
4e5b5b393a
Access static methods and fields directly
2016-01-25 12:12:54 -05:00
Ville Skyttä
13cb6ddfd1
Add missing @Override annotations
2016-01-25 12:10:25 -05:00
Ville Skyttä
3f20e0d19a
Remove redundant type parameters
2016-01-25 12:10:25 -05:00
Martin Styk
812affffbe
ARTEMIS-360 - PagingTest.testSpreadMessagesWithFilterWithDeadConsumer fails on timeout waiting for stop paging
...
extended waiting time
2016-01-25 14:37:43 +01:00
Clebert Suconic
7957f574f6
ARTEMIS-357 No need to check copy any longer
2016-01-23 10:45:35 -05:00
Andy Taylor
a24dc5b61a
ARTEMIS-350 - add timeout to avoid deadlock
...
https://issues.apache.org/jira/browse/ARTEMIS-350
2016-01-21 10:02:24 +00:00
Martyn Taylor
4922a7618a
Bump to next version to 1.3.0-SNAPSHOT
2016-01-20 17:25:07 +00:00
Andy Taylor
c1de710eb3
ARTEMIS-346 - Add Management send text message functionality similar to ActiveMQ
...
https://issues.apache.org/jira/browse/ARTEMIS-346
2016-01-20 10:35:36 -05:00
Clebert Suconic
0a9a6c92f4
ARTEMIS-347 Fixing NPE
2016-01-19 23:15:10 -05:00
Clebert Suconic
3f23c9916e
ARTEMIS-347 - supporting URIs on the cluster connection
2016-01-19 17:35:12 -05:00
Clebert Suconic
17a443b1f0
adding timeout verification
...
Some VMs (IBM) can eventually ignore the System.gc call.
Adding some mitigation when that happens here
2016-01-19 17:20:49 -05:00
Clebert Suconic
68faa1d252
ARTEMIS-350 Small improvement on the replication stop
2016-01-19 11:20:47 -05:00
Andy Taylor
b7f0d14b18
ARTEMIS-350 - possible OOM in replication manager
...
https://issues.apache.org/jira/browse/ARTEMIS-350
2016-01-19 11:18:01 -05:00
jbertram
d94c044e90
ARTEMIS-349 LDAP plugin listener
...
This feature required a bit of refactoring to the plugin interface itself as
well as a restriction on the configuration so that either only one plugin could
be specified or an ulimited number of security-setting matches. This was done
to prevent messy situations where a plugin could update settings from the XML
or even another plugin if there were overlapping matches.
2016-01-19 09:45:52 -05:00
Clebert Suconic
b82808797e
ARTEMIS-332 Fixing possible NPE on Paging
2016-01-13 15:04:11 -05:00
Andy Taylor
79454893ce
fixing filter in retry message
2016-01-13 18:48:29 +00:00
Martyn Taylor
472dd320cf
Add HawtDispatch Thread to acceptable leaking thread list
2016-01-13 10:16:49 -05:00
Martyn Taylor
64f74acdbc
ARTEMIS-27 / ARTEMIS-340 Add JDBC Storage Manager
2016-01-13 09:38:40 -05:00
Martyn Taylor
9b351d8236
ARTEMIS-27 / ARTEMIS-338 Refactor Journal Encodings into new package
2016-01-13 09:38:08 -05:00
Clebert Suconic
2e973c4bff
fixing BackupSyncJournalTest
2016-01-12 17:22:56 -05:00
Clebert Suconic
2d3061d9b6
Improvements on Thread check
2016-01-12 17:22:56 -05:00
Andy Taylor
ea3c3e0aef
ARTEMIS-334 - Add Management browse functionality similar to ActiveMQ
...
https://issues.apache.org/jira/browse/ARTEMIS-334
2016-01-12 14:26:57 +00:00
Clebert Suconic
e56ca95fdc
Dealing with expected IBM JDK thread and refactoring the Thread check as a Rule
2016-01-11 20:02:46 -05:00
Ville Skyttä
f85e5e7922
Deprecation fixes
2016-01-11 13:22:18 -05:00
Ville Skyttä
66e82be652
Remove dead code
2016-01-11 13:21:26 -05:00
Ville Skyttä
389762cb3a
Add missing @Overrides
2016-01-11 13:20:57 -05:00
Clebert Suconic
7820fd6d60
ARTEMIS-332 avoid shutting down the server after interrupted threads on paging
2016-01-07 16:08:38 -05:00
Clebert Suconic
73b000b3c0
fixing intermittent lockdown on the testsuite
2016-01-07 13:58:01 -05:00
Clebert Suconic
a5a993ed9d
ARTEMIS-332 - test added / better dealing with critical errors on paging
2016-01-06 19:42:45 -05:00
jbertram
978f8eeda8
ARTEMIS-331 support 0-length large msg
2016-01-05 10:44:54 -05:00
jbertram
454e5b66ff
ARTEMIS-177 create/destroy subscription race
2016-01-05 10:44:13 -05:00
Clebert Suconic
96849a42b7
ARTEMIS-332 - Duplicate delivery over Bridges under OME scenarios, paging and other failures
...
https://issues.apache.org/jira/browse/ARTEMIS-332
2016-01-04 20:49:28 -05:00
Martyn Taylor
2c430e597b
[maven-release-plugin] prepare for next development iteration
2016-01-04 11:50:36 +00:00
Martyn Taylor
f182c806b6
[maven-release-plugin] prepare release 1.2.0
2016-01-04 11:49:58 +00:00
Martyn Taylor
5f32e6575c
[maven-release-plugin] prepare for next development iteration
2016-01-04 09:24:34 +00:00
Martyn Taylor
150c5d87aa
[maven-release-plugin] prepare release 1.2.0
2016-01-04 09:19:35 +00:00
Andy Taylor
24bf83a3ad
added broker name to startup message
2015-12-23 10:58:44 -05:00
Andy Taylor
3ef184aba5
added ActiveMQ style uptime at shutdown
2015-12-23 10:58:44 -05:00
Andy Taylor
1d91680a6d
capitalisation fix
2015-12-23 10:58:44 -05:00
Clebert Suconic
9167213f00
ARTEMIS-328 Fixing message loss through the bridge
...
https://issues.apache.org/jira/browse/ARTEMIS-328
2015-12-21 23:00:52 -05:00
Ville Skyttä
d48e344a8f
Add missing @Overrides
2015-12-21 22:06:03 -05:00
Ville Skyttä
a0dc9861a0
Access static members directly
2015-12-21 22:01:21 -05:00
Martyn Taylor
90c9469701
[maven-release-plugin] prepare for next development iteration
2015-12-17 17:03:40 +00:00
Martyn Taylor
df61224d2d
[maven-release-plugin] prepare release 1.2.0
2015-12-17 17:01:58 +00:00
Martyn Taylor
0e8f2f39af
ARTEMIS-312 Allow configurable of, and inject of client global thread pools
2015-12-16 18:19:25 -05:00
Clebert Suconic
af1f79bff5
ARTEMIS-302 more changes around XA reliability (resilience on failures)
2015-12-16 10:19:35 -05:00
Andy Taylor
d1e154e888
ARTEMIS-311 - added broker name to jmx object name properties.
...
Its now possible to also add the broker name to jmx tree avoiding clashes when multiple brokers are in a single vm. This is now the default but the old way can be used with some configuration
https://issues.apache.org/jira/browse/ARTEMIS-311
2015-12-16 10:19:01 -05:00
Clebert Suconic
b1b4bb8a32
ARTEMIS-320 Refactoring TCP flow control and proper implementation of flow control on consumers
...
https://issues.apache.org/jira/browse/ARTEMIS-320
2015-12-10 16:50:26 -05:00
Clebert Suconic
351bcfc9f9
ARTEMIS-319 Improving files allocation and implementing journal-pool-files
...
https://issues.apache.org/jira/browse/ARTEMIS-319
2015-12-10 16:49:58 -05:00
Tom Ross
d7f245f1ca
NullPointerException when trying to list prepared transactions as JSON - part 2
2015-12-10 16:38:44 -05:00
Ville Skyttä
7bf3923cee
Remove unnecessary @SuppressWarnings("unchecked")
2015-12-07 22:55:05 +02:00
Ville Skyttä
f8a1c5ba8e
Remove redundant type arguments
2015-12-07 22:55:05 +02:00
Ville Skyttä
3b5ee6c7ea
Remove unnecessary casts
2015-12-07 22:53:42 +02:00
Tom Ross
f29ab83727
NullPointerException when trying to list prepared transactions as JSON
2015-12-07 13:48:01 -05:00
Ville Skyttä
25ae472455
Add missing @Override annotations
2015-12-06 01:27:35 +02:00
Andy Taylor
b34ee8717f
ARTEMIS-305 - fixing colocated configuration can have mismatch of policies
...
https://issues.apache.org/jira/browse/ARTEMIS-305
2015-11-25 09:45:39 +00:00
Christian Schneider
be9dad3f2b
OSGi support based on branch from gnodet
2015-11-24 11:12:10 +01:00
jbertram
956c54155f
ARTEMIS-201 warn of potential OOME
2015-11-23 21:42:15 -05:00
jbertram
c0a6d6ee44
ARTEMIS-250 fix scale-down with security
2015-11-20 19:34:37 -06:00
Clebert Suconic
b1d5076108
ARTEMIS-302 - more work about improving resilience of MDBs and XA
2015-11-16 18:11:44 -05:00
jbertram
c40ab12843
ARTEMIS-300 deprecate basic security manager
...
The old property-file based security manager shouldn't be used anymore. Instead
use the JAAS InVMLoginModule for in-vm tests, embedded use-cases, etc. and use
the other JAAS login modules for normal server use-cases.
2015-11-11 14:17:46 -06:00
Clebert Suconic
7bbd17cd37
ARTEMIS-302 - Improving XA Resilience
2015-11-11 09:50:58 -05:00
Clebert Suconic
a21a447b4c
ARTEMIS-301 - Fixing concurrent issues over closing consumer during failover and reconnect
2015-11-10 14:29:34 -05:00
jbertram
ae70d7178e
ARTEMIS-299 file-based login module performance
...
This is based on improvements made in ActiveMQ 5.x. See more at
https://issues.apache.org/jira/browse/AMQ-5876 .
2015-11-05 10:10:49 -06:00
Martyn Taylor
0a87410b1b
Use .equals for string compare in LDAPLoginModule
2015-11-05 11:07:03 -05:00
Clebert Suconic
9a2bebe443
ARTEMIS-297 Including acceptor name on logs
2015-11-04 22:54:12 -05:00
Martyn Taylor
046c3b1942
ARTEMIS-297 Handle Exceptions during server stop
...
Stopping the server should be able to handle exceptions thrown by
individual components. Before this patch the stop method would throw
any raised exception and exit. This can lead to partial shutdowns of
the server resulting in leaking threads. This patch catches any
component exceptions and logs an appropriate error message, allowing the
server to properly shutdown.
2015-11-04 21:30:08 -05:00
jbertram
0c407922a8
ARTEMIS-261 cert-based auth
2015-11-04 15:56:33 -05:00
Martyn Taylor
856d7644ad
ARTEMIS-296 Remove stacktrace from bridge disconnect log
2015-11-04 10:23:58 -05:00
Martyn Taylor
1cdc01fc44
ARTEMIS-295 Remove 'yet' from log messages
2015-11-04 14:49:11 +00:00
jbertram
3f6089891d
ARTEMIS-293 rebalance inflow on topology change
2015-11-03 16:42:15 -06:00
Ville Skyttä
68c9f3fd69
Spelling fixes
2015-11-03 10:30:40 -05:00
Martyn Taylor
62262805ab
ARTEMIS-291 Allow multiple acceptors with same host/port
2015-11-02 12:42:49 +00:00
jbertram
43b421a588
ARTEMIS-289 potential ConcurrentModificationException
2015-10-29 13:41:29 -05:00
jbertram
fe4dafedcb
ARTEMIS-168 - pluggable authorization
2015-10-27 10:12:22 -04:00
jbertram
d03541a460
Fix incorrect ID on WARN message
2015-10-27 10:12:21 -04:00
Andy Taylor
dd402f4f91
ARTEMIS-282 - remove unneeded check on file lock creation
...
https://issues.apache.org/jira/browse/ARTEMIS-282
2015-10-27 10:10:57 +00:00
Clebert Suconic
15b8b8138b
Improving forceGC method on ActiveMQTestBase
2015-10-26 11:02:53 -04:00
Erich Duda
7970b6e6f8
SessionCloseOnGCTest#testCloseOneSessionOnGC: enforce that Finalizer will be called after garbage collector
2015-10-26 10:53:48 -04:00
Ville Skyttä
86b89306d7
Improve "protocol property is deprecated" message, use constants in it
2015-10-25 09:42:57 +02:00
Ivo Studensky
8a2ecff4fd
ARTEMIS-274 ActiveMQThreadFactory has to be constructed within doPrivileged block
2015-10-22 09:30:14 -04:00
Clebert Suconic
9a98684846
ARTEMIS-197 fixing examples by using proper location on folders
2015-10-21 16:43:10 -04:00
Martyn Taylor
6aae2cc5f1
ARTEMIS-273 Use data locations not dir in moveData
2015-10-21 11:54:41 +01:00
Julian Scheid
aa492fb9b6
ARTEMIS-271 Expose HttpRequest in WebSocketServerHandler
2015-10-20 18:24:09 -04:00
Julian Scheid
aa7696e329
ARTEMIS-270 Supply RemotingConnection for authorization
2015-10-20 18:23:41 -04:00
jbertram
ef5a9809f2
ARTEMIS-256 orchestrate failback deterministically
...
The failback process needs to be deterministic rather than relying on various
incarnations of Thread.sleep() at crucial points. Important aspects of this
change include:
1) Make the initial replication synchronization process block at the very
last step and wait for a response from the replica to ensure the replica has
as the necessary data. This is a critical piece of knowledge during the
failback process because it allows the soon-to-become-backup server to know
for sure when it can shut itself down and allow the soon-to-become-live
server to take over. Also, introduce a new configuration element called
"initial-replication-sync-timeout" to conrol how long this blocking will occur.
2) Set the state of the server as 'LIVE' only after the server is fully
started. This is necessary because once the soon-to-be-backup server shuts
down it needs to know that the soon-to-be-live server has started fully before
it restarts itself as the new backup. If the soon-to-be-backup server restarts
before the soon-to-be-live is fully started then it won't actually become a
backup server but instead will become a live server which will break the
failback process.
3) Wait to receive the announcement of a backup server before failing-back.
2015-10-20 14:55:31 -04:00
Andy Taylor
98c2aa433f
ARTEMIS-262 Fix Bridge OOM exception
...
Netty 4.x uses pooled buffers. These buffers can run out of memory when
transferring large amounts of data over connection. This was causing an
OutOfMemory exception to be thrown on the CoreBridge when tranferring
large messages. Netty provides a callback handler to notify listeners
when a Connection is writable. This patch adds the ability to register
connection writable listeners to the Netty connection and registers the
relevant callback from the Bridge to avoid writing when the buffers are
full.
2015-10-19 10:32:59 +01:00
Clebert Suconic
360338a362
NO-JIRA making sure there wouldn't be duplicates out of transaction timeout
2015-10-17 00:26:44 -04:00
Clebert Suconic
6bf1241628
ARTEMIS-257 cleaning up dependencies on artemis-core-client
2015-10-13 10:44:49 -04:00
Clebert Suconic
a5fab2754d
ARTEMIS-252 fixing tests
2015-10-12 17:21:36 -04:00
Clebert Suconic
2a81a5f146
ARTEMIS-252 retryMessages retrying to topic subscriptions + some ammends to #193
2015-10-12 17:03:53 -04:00
Petter Nordlander
7afe87996b
ARTEMIS-252 added jmx operations to retry messages
2015-10-12 17:03:42 -04:00
jbertram
6ed9c5ae91
ARTEMIS-74 import JAAS auth from 5.x
...
This change allows the use of JAAS login modules for basic authentication
and authorization.
2015-10-09 11:42:22 -05:00
Clebert Suconic
206acdac7d
ARTEMIS-238 and ARTEMIS-236 Fixing Legacy protocol support
2015-10-08 20:32:43 -04:00
Andy Taylor
35ab56fd91
ARTEMIS-244 - fixed property name
...
https://issues.apache.org/jira/browse/ARTEMIS-244
2015-10-08 12:15:21 +01:00
Andy Taylor
38a809fded
ARTEMIS-243 - fix possible null pointer
...
https://issues.apache.org/jira/browse/ARTEMIS-243
2015-10-08 12:15:21 +01:00
Clebert Suconic
4eb669f035
ARTEMIS-151 avoiding duplicate config of acceptors
2015-10-07 22:07:05 -04:00
Clebert Suconic
c3448e7029
ARTEMIS-151 Fixing tests
2015-10-07 18:48:26 -04:00