Commit Graph

341 Commits

Author SHA1 Message Date
Howard Gao e09be4864a ARTEMIS-988 Regression: web tmp dir not cleaned up
Due to recent changes, the web component is shutdown by the
server, but the shutdown flag is lost so the web component's
cleanup check method is not get called and the web's tmp
dir is left there after user stopped the broker (control-c).

The fix is add a suitable API to allow passing of the
flag so the web component can make sure its tmp dir gets
cleaned up properly before exiting the VM.
2017-02-23 12:39:50 +08:00
Christopher L. Shannon (cshannon) 637405a886 ARTEMIS-943 fix queueType in import-export schema
https://issues.apache.org/jira/browse/ARTEMIS-943

queueType in the artemis-import-export schema needs to be marked with
min and max occurs attributes to specify that the element can occur more than one
time.  This is important so JAXB generates the correct bindings.
2017-02-15 10:15:39 -05:00
Christopher L. Shannon (cshannon) 0fdf44fb62 ARTEMIS-964 Moving shared XML logic
https://issues.apache.org/jira/browse/ARTEMIS-964

Moving XML conversion logic to a common XmlDataExporterUtil class so it
can be used elsewhere.
2017-02-14 11:29:29 -05:00
Justin Bertram ff3e75d148 NO-JIRA move RoutingType to different package 2017-02-13 09:50:41 -06:00
Andy Taylor c3436a36a0 NO-JIRA: fix typo on the cli
./artemis help was returning "exp" twice on the
2017-02-10 09:53:56 -05:00
Clebert Suconic 235b9082d8 NO-JIRA: speeding up ArtemisTest
Before this change tests could take a long time on certain laptops.
We don't need to perform the auto-tune journal for these tests.
2017-02-07 17:09:46 -05:00
Justin Bertram 68ac7d9668 ARTEMIS-939 reload security credentials by default 2017-02-07 10:34:25 -05:00
Justin Bertram 15d693dd4e ARTEMIS-943 update/doc XML import/export 2017-02-06 15:09:55 -06:00
Clebert Suconic 1ac6354990 ARTEMIS-935 sync option on NIO 2017-02-03 11:19:55 -05:00
Francesco Nigro aacddfda61 ARTEMIS-906 Memory Mapped JournalType 2017-02-03 09:04:57 -05:00
Clebert Suconic ce035a8084 ARTEMIS-937 Implementing proper alignment and adding perf-journal tool to validate the journal syncs 2017-02-03 09:04:56 -05:00
Clebert Suconic cc3fd11df2 ARTEMIS-935 Sync tool 2017-01-29 22:07:55 -05:00
Howard Gao 5f3159f4c8 ARTEMIS-932 2 brokers can be started using the same store 2017-01-27 15:45:32 -05:00
Justin Bertram d891fa5f83 ARTEMIS-873 update broker configs w/new notation 2017-01-19 11:16:06 -06:00
Howard Gao 77c84a606c ARTEMIS-929 Artemis cli tools does not check non-existing options 2017-01-19 11:39:31 -05:00
Justin Bertram 8cf94623a4 ARTEMIS-922 Rename deleteOnNoConsumers throughout
The name "deleteOnNoConsumers" isn't a good match for the semantics underneath.
The name "purgeOnNoConsumers" (and variants) is a better fit.
2017-01-17 11:40:56 -06:00
Howard Gao 07ea08a845 ARTEMIS-915 WebComponent stopped when backup failback 2017-01-12 10:11:10 +08:00
Clebert Suconic 1bed2c9512 NO-JIRA cli improvements 2016-12-16 18:46:46 -06:00
Clebert Suconic a8855399ee NO-JIRA: adding Migrate1X into CLI 2016-12-16 10:55:00 -06:00
Clebert Suconic 3d8bb9c5c9 NO-JIRA: fix typo 2016-12-16 10:40:54 -05:00
Clebert Suconic e1577e230a ARTEMIS-878 test fixes 2016-12-16 09:37:46 -05:00
Clebert Suconic 6ec7efc995 ARTEMIS-878 Improving CLI experience around create queue and address
I reckon the CLI is not the best UX, but this will at least make it consistent with other CLI commands
for the new Queue and Address commands
2016-12-16 13:15:28 +00:00
Francesco Nigro 0a4d1b38c8 ARTEMIS-878: Improved CLI commands 2016-12-15 13:41:30 +00:00
Clebert Suconic 332338d018 ARTEMIS-890 Improving Paging consistencies with broker.persistent = false. Block, Page and Drop will now work under non persistent 2016-12-14 14:36:33 -05:00
Martyn Taylor 6682072da6 Major Version Bump 2.0.0 After Major Arch Change 2016-12-09 18:43:15 +00:00
jbertram fa67d40b9d ARTEMIS-789 Fixed a number of failing tests 2016-12-09 18:43:15 +00:00
Francesco Nigro 6ab133ab89 ARTEMIS-878 Added/Modified CLI commands and tests 2016-12-09 18:43:15 +00:00
Andy Taylor 224f62b295 ARTEMIS-877 Add Consumer support for AMQP for new addressing schema 2016-12-09 18:43:15 +00:00
jbertram b742a357c5 ARTEMIS-876 Deprecate JMSServerManager and update JMS bootstrap 2016-12-09 18:43:15 +00:00
jbertram 8057ec4b27 ARTEMIS-878 Use Strings in CLI JMX interaction 2016-12-09 18:43:15 +00:00
jbertram c480351c11 ARTEMIS-780 Consolodate protocol packets and new Address/Queue commands 2016-12-09 18:43:15 +00:00
Martyn Taylor 7a51491c32 ARTEMIS-780 Added ability to define 2 Routing Types on a single addres 2016-12-09 18:43:15 +00:00
jbertram 0861be14c1 ARTEMIS-789 Fix various failing tests due to addressing changes 2016-12-09 18:43:15 +00:00
Martyn Taylor ec8f06138c ARTEMIS-878 Update the CLI to incorporate Addresses and new Queue 2016-12-09 18:43:15 +00:00
jbertram a88853fe53 ARTEMIS-788 Stomp refactor + track autocreation for addresses 2016-12-09 18:43:15 +00:00
Andy Taylor 0189f156ec ARTEMIS-876 Remove JMS JMX Objects and add new Address JMX objects 2016-12-09 18:43:15 +00:00
Martyn Taylor 0006627d12 ARTEMIS-876 Internalise Cluster Namespace and remove JMS Prefix 2016-12-09 18:43:15 +00:00
jbertram 84e8a87325 ARTEMIS-876 Remove all reliances on JMS prefixing 2016-12-09 18:43:15 +00:00
Clebert Suconic ebbc91c728 [maven-release-plugin] prepare for next development iteration 2016-12-06 16:59:52 -05:00
Clebert Suconic 5bcbea2517 [maven-release-plugin] prepare release 1.5.1 2016-12-06 09:47:43 -05:00
Clebert Suconic 402f25be7d ARTEMIS-473/ARTEMIS-863 Detect network failures 2016-11-23 10:14:14 -06:00
Paul Gallagher 3f60e9cf88 NO-JIRA: Move version properties to top level pom and add the runtime artifacts to the dependencyManagement 2016-11-21 17:21:44 -05:00
Clebert Suconic 3b45435c76 ARTEMIS-845 Making Default Acceptor Protocols a bit more clear on default config
https://issues.apache.org/jira/browse/ARTEMIS-845
2016-11-09 14:35:47 -05:00
Clebert Suconic f2db1c4337 [maven-release-plugin] prepare for next development iteration 2016-11-03 15:35:05 -04:00
Clebert Suconic 13a8a2bd40 [maven-release-plugin] prepare release 1.5.0 2016-11-03 15:34:54 -04:00
Clebert Suconic e89f6a1bfd Revert "ARTEMIS-833 maxHops defaults to 0 when creating artemis cluster configuration through cli"
this is breaking client size load balance example.

This reverts commit 3de65682ce.
2016-11-02 19:00:09 -04:00
Clebert Suconic aa0965c0ca NO-JIRA small improvement on CLI, retry with user input 2016-11-02 15:52:25 -04:00
Clebert Suconic 119476ddcc ARTEMIS-786 checking for inputs and some reorg of the class model on user actions 2016-11-02 15:17:31 -04:00
Howard Gao cd7b838952 ARTEMIS-786 Store user's password in hash form by default
- user passwords for PropertiesLoginModule stored using PBKDF2 algothrim
    by default
  - implements cli user command to help create and manage user/roles
  - adds a mask cli command to mask passwords
2016-11-02 14:59:00 -04:00
Clebert Suconic 5e5ac0f057 ARTEMIS-832 Openwire was ignoring data syncs.
I'm also adding the possibility of sync on libaio, and not only relay on write-cache
2016-11-02 13:17:12 -05:00
Tom Ross 3de65682ce ARTEMIS-833 maxHops defaults to 0 when creating artemis cluster configuration through cli
https://issues.apache.org/jira/browse/ARTEMIS-833

The generated broker.xml configuration file has the <max-hops/> element
set to 0. This is very confusing since it effectively disables message
load balancing and stop cluster from forwarding messages to other nodes
in hte cluster. This should be set to at least 1.
2016-11-02 14:15:52 -04:00
Clebert Suconic 7eadff7681 ARTEMIS-822 Injecting IO Pools into and from ArtemisServerImpl
https://issues.apache.org/jira/browse/ARTEMIS-822
2016-10-31 11:34:27 -04:00
barreiro 4b47461f03 ARTEMIS-822 Add executor service to JournalImpl for append operations and remove synchronization
https://issues.apache.org/jira/browse/ARTEMIS-822
2016-10-28 16:54:59 -04:00
Paul Gallagher e4d58ce596 Upgrade Jolokia version 2016-10-24 12:28:49 +01:00
Clebert Suconic 6483123417 ARTEMIS-801 Dealing properly with Spaces and Special Characters on broker 2016-10-17 22:04:21 -04:00
jbertram 1f3dcf2871 ARTEMIS-750 use JAVA_HOME for Win service 2016-10-04 12:34:40 -05:00
Ville Skyttä 082b75bb3d More use of try-with-resources 2016-09-30 13:17:26 -04:00
Clebert Suconic ec48f9ed00 ARTEMIS-765 Improve Checkstyle 2016-09-30 11:12:09 -04:00
jbertram ea552a1f88 ARTEMIS-747 multiple CDATA events on import fails 2016-09-23 12:15:13 -04:00
jbertram f85a9cce82 ARTEMIS-732 loading wrong arch lib 2016-09-21 16:16:33 -04:00
Clebert Suconic 505b732843 [maven-release-plugin] prepare for next development iteration 2016-09-06 12:17:31 -04:00
Clebert Suconic b305e231ec [maven-release-plugin] prepare release 1.4.0 2016-09-06 12:17:08 -04:00
Clebert Suconic 4472aa0e36 ARTEMIS-581 Implement max disk usage, and global-max-size
max-disk-usage = how much of a disk we can use before the system blocks
global-max-size = how much bytes we can take from memory for messages before we start enter into the configured page mode

This will also change the default created configuration into page-mode as that's more reliable for systems.
2016-09-06 15:07:49 +01:00
Clebert Suconic 248ae383df ARTEMIS-700 Improving how the log manager is found on Posix systems 2016-08-25 14:34:50 -04:00
Ville Skyttä 5f8d9a2746 ARTEMIS-698 Remove full path + executability check of java
Fixes issues with systems that have no "which", as well as the fallback
to using plain "java" from PATH.
2016-08-25 09:55:32 -04:00
jbertram 3fd9fbe2d0 ARTEMIS-686 shutdown external components 2016-08-19 14:00:17 -05:00
Clebert Suconic a3840c23c3 [maven-release-plugin] prepare for next development iteration 2016-08-16 11:59:55 -04:00
Clebert Suconic d38ef19bf6 [maven-release-plugin] prepare release 1.4.0 2016-08-16 11:59:36 -04:00
Clebert Suconic c568a9774f ARTEMIS-601 Reload manager wasn't working with backups 2016-08-11 17:25:08 -04:00
Clebert Suconic 7ba1bcbf1e changing mandatory message on CLI 2016-08-10 23:09:22 -04:00
Clebert Suconic 7d684956e2 ARTEMIS-670 Adjusting package names on CLI and adding input for destination create name 2016-08-10 19:12:58 -04:00
Howard Gao 76e7992906 ARTEMIS-670 Adding destination creation and deletion cli commands 2016-08-10 15:44:10 -04:00
Martyn Taylor 9b2294ca27 ARTEMIS-672 Use sh not bash in scripts 2016-08-10 11:10:12 -04:00
jbertram 1ef9e74f14 ARTEMIS-601 load runtime security cfg file changes 2016-08-07 20:17:56 -05:00
Martin Styk 46aad5b3a7 ARTEMIS-653 Possible Null Pointer Exception during message properties read using XmlDataImporter
Create SimpleString object only if value of attribute is not null
2016-07-25 14:32:46 -04:00
jbertram e9db9c286d ARTEMIS-628 add BROWSE role 2016-07-12 16:21:57 -05:00
jbertram 17cf45ad4f ARTEMIS-619 stop components along with server 2016-07-08 13:23:04 -05:00
Howard Gao 3522979bda More on ARTEMIS-594: support HTTPS access to hawtio
Remove the keystore.jks in distribution
  Add documentation
  Add cli options
2016-06-30 09:56:58 +08:00
Clebert Suconic ace11835c9 ARTEMIS-597 Adding Logging manager to a few poms
this is making a few tests to show an Exception when they start
2016-06-29 16:27:47 -04:00
Clebert Suconic b2de7ded1d ARTEMIS-599 add --f option to ignore locking of the server 2016-06-29 16:14:26 -04:00
Howard Gao 23475caca9 ARTEMIS-594 support HTTPS access to hawtio 2016-06-24 13:24:23 -05:00
Clebert Suconic 286a4ba9ed ARTEMIS-574 fixing home and instance on DTO, CLI and maven plugin 2016-06-17 15:05:46 -04:00
jbertram 7715b5ee12 ARTEMIS-529 support dual auth
A new feature whereby 2-way SSL connections can be authenticated differently
than non-SSL connections.
2016-06-17 11:07:03 -05:00
Ville Skyttä 3923ae45f4 Fix checkstyle redundant modifier violations 2016-06-13 20:03:54 +03:00
Ville Skyttä e493748040 Fix checkstyle curly brace violations 2016-06-13 18:21:43 +03:00
Martyn Taylor 9ae39f663f [maven-release-plugin] prepare for next development iteration 2016-06-09 12:52:56 +01:00
Martyn Taylor 221039e353 [maven-release-plugin] prepare release 1.3.0 2016-06-09 12:49:13 +01:00
Martyn Taylor 319439ab27 [maven-release-plugin] prepare for next development iteration 2016-06-09 12:25:19 +01:00
Martyn Taylor 2c5ab446be [maven-release-plugin] prepare release 1.3.0 2016-06-09 12:24:48 +01:00
Martyn Taylor 4a07091718 [maven-release-plugin] prepare for next development iteration 2016-06-09 11:25:03 +01:00
Martyn Taylor 93cf7b4b9b [maven-release-plugin] prepare release 1.3.0 2016-06-09 11:23:03 +01:00
Clebert Suconic 76af1f33d0 ARTEMIS-564 Fixing runtime with folders & spaces
https://issues.apache.org/jira/browse/ARTEMIS-564
2016-06-08 21:45:24 -04:00
Martyn Taylor 4574b3ee13 [maven-release-plugin] prepare for next development iteration 2016-06-08 11:03:35 +01:00
Martyn Taylor 2b3d22c5cc [maven-release-plugin] prepare release 1.3.0 2016-06-08 11:02:14 +01:00
jbertram 93bbd75ae6 ARTEMIS-386 fix shebang in service script 2016-06-02 15:06:23 -04:00
Paul Gallagher 1abf433090 Corrected winsw version and added property for it 2016-05-25 09:40:57 -04:00
jbertram b4bb5bb576 ARTEMIS-531 fix war name 2016-05-24 15:09:23 -05:00
jbertram c5b781c9f6 ARTEMIS-532 update JMX RMI port prop 2016-05-24 12:07:45 -04:00
jbertram 4842b62d25 ARTEMIS-532 config RMI port for remote JMX 2016-05-23 18:26:21 -04:00
jbertram 6993aa9d84 ARTEMIS-533 change HTTP port from CLI 2016-05-23 18:26:21 -04:00
jbertram 643fa22d05 ARTEMIS-530 acceptor CLI config 2016-05-20 11:24:55 -05:00
jbertram 76f6c9c3bd Make a few tests more robust 2016-05-20 11:24:55 -05:00
Clebert Suconic 5f35d139be ARTEMIS-354 Fixing security option on artemis-service for windows 2016-05-17 10:43:00 -04:00
Clebert Suconic b7f6c14425 using 1.18 on winsw 2016-05-17 10:03:36 -04:00
Ville Skyttä 81956e1716 Use StandardCharsets more 2016-05-16 12:09:46 -04:00
Erich Duda a622fa7443 ARTEMIS-518 - Improvement of default thread factory 2016-05-09 14:33:41 -04:00
jbertram 927edb76f3 ARTEMIS-386 fix shebang 2016-04-25 13:21:36 -05:00
jbertram 7864577fbc ARTEMIS-420 user switch when broker is service 2016-04-13 21:29:59 -04:00
Jiri Danek e041c40ffd ARTEMIS-466 Fix java-opts handling in maven-cli
Previously, java-opts (--java-options argument on the command line)
were not passed on to Artemis broker. This broke the client-kickoff
example, which relies on this to configure JMX.
2016-04-04 11:09:28 -05:00
Ville Skyttä 50dcb136ab Remove bashishm from ARTEMIS-318 example 2016-03-26 13:19:51 +02:00
Ville Skyttä aa3f3bd6a7 Use try-with-resources more 2016-02-21 12:09:43 +02:00
Clebert Suconic a275dda89c ARTEMIS-404 fixing space issues on scripts
https://issues.apache.org/jira/browse/ARTEMIS-404
2016-02-18 18:18:34 -05:00
jbertram 45b2a747ef ARTEMIS-354 set login.config for Win service 2016-01-21 10:49:04 -06:00
Martyn Taylor 4922a7618a Bump to next version to 1.3.0-SNAPSHOT 2016-01-20 17:25:07 +00:00
jbertram 2dcd10befc ARTEMIS-336 fix 'stop' command 2016-01-19 09:45:52 -05:00
Hiram Chirino 044e8e1159 Cleaner fix for: ARTEMIS-318 Can't stop broker when remote JMX enabled 2016-01-18 11:31:55 -05:00
Hiram Chirino 8c0aa41db0 Fixes ARTEMIS-348: Error Message: bin/artemis: line 109: [: too many arguments 2016-01-18 10:51:49 -05:00
jbertram 500704a7cc ARTEMIS-336 Windows script updates 2016-01-13 14:03:25 -05:00
Martyn Taylor 9b351d8236 ARTEMIS-27 / ARTEMIS-338 Refactor Journal Encodings into new package 2016-01-13 09:38:08 -05:00
jbertram 1ad37ea2b1 ARTEMIS-336 don't hard-code instance path 2016-01-11 22:56:50 -05:00
Ville Skyttä 9a0e6d892e artemis.cmd, artemis.profile: Drop executable bits 2016-01-11 13:20:38 -05:00
Ville Skyttä e104831831 ARTEMIS-224 Add logmanager jar to artemis.profile.cmd too 2016-01-09 13:20:39 +02:00
Ville Skyttä a8c0559719 artemis.profile: Remove dupe -Djava.util.logging.manager, set in bin/artemis 2016-01-09 13:12:01 +02:00
Hiram Chirino 3e6dcd05e1 Support using the cli.Artemis to boot up a broker without using the boot.Artemis class.
This is handy for when you want to start Artemis in an IDE where it's not in the distro packaging and the classpath is being managed by the IDE.

It just needed to handle using the artemis.instance system prop.
2016-01-06 11:59:56 -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
Clebert Suconic 9042b2ceee ARTEMIS-329 improving log / applying patch from JIRA 2015-12-28 10:02:00 -05:00
Andy Taylor 6e7ed2348f added log message to show jolkia path when available, also added a logger 2015-12-23 10:58:44 -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
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
jbertram ced8ba2add ARTEMIS-318 use profile JAVA_ARGS only for 'run' 2015-12-15 09:32:50 -06: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
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
Ville Skyttä 25ae472455 Add missing @Override annotations 2015-12-06 01:27:35 +02:00
jbertram 76dffa8b85 ARTEMIS-275 CLI switch for persistence 2015-11-24 16:31:47 -05:00
jbertram 570ee53d6c ARTEMIS-304 Prompt for role when creating instance 2015-11-17 10:01:50 -06:00
Clebert Suconic 06b0c31193 small tweak on test 2015-11-11 17:04:46 -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
Ville Skyttä 60ab8c3316 Update/fix acceptor protocol comments 2015-11-03 10:31:01 -05:00
Clebert Suconic 32e6d9c61a ARTEMIS-279 fixing typo 2015-10-26 14:06:11 -04:00
Clebert Suconic f0f920d455 ARTEMIS-265 & ARTEMIS-266 - small tweaks to Create 2015-10-20 13:03:41 -04:00
Clebert Suconic c6d045b330 ARTEMIS-249 - Improving LibaioContext shutdown
This will be avoiding scenarios where you could crash the VM during the LibaioContext.close,
if done outside of the proper order.
2015-10-15 12:01:55 -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
Glaucio Melo 800c42bc24 JAVA_HOME fix at artemis-cli
After create a broker using main artemis script, this one needs to be created using JAVA_HOME environment correctly as well, otherwise the broker will be unable to find java_home. 
I did perform a search at the whole project and this is the only remaining place which needs to change the JAVA_HOME value at the script.
2015-10-01 10:28:52 -03:00
Clebert Suconic b0b5ca6896 Bringing data print back to artemis_home without instance defined.
This is useful to debug data from tests and user's exports.
2015-09-24 22:30:52 -04:00