Commit Graph

376 Commits

Author SHA1 Message Date
Erich Duda efffe9c263 ARTEMIS-365 - [Artemis Testsuite] AddressControlTest#testGetNumberOfPages fails 2016-02-08 10:40:50 -06:00
Martyn Taylor 32a9d60a3d Allow users to configure jdbc driver class name
This patch allows users to configure the Driver class that the JDBC
store and journal uses and removes Derby as a default.
2016-02-08 11:23:38 -05:00
Clebert Suconic 26945a4716 ARTEMIS-385 On a possible race the Topology final notification may get lost when using many connection factories
https://issues.apache.org/jira/browse/ARTEMIS-385

This fix will make sure we only wait for the topologies that are arriving from the current connection over the createFactory method
2016-02-04 09:35:08 -05:00
Erich Duda 5f1daf485c ARTEMIS-381 - [Artemis Testsuite] LargeMessageOverBridgeTest.testSendBytesAsLargeOnBridgeOnly fails 2016-02-02 15:13:48 +01:00
jbertram 1eb631e2b8 ARTEMIS-374 support schedule messages on LVQ 2016-02-01 11:58:56 -06:00
Erich Duda 3d6531e570 ARTEMIS-379 - [Artemis Testsuite] BackupSyncLargeMessageTest.testReserveFileIdValuesOnBackup fails 2016-02-01 10:08:15 -05:00
Erich Duda 0db2d3f097 ARTEMIS-377 - [Artemis Testsuite] NettySecurityClientTest#testProducerConsumerClientWithSecurityManager fails 2016-02-01 10:06:12 -05:00
Andy Taylor ecfa1fecc2 ARTEMIS-378 - expose some Network info via the management interfaces
https://issues.apache.org/jira/browse/ARTEMIS-378
2016-02-01 12:11:28 +00:00
Erich Duda 062a675a53 ARTEMIS-369 - [Artemis Testsuite] BridgeFailoverTest#testFailoverOnBridgeNoRetryOnSameNode fails 2016-01-29 09:30:45 -05:00
Erich Duda 3663f4c01e ARTEMIS-368 - [Artemis Testsuite] TemporaryQueueTest#testBlockingWithTemporaryQueue fails 2016-01-29 09:57:49 +01:00
Clebert Suconic a5aa44670d Improvements on JDBC Test 2016-01-27 21:56:59 -05:00
Clebert Suconic e62a820414 Fixing ServerMessage's copy and MQTT delivery 2016-01-27 17:12:56 -05:00
Clebert Suconic 4a20187ff2 Fixing name on JDBC tests 2016-01-27 14:25:57 -05:00
jbertram ff95b216ef ARTEMIS-357 test for client buffer mod 2016-01-27 13:21:17 -05:00
Lachezar Dobrev 0827d23ae3 Remove duplicate references to artemis-cli in pom.xml in tests.
Fixed pom.xml in integration-tests and unit-tests
Fixes warnings from Maven 3
2016-01-27 12:18:11 -05:00
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
Erich Duda 79f39693f3 ARTEMIS-365 - [Artemis Testsuite] AddressControlTest#testGetNumberOfPages fails 2016-01-27 12:17:29 -05:00
Erich Duda 2a756942ba ARTEMIS-364 - [Artemis Testsuite] PagingTest#testPagingDifferentSizes fails 2016-01-27 12:17:12 -05:00
Erich Duda 4ff20777d5 ARTEMIS-363 - [Artemis Testsuite] PagingTest#testDropMessages fails 2016-01-27 13:55:10 +01:00
Ville Skyttä 77d2e85838 Change StompV12Test to use waitDisconnect more 2016-01-26 16:34:04 -05:00
Clebert Suconic af150b5bea small improvement on stomp test 2016-01-25 21:33:28 -05:00
Ville Skyttä 2c4312d4f2 Disconnect on STOMP 1.2 errors
https://stomp.github.io/stomp-specification-1.2.html#ERROR
2016-01-25 21:33:28 -05:00
Ville Skyttä 4e5b5b393a Access static methods and fields directly 2016-01-25 12:12:54 -05:00
Ville Skyttä 09a3f224cd ARTEMIS-358 test case for topic disappearing on disconnect without unsubscribe 2016-01-25 11:19:54 -05: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 3f23c9916e ARTEMIS-347 - supporting URIs on the cluster connection 2016-01-19 17:35:12 -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 dddd0a1efe https://issues.apache.org/jira/browse/ARTEMIS-345 fixing URI for inVM throwing a log.warn 2016-01-13 17:48:23 -05:00
Clebert Suconic 23aa933ad7 fixing PagingTest 2016-01-13 17:10:11 -05:00
Clebert Suconic 74245a58bd fixing PagingTest 2016-01-13 15:03:55 -05:00
Erich Duda 18e97d55c9 ARTEMIS-343 - [Artemis Testsuite] DivertTest.testSingleNonExclusiveDivert3 fails 2016-01-13 10:15:01 -05:00
Erich Duda 7c22ebee12 ARTEMIS-342 - [Artemis Testsuite] NettySecurityClientTest.testProducerConsumerClientWithSecurityManager fails 2016-01-13 10:14:34 -05:00
Erich Duda 0c9c3defd6 ARTEMIS-341 - [Artemis Testsuite] ConsumerTest.testAcksWithSmallSendWindow[isNetty=false||true] fails 2016-01-13 10:14:11 -05:00
Martyn Taylor 64f74acdbc ARTEMIS-27 / ARTEMIS-340 Add JDBC Storage Manager 2016-01-13 09:38:40 -05:00
Clebert Suconic 2d3061d9b6 Improvements on Thread check 2016-01-12 17:22:56 -05:00
Erich Duda 2c0f1df827 ARTEMIS-337 - [Artemis Testsuite] LiveToLiveFailoverTest.testNonTransactedWithZeroConsumerWindowSize fails 2016-01-12 16:24:34 -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 5df57234d1 fixing thread leakage from test 2016-01-12 08:16:21 -05:00
Clebert Suconic ee962dc137 fixing missing tearDown call 2016-01-11 22:51:31 -05:00
Clebert Suconic c945879dec fixing hanging test 2016-01-11 21:00:48 -05: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
Clebert Suconic 4e5ec13558 fixing checkstyle 2016-01-11 20:02:45 -05:00
Clebert Suconic d9ac06a907 remove now invalid tests
Since we are removing the finalize cleanup these tests are now invalid
2016-01-11 19:43:31 -05:00
Martyn Taylor 945963ed07 Remove DelegatingSession class
DelegatingSession class wraps ClientSessionImpl and attempts to close
session should it not be closed by the user.  It does this by
implementing finalize.  However, the order in which finalize runs can be
difficult to predict as compilers, and JIT compilers are able to
optimize early.

The current DelegatingSession was causing problems of finalize getting
called early (before consumers, producers were finished with the
session).  This was causing tests to fail on the IBM JDK (which
optimizes early).  The same happens on OpenJDK if the GC is forced.
2016-01-11 19:43:10 -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 6b42f26283 fixing thread leakage from jgroups test 2016-01-07 15:07:59 -05:00
jbertram 6e702724b9 ARTEMIS-333 Redistribution + groups tests failing 2016-01-06 16:15:19 -06:00
jbertram e899c850e7 ARTEMIS-218 auto-create in cluster 2016-01-05 14:02:05 -06:00
jbertram 978f8eeda8 ARTEMIS-331 support 0-length large msg 2016-01-05 10:44:54 -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
Ville Skyttä a0dc9861a0 Access static members directly 2015-12-21 22:01:21 -05:00
Ville Skyttä 2cb74839f9 Remove redundant type arguments 2015-12-21 21:57:16 -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
jbertram 831eabfc73 ARTEMIS-303 listing subs fails for JMS2 shared sub 2015-12-08 15:11:53 -06:00
Ville Skyttä 6288f37064 Remove unused imports 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
jbertram ae22fa2a5d ARTEMIS-314 test-case to exercise behavior 2015-12-07 13:39:53 -05:00
Ville Skyttä 25ae472455 Add missing @Override annotations 2015-12-06 01:27:35 +02:00
jbertram 956c54155f ARTEMIS-201 warn of potential OOME 2015-11-23 21:42:15 -05:00
Erich Duda 5dab6b8ed9 ARTEMIS-307 JMSIndividualAckTest#testAckedMessageAreConsumed fails on slower machines
The issue is solved by increasing timeout in consumer.receive method.
2015-11-23 21:40:11 -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
jbertram 0c407922a8 ARTEMIS-261 cert-based auth 2015-11-04 15:56:33 -05: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
Clebert Suconic 017bf8d85a ARTEMIS-291 fix tests 2015-11-02 13:15:13 -05:00
Erich Duda effe95c0ba ARTEMIS-290 PageCountSyncOnNonTXTest.testSendNoTx: fails on slower machines 2015-10-30 09:37:32 +01:00
Erich Duda 0007772b13 ARTEMIS-287 [Artemis Testsuite] PagingTest#testDeleteQueueRestart fails on slower machines 2015-10-29 11:27:26 +01:00
jbertram fe4dafedcb ARTEMIS-168 - pluggable authorization 2015-10-27 10:12:22 -04:00
Andy Taylor 290cb65b17 ARTEMIS-281 - fix reference counting for jgroups channels
https://issues.apache.org/jira/browse/ARTEMIS-281
2015-10-27 10:10:52 +00:00
Clebert Suconic 992c34bc6a Small tweak on test 2015-10-26 14:06:26 -04:00
Clebert Suconic e35c4d5800 SessionCloseOnGCTest#testCloseOneSessionOnGC avoiding intermittent failure - small improvement 2015-10-26 12:04:03 -04:00
Clebert Suconic bd946d2ce8 SessionCloseOnGCTest#testCloseOneSessionOnGC avoiding intermittent failure 2015-10-26 11:10:48 -04:00
Clebert Suconic 487d976760 ARTEMIS-277 IncompatibleVersionTest fails on slower machines
This closes #216
2015-10-26 10:49:49 -04:00
Andy Taylor 31f2389343 ARTEMIS-269 - sett restartBackup to true by default
https://issues.apache.org/jira/browse/ARTEMIS-269
2015-10-22 13:20:28 +01: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
Martyn Taylor 3e6f229436 ARTEMIS-262 Check connection status change before callbacks 2015-10-20 10:41:00 +01: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
Erich Duda 2dc317a571 ARTEMIS-259 ClientCrashTest: tests fail on slower machines 2015-10-14 13:23:27 +02: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 989172596e ARTEMIS-252 Added support to retry messages via JMX on JMS Queue interface 2015-10-12 17:03:42 -04:00