Commit Graph

478 Commits

Author SHA1 Message Date
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
jbertram 5de97a39a0 ARTEMIS-224 add logmanager to JVM args 2015-09-18 15:08:09 -04:00
Martyn Taylor bb2c890803 [maven-release-plugin] prepare for next development iteration 2015-09-15 15:43:44 +01:00
Martyn Taylor 63ea448728 [maven-release-plugin] prepare release 1.1.0 2015-09-15 15:41:37 +01:00
Martyn Taylor 6408fd0357 [maven-release-plugin] prepare for next development iteration 2015-09-11 19:01:57 +01:00
Martyn Taylor c512f12a34 [maven-release-plugin] prepare release 1.1.0 2015-09-11 19:01:19 +01:00
Clebert Suconic 8533171459 ARTEMIS-223 fix on long conversion 2015-09-11 11:55:06 -04:00
Martyn Taylor 91d93a002c ARTEMIS-223 Cast QueueId to Long not Integer 2015-09-11 10:55:31 +01:00
Martyn Taylor fec6546480 [maven-release-plugin] prepare for next development iteration 2015-09-08 16:39:59 +01:00
Martyn Taylor 4d0b15b043 [maven-release-plugin] prepare release 1.1.0 2015-09-08 16:29:09 +01:00
Clebert Suconic 20006b6e9d test fixes on windows 2015-09-08 11:08:34 -04:00
Clebert Suconic 3da19e5b0a speeding up test for slow machines 2015-09-08 10:29:29 -04:00
Martyn Taylor 82f6a88d59 [maven-release-plugin] prepare for next development iteration 2015-09-07 10:02:01 +01:00
Martyn Taylor 8c1e0e15fc [maven-release-plugin] prepare release 1.1.0 2015-09-07 10:01:10 +01:00
Martyn Taylor a2aa18c123 [maven-release-plugin] prepare for next development iteration 2015-09-04 20:20:13 +01:00
Martyn Taylor a5decb659e [maven-release-plugin] prepare release 1.1.0 2015-09-04 20:19:11 +01:00
Martyn Taylor 4576ccea08 [maven-release-plugin] prepare for next development iteration 2015-09-04 19:48:52 +01:00
Clebert Suconic a82080978f fixing locking on the CLI & shared storage
The CLI lock was broken when two nodes were sharing the journals
2015-09-04 12:21:49 -04:00
Clebert Suconic 8f04442e84 renaming srv.lock to cli.lock 2015-08-31 20:18:05 -04:00
Clebert Suconic b53cce1c24 adding authorization on default settings
This is because we need that to perform import operations
2015-08-31 18:24:37 -04:00
Clebert Suconic 511bfc7e15 ARTEMIS-187 Hold lock between server running and data tools to avoid data damaged 2015-08-31 17:38:43 -04:00
Clebert Suconic 0771ba511c Improving bootstraping / CLI
- Added a method on Bootstrap class that could be used on embedding a server
2015-08-24 21:30:03 -04:00
Clebert Suconic 27b98a2514 performance tests on openwire 2015-08-14 15:39:27 -04:00
Clebert Suconic 030f2fc59a Revert "ARTEMIS-187 hold lock between live server and tools"
This reverts commit f0f4f1684d.

Sorry about this.. I will rework this and send a commit again
2015-08-14 01:02:39 -04:00
Clebert Suconic f0f4f1684d ARTEMIS-187 hold lock between live server and tools
This should avoid users damaging data while the server is running (by for instance running compact while the server is running)

https://issues.apache.org/jira/browse/ARTEMIS-187
2015-08-13 23:57:49 -04:00
Clebert Suconic 800cc461ca forcing libaio option 2015-08-12 15:31:09 -04:00
Clebert Suconic a0cca44107 adding new OpenWire examples 2015-08-12 13:04:33 -04:00
Clebert Suconic 21bf440636 This commit has improvements on the examples including:
https://issues.apache.org/jira/browse/ARTEMIS-113 Better organize examples
https://issues.apache.org/jira/browse/ARTEMIS-114 Some openwire examples
2015-08-11 23:44:43 -04:00
Clebert Suconic bac96047f5 automatic checkstyle change
this is just calling Idea format on all the files using the new style
I am separating manual changes from automatic changes in case I have to repeat the manual changes again
2015-08-10 09:26:42 -04:00
Clebert Suconic dd8203185b ARTEMIS-180 removing -Pexample and some other improvements around the examples 2015-08-07 15:17:28 -04:00
Clebert Suconic 38fb9300c7 renaming sync parameter to auto tune journal on the CLI 2015-08-04 15:22:47 -04:00
Clebert Suconic 6fe9e0ebd6 ARTEMIS-163 First pass on the native AIO refactoring
https://issues.apache.org/jira/browse/ARTEMIS-163

On this pass I'm just converting the native layer to a simpler one.
It wasn't very easy to change the alignment at the current framework,
so I did some refactoring simplifying the native layer

The volume of the nubmer of changes here is because:

- The API is changed, we now don't close the libaio queue between files
- The native layer won't use malloc as much as it used to, saving some CPU and memory defragmentation
- I organized the code around nio and libaio
2015-07-29 22:12:03 -04:00
jbertram 54d0d2b4ef Continuing work on ARTEMIS-178 2015-07-29 16:00:41 -05:00
Clebert Suconic b3af4bb777 ARTEMIS-178 Refactor examples to use CLI
This is changing the examples to run the real servers.
The maven plugin should be an automation of the CLI
Where we run real servers instead of any embedded framework

Going forward we will need to remove the common examples.
Failover examples will be able to use Process Builders
2015-07-29 16:00:41 -05:00
Clebert Suconic 82639f590b Revert "Change on buffer timeout..."
This reverts commit 522c399bd2.
2015-07-21 13:57:07 +01:00
Clebert Suconic 522c399bd2 Change on buffer timeout...
I had done a lot of tests today, and having 100 nanoseconds for the buffer timeout is a better default for the default installation created through the create command.
I have added some information on when to change as a comment on the xml
2015-07-21 09:42:43 +01:00
Martyn Taylor 795e85216f rename default MQTT connector to mqtt 2015-07-15 14:30:04 +01:00
Martyn Taylor 4ecbbc9388 Enable MQTT in default broker config 2015-07-15 14:06:49 +01:00
Ville Skyttä 692bb473fc Improve CLI create option descriptions 2015-07-13 19:32:49 +03:00
Clebert Suconic 33b81c91a6 ARTEMIS-145 moving compact command under tools
https://issues.apache.org/jira/browse/ARTEMIS-145
2015-06-26 13:18:15 -04:00
Clebert Suconic 63a17adbdf simply renaming parameters on CLI 2015-06-26 11:42:50 -04:00
Clebert Suconic aa4a06329f [ARTEMIS-144] adding Browse and a few other improvements 2015-06-25 15:02:05 -04:00
jbertram bf9f6d213b ARTEMIS-104 missing i18n warns 2015-06-24 14:05:40 -05:00
Clebert Suconic cf777ec6b6 ARTEMIS-144 Producer / Consumer command
https://issues.apache.org/jira/browse/ARTEMIS-144

As I was working through the examples I realized the tool used to consume and sending messages
through the console.

this will import such tool to the CLI as users are used to consume and send messages.
2015-06-23 20:40:27 -04:00
Clebert Suconic 7c873a065e removing empty line 2015-06-18 14:19:47 -04:00
Clebert Suconic 4388923527 ARTEMIS-139 data.folder related to artemis
https://issues.apache.org/jira/browse/ARTEMIS-139

I'm using the constructors on File(parent, filename) now with the home directory
2015-06-17 14:10:54 -04:00
John D. Ament 5b2d2a49c4 ARTEMIS-140 In testing ARTEMIS-116 Found some more holes in the cli. 2015-06-16 20:58:14 -04:00
John D. Ament 56ec4cabab ARTEMIS-116 Actually use a higher level of the exception to catch more issues. 2015-06-16 20:31:26 -04:00
John D. Ament 1d0821ea4a ARTEMIS-116 Fixed exception handling. Minor formatting clean up in the CLI. 2015-06-16 20:28:32 -04:00
Clebert Suconic 145fc7f82c small improvement on CLI / ARTEMIS-19 2015-06-11 21:55:51 -04:00
jbertram fd85bf7f75 ARTEMIS-19 CLI option for message-load-balancing 2015-06-11 15:39:08 -05:00
Clebert Suconic 309ce4324c Fixing javadoc and removing the -Xdoclint option from the pom.xml
Also, since JDK 1.8 is no longer required I'm downgrading the JDK to 1.7 minimal.
We can review that back to 1.8 when we really need 1.8 features.
2015-06-09 22:13:11 -04:00
Clebert Suconic 8edcf7c5b2 ARTEMIS-133 adding property to force security on the CLI
https://issues.apache.org/jira/browse/ARTEMIS-133

This is just adding a property so it would be
2015-06-04 10:26:44 -04:00
Thiago Kronig d48b4f4770 ARTEMIS-129 License header should be a normal comment
To reproduce this commit, apply a replace regex rule using:

    search regex: /\*\*\n \* Licensed
    replace: /\*\n \* Licensed

These files had to be changed manually:

    artemis-selector/src/main/javacc/HyphenatedParser.jj
    artemis-selector/src/main/javacc/StrictParser.jj
    artemis-website/src/main/resources/styles/impact/css/pygmentize.css
    artemis-website/src/main/resources/styles/impact/css/site.css
2015-06-03 10:19:45 -04:00
Claus Ibsen a9b6753d93 ARTEMIS-117: Upgrade to Jolokia 1.3.1 2015-05-28 11:19:43 -04:00
Martyn Taylor 22d54c5830 [maven-release-plugin] prepare for next development iteration 2015-05-21 13:47:45 +01:00
Martyn Taylor 3435d5948f [maven-release-plugin] prepare release 1.0.0 2015-05-21 13:43:56 +01:00
Clebert Suconic 304e71862f Fixing cluster-settings
I have been playing with settings on the examples and the cluster settings are not really working by default
The default cluster-settings is using the wrong acceptor and the lack of max-hops is not making it work on most examples
maybe I will add some configuration on the max-hops through the create interface. I will set it as 0 for now at least
2015-05-20 23:17:09 -04:00
Clebert Suconic 4de929c3e1 option to remove the web server on the install 2015-05-20 22:42:42 -04:00
Clebert Suconic 14cb3a07a0 Fixing silent-input over password
--silent-input was being ignored on password. This is a little fix
I have also moved an abstract just for InputAbstract
2015-05-20 22:42:39 -04:00
Martyn Taylor 97210427df [maven-release-plugin] prepare for next development iteration 2015-05-20 11:26:38 +01:00
Martyn Taylor 3fb3799f91 [maven-release-plugin] prepare release 1.0.0 2015-05-20 11:17:31 +01:00
Clebert Suconic 46df777edb Fixing libaio integration / creation
My last patch had a little flaw around libaio load (The main script is not finding the .so properly) and my configuration was wrong
2015-05-19 15:18:04 -04:00
Clebert Suconic 3e07a03ce5 Changing default host to 0.0.0.0 by default and allowing it to be configured during create
This is changing the default host to 0.0.0.0 per feedback from the community (activemq dev-list)
however if clustered is used some input or other properties will get input during the create process
I've also done some other changes based on some small issues I have encountered
2015-05-19 11:27:58 -04:00
Andy Taylor ef322b5eb2 rename connector and acceptor to artemis 2015-05-19 11:50:46 +01:00
Clebert Suconic 6cb68f2ce9 Make tools more friendly to user errors 2015-05-13 15:28:17 -04:00
jbertram dc82cd0a51 Make CLI print data more friendly 2015-05-13 10:44:46 -05:00
Martyn Taylor 73c5f2e342 [maven-release-plugin] prepare for next development iteration 2015-05-13 15:24:55 +01:00
Martyn Taylor bfc9d8f72d [maven-release-plugin] prepare release 1.0.0 2015-05-13 15:24:16 +01:00
Clebert Suconic cbf746dd6f changing logging to artemis.log 2015-05-13 09:34:51 -04:00
Martyn Taylor a17c828b85 Ensure all references to the project use ActiveMQ Artemis 2015-05-13 11:51:26 +01:00
Clebert Suconic 321c6011cd Improvements on CLI and Bootstrap
- A few improvements on CLI (fixing Windows Service and adding a few options)
- Bootstrap was missing /etc on the classpath so config loaders such as JGroups wouldn't be able to load configurations
2015-05-12 23:24:35 -04:00
Martyn Taylor 1013e7f1dd [maven-release-plugin] prepare for next development iteration 2015-05-12 13:51:35 +01:00
Martyn Taylor d6466b7a1b [maven-release-plugin] prepare release 1.0.0 2015-05-12 13:50:56 +01:00
Martyn Taylor 3e34044d2b [maven-release-plugin] prepare for next development iteration 2015-05-11 21:50:41 +01:00
Martyn Taylor d2de238a30 [maven-release-plugin] prepare release 1.0.0 2015-05-11 21:48:17 +01:00
Clebert Suconic 5a3727c8f3 Fixing runtime CLI on windows 2015-05-11 14:23:27 -04:00
jbertram 2cbeedab89 Clean up 'ActiveMQ' refs in literals 2015-05-11 11:23:35 -05:00
Clebert Suconic 2e0cbc122d fixing distribution on windows - the wrong location was causing a NPE on create 2015-05-11 12:11:07 -04:00
Martyn Taylor dfe8b14ac0 Add HornetQ protocol to the distro 2015-05-11 14:26:02 +01:00
Andy Taylor 6fea6ca66e small CLI CREATE fix 2015-05-06 15:12:32 +01:00
Andy Taylor 8446bce8e9 added cluster security settings to CLI create command 2015-05-06 15:12:32 +01:00
Andy Taylor 0099c36125 remove wilth-ssl option from CLI create command 2015-05-06 15:12:32 +01:00
Andy Taylor 0bbe8c87f0 add the ability to off set the defaul ports for the CLI create command 2015-05-06 15:12:32 +01:00
jbertram 9dcb2d2faa Add license header 2015-05-05 16:38:19 -05:00
Andy Taylor 56e4bd79bc use host argument properly with CLI create command 2015-05-05 10:58:24 -04:00
Andy Taylor 5e4c3e3bae fixed create CLI typo 2015-05-05 10:58:24 -04:00
Clebert Suconic 2a6422bc6f Fixing WebServer integration after created server
The web page was not loading
2015-05-04 22:44:32 -04:00
jbertram 57d29ed119 Point test configs to right directory 2015-05-04 16:07:27 -05:00
Clebert Suconic cff9f5b785 Improving tools to use configuration
PrintData / Export and other tools are now reading default configuration from broker.xml
I also did some refactoring so Stop and Run will share some of the basic functions
2015-05-04 16:05:22 -04:00
Clebert Suconic fa6dd9fd6d upgrade airline to the latest version 2015-05-04 10:55:21 -04:00
Clebert Suconic ea3370b38c Moving artemis-tools to artemis-cli and improving the tooling
Artemis tools is now part of the cli
Bootstrap was renamed to CLI
2015-05-03 12:42:19 -04:00