Commit Graph

1309 Commits

Author SHA1 Message Date
jbertram 570ee53d6c ARTEMIS-304 Prompt for role when creating instance 2015-11-17 10:01:50 -06:00
Andy Taylor 5b824e1bcf merge #242 - ARTEMIS-302 - more work about improving resilience of MDBs and XA 2015-11-17 15:08:46 +00:00
Clebert Suconic b1d5076108 ARTEMIS-302 - more work about improving resilience of MDBs and XA 2015-11-16 18:11:44 -05:00
Clebert Suconic 06b0c31193 small tweak on test 2015-11-11 17:04:46 -05:00
Clebert Suconic 95782a7bcb This closes #241 2015-11-11 16:34:21 -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 f72c226aec removing trace 2015-11-11 11:38:29 -05:00
jbertram 2b84a8120e This closes #240 2015-11-11 10:20:38 -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
Clebert Suconic f0f886f53a ARTEMIS-301 - Adding test replicating Consumer::cancel concurrency issue 2015-11-10 14:29:34 -05:00
Clebert Suconic 74c20ea927 This closes #239 2015-11-09 15:41:23 -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
Clebert Suconic 08e5245c0c This closes #238 2015-11-05 11:07:03 -05:00
Martyn Taylor 0a87410b1b Use .equals for string compare in LDAPLoginModule 2015-11-05 11:07:03 -05:00
Clebert Suconic 4dfe81d4d8 This closes #237 2015-11-05 11:06:07 -05:00
Clebert Suconic 9a2bebe443 ARTEMIS-297 Including acceptor name on logs 2015-11-04 22:54:12 -05:00
Clebert Suconic d585d465b4 This closes #234 2015-11-04 21:30:08 -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
Clebert Suconic a4018e4817 This closes #236 2015-11-04 15:56:33 -05:00
jbertram 0c407922a8 ARTEMIS-261 cert-based auth 2015-11-04 15:56:33 -05:00
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