Commit Graph

1288 Commits

Author SHA1 Message Date
Clebert Suconic e1fa9bcd7b This closes #235 2015-11-04 14:45:46 -05:00
jbertram 4d54e43ddc ARTEMIS-298 IPv6 escape broken
Previously we were using a long regular expression to detect whether or not a
given host was IPv6. However, this was brittle and hard to read. Since we are
already shipping Google Guava in the distribution it made sense to use the
Guava method com.google.common.net.InetAddresses#isInetAddress rather than
the regular expression.
2015-11-04 10:28:53 -06:00
Clebert Suconic 44b061d049 This closes #233 2015-11-04 10:23:58 -05:00
Martyn Taylor 856d7644ad ARTEMIS-296 Remove stacktrace from bridge disconnect log 2015-11-04 10:23:58 -05:00
Clebert Suconic 77f0f66a4d This closes #232 2015-11-04 10:23:32 -05:00
Martyn Taylor 1cdc01fc44 ARTEMIS-295 Remove 'yet' from log messages 2015-11-04 14:49:11 +00:00
Andy Taylor 95a8570deb merge #231 - [ARTEMIS-294] Use doPriviledged block for ServiceLoader 2015-11-04 11:50:55 +00:00
Jeff Mesnil 7d6a6de8dd [ARTEMIS-294] Use doPriviledged block for ServiceLoader
In ServiceUtils, loads services from an AccessController.doPriviledged
block and use the ServiceUtils's own classloader instead of the TCCL
(that may be different depending on who's requesting a managed
connection factory first)

JIRA: https://issues.apache.org/jira/browse/ARTEMIS-294
2015-11-04 12:26:48 +01:00
Clebert Suconic 8f1848108a This closes #230 2015-11-03 17:45:07 -05:00
jbertram 3f6089891d ARTEMIS-293 rebalance inflow on topology change 2015-11-03 16:42:15 -06:00
Clebert Suconic 63d5f3fc17 This closes #227 2015-11-03 10:31:01 -05:00
Ville Skyttä 60ab8c3316 Update/fix acceptor protocol comments 2015-11-03 10:31:01 -05:00
Clebert Suconic cce107fadc This closes #228 2015-11-03 10:30:41 -05:00
Ville Skyttä 68c9f3fd69 Spelling fixes 2015-11-03 10:30:40 -05:00
Clebert Suconic 797ecea5a9 This closes #229 2015-11-03 10:29:49 -05:00
Andy Taylor b73e61ac52 ARTEMIS-292 - fix isSameHost on TransportConfiguration
Ive renamed the current isSameHost method to isSameparams as thats what it checked and added a new method for isSameHost that checks the appropriate params for the connector. Ive changed ClientSessionFactoryImp to use this to correct the behaviour.

https://issues.apache.org/jira/browse/ARTEMIS-292
2015-11-03 10:29:31 -05:00
Clebert Suconic 017bf8d85a ARTEMIS-291 fix tests 2015-11-02 13:15:13 -05:00
Clebert Suconic 667a64f0ac This closes #226 2015-11-02 10:08:50 -05:00
Martyn Taylor 62262805ab ARTEMIS-291 Allow multiple acceptors with same host/port 2015-11-02 12:42:49 +00:00
Clebert Suconic 0117a29438 This closes #225 2015-10-30 11:45:18 -04:00
Erich Duda effe95c0ba ARTEMIS-290 PageCountSyncOnNonTXTest.testSendNoTx: fails on slower machines 2015-10-30 09:37:32 +01:00
Clebert Suconic 73f8fbf4c7 This closes #224 2015-10-29 16:21:38 -04:00
jbertram 43b421a588 ARTEMIS-289 potential ConcurrentModificationException 2015-10-29 13:41:29 -05:00
Clebert Suconic 8aaed7568b This closes #223 2015-10-29 11:31:24 -04:00
Martyn Taylor 26898e4663 ARTEMIS-288 Start close method in separate executor
When server sends disconnect to the client, the ClientSession schedules
a close task on it's ordered executor.  Once the close method starts
it's waits to check to see if all jobs in it's executor has completed.
To do this it adds a job to it's ordered executor, once it is run it
knows there is nothing more to do and thus is ready to close.  However,
this causes a deadlock as both jobs are running in the ordered executor
and thus are both waiting on each other.  The close eventually timesout
which is why we see the logs as reported in the JIRA.

This commit runs the close method in it's own ordered executor, thus
preventing the two jobs blocking each other.
2015-10-29 14:34:19 +00:00
Clebert Suconic 2cc2e29b11 This closes #221 2015-10-29 09:22:21 -04:00
Andrea Cosentino cafeaab8de ARTEMIS-286 Upgrade Netty to version 4.0.32.Final 2015-10-29 09:22:21 -04:00
Clebert Suconic 5a53de3d5e This closes #222 2015-10-29 09:20:08 -04:00
Erich Duda 0007772b13 ARTEMIS-287 [Artemis Testsuite] PagingTest#testDeleteQueueRestart fails on slower machines 2015-10-29 11:27:26 +01:00
Clebert Suconic 739f3c51bf This closes #220 2015-10-27 10:12:22 -04: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
Clebert Suconic 8f3157a5b3 This closes #219 2015-10-27 10:02:39 -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
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 7f60ff20a5 This closes #218 2015-10-26 14:08:11 -04:00
Andy Taylor e864b79a6d ARTEMIS-280 - Resource Adapter hangs on shutdown
https://issues.apache.org/jira/browse/ARTEMIS-280
2015-10-26 14:08:11 -04:00
Clebert Suconic 992c34bc6a Small tweak on test 2015-10-26 14:06:26 -04:00
Clebert Suconic 32e6d9c61a ARTEMIS-279 fixing typo 2015-10-26 14:06:11 -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 15b8b8138b Improving forceGC method on ActiveMQTestBase 2015-10-26 11:02:53 -04:00
Clebert Suconic 8c6ba443a3 This closes #217 2015-10-26 10:53:48 -04:00
Erich Duda 7970b6e6f8 SessionCloseOnGCTest#testCloseOneSessionOnGC: enforce that Finalizer will be called after garbage collector 2015-10-26 10:53:48 -04:00
Clebert Suconic 487d976760 ARTEMIS-277 IncompatibleVersionTest fails on slower machines
This closes #216
2015-10-26 10:49:49 -04:00
Clebert Suconic c9e823b1ca This closes #215 2015-10-25 09:59:52 -04:00
Ville Skyttä 86b89306d7 Improve "protocol property is deprecated" message, use constants in it 2015-10-25 09:42:57 +02:00
Clebert Suconic 851d4c35df This closes #214 2015-10-23 10:25:28 -04:00
Howard Gao 02cedbf8da ARTEMIS-276 JMSBridge should be TCCL aware 2015-10-23 10:25:28 -04:00
Clebert Suconic 270ad3ec3b ARTEMIS-238/ARTEMIS-236 Removing file that was supposed to be deleted 2015-10-23 09:44:30 -04:00