Commit Graph

342 Commits

Author SHA1 Message Date
Clebert Suconic f16af75354 ARTEMIS-1324 Deadlock detection and health check of critical components 2017-08-07 18:40:03 -04:00
Michael Andre Pearce 12942a609f ARTEMIS-1270 Management Console - Hawtio Solution
applying Artemis skin
2017-08-01 14:55:03 -04:00
Michael Andre Pearce cadf909f78 ARTEMIS-1270 Management Console - Hawtio Solution
Add Hawtio to web
Add Custom ActiveMQ Hawtio Branding Plugin
2017-08-01 14:54:27 -04:00
Jens Reimann 239479d1a3 Fix a typo in bootstrap-web-settings.txt
Signed-off-by: Jens Reimann <jreimann@redhat.com>
2017-08-01 09:43:14 -04:00
Pat Fox 4edb750165 fixed some minor typos in cli description annotations 2017-07-28 15:00:59 +02:00
Clebert Suconic fdad83be22 [maven-release-plugin] prepare for next development iteration 2017-07-24 21:21:18 -04:00
Clebert Suconic 71b1cc2a20 [maven-release-plugin] prepare release 2.2.0 2017-07-24 21:21:06 -04:00
Clebert Suconic 7fd17f407f ARTEMIS-1269 Simple Actor to replace certain executions
This is replacing an executor on ServerSessionPacketHandler
by a this actor.

This is to avoid creating a new runnable per packet received.

Instead of creating new Runnable, this will use a single static runnable
and the packet will be send by a message, which will be treated by a listener.

Look at ServerSessionPacketHandler on this commit for more information on how it works.
2017-07-11 14:22:36 -04:00
Francesco Nigro 7075e2e457 ARTEMIS-1266 Mapped Journal refactoring
The MAPPED journal refactoring include:
 - simplified lifecycle and logic (eg fixed file size with single mmap memory region)
 - supports for the TimedBuffer to coalesce msyncs (via Decorator pattern)
 - TLAB pooling of direct ByteBuffer like the NIO journal
 - remove of old benchmarks and benchmark dependencies
2017-06-30 16:17:19 +02:00
Clebert Suconic f407d86f0f ARTEMIS-1253 Fixing NetworkHealthCheck being shutdown after failures 2017-06-26 16:15:39 -04:00
Clebert Suconic a349493963 NO-JIRA: Improve docs on broker.xml 2017-06-02 11:14:09 -05:00
老袁 6da035bafa ARTEMIS-1195: change filters datatype to LinkedHashMap on cli create 2017-05-30 18:58:37 -04:00
Clebert Suconic 91979980d9 ARTEMIS-1195 Filters should be independent on create
This closes #1301

This commit replaces #1301
2017-05-30 17:03:35 -04:00
Michael Andre Pearce c65ea783ea ARTEMIS-1189 - Fix checkstyle violations post checkstyle upgrade
After upgrade of checkstyle, resolve violations

remove checkstyle override added as temp measure at point of upgrade forced by sevntu
2017-05-30 13:40:00 -04:00
Michael Andre Pearce b8ebe05775 ARTEMIS-1188: Update sevntu to 1.24.0 available in maven central
remove custom repo
update groupid to match artifact in maven central.
bump version also to that now deployed to maven central.
bump checkstyle version to 7.7 to make compatible.

updated checkstyle.xml to ignore existing issues which are prolific 
which are now flagged in latest version as some bugs in previous meant they we'ren't detected e.g. https://github.com/checkstyle/checkstyle/issues/3320

fixing some violations which are not too prolific.
2017-05-30 09:54:17 -04:00
Clebert Suconic dc26ac96b4 ARTEMIS-1156: moving our collections on its own package 2017-05-12 10:06:05 -04:00
Clebert Suconic ce61d20f5a [maven-release-plugin] prepare for next development iteration 2017-05-08 15:20:12 -04:00
Clebert Suconic 64e8f015ee [maven-release-plugin] prepare release 2.1.0 2017-05-08 15:20:01 -04:00
Clebert Suconic c53f6168c9 ARTEMIS-898 Documenting where to add the plugin jar 2017-05-08 14:52:27 -04:00
Francesco Nigro 21c9ed85cf ARTEMIS-1151 Adapting TimedBuffer and NIO Buffer Pooling
- NIO/ASYNCIO new TimedBuffer with adapting batch window heuristic
- NIO/ASYNCIO improved TimedBuffer write monitoring with
  lightweight concurrent performance counters
- NIO/ASYNCIO journal/paging operations benefit from less buffer copy
- NIO/ASYNCIO any buffer copy is always performed with raw batch copy
  using SIMD instrinsics (System::arrayCopy) or memcpy under the hood
- NIO improved clear buffers using SIMD instrinsics (Arrays::fill) and/or memset
- NIO journal operation perform by default TLABs allocation pooling (off heap)
  retaining only the last max sized buffer
- NIO improved file copy operations using zero-copy FileChannel::transfertTo
- NIO improved zeroing using pooled single OS page buffer to clean the file
  + pwrite (on Linux)
- NIO deterministic release of unpooled direct buffers to avoid OOM errors
  due to slow GC
- Exposed OS PAGE SIZE value using Env class
2017-05-08 11:55:28 -04:00
Clebert Suconic 36c9659279 [maven-release-plugin] prepare for next development iteration 2017-05-05 22:11:09 -04:00
Clebert Suconic 7b5082639f [maven-release-plugin] prepare release 2.1.0 2017-05-05 22:10:58 -04:00
Clebert Suconic 7c96ab6bd7 ARTEMIS-1150 fixing logging with spaces on windows service 2017-05-05 18:01:33 -04:00
Clebert Suconic a915e8b904 ARTEMIS-1150 Fixing logging with spaces 2017-05-05 16:08:30 -04:00
Clebert Suconic c253aa65bf NO-JIRA: Trivial fix for Artemis class, reported by coverity.com 2017-05-05 14:55:57 -04:00
Clebert Suconic b94a09feb6 ARTEMIS-1144 Changing jetty logger to warn only 2017-05-05 09:46:27 -04:00
Clebert Suconic 92c84a1699 ARTEMIS-904 Fixing server running 2017-05-04 21:42:40 -04:00
Bennet Schulz f82623a20c ARTEMIS-904 Remove cyclic dependencies from artemis-cli
move classes and methods to their correct location to avoid cyclic dependencies between packages and classes.

ARTEMIS-904 Remove cyclic dependencies from artemis-cli

move classes and methods to their correct location to avoid cyclic dependencies between packages and classes.

ARTEMIS-904 Remove cyclic dependencies from artemis-cli

move classes and methods to their correct location to avoid cyclic dependencies between packages and classes.
2017-05-04 10:25:06 -05:00
Jiri Danek abf0aa8f0c NO-JIRA update `artemis create` samples in README.html and using-server.md 2017-04-28 12:49:14 -04:00
Clebert Suconic 4e59c174ff ARTEMIS-1096 Fixing configuration issues on calculated global-max-page 2017-04-11 14:06:44 -04:00
Clebert Suconic cbe3621431 ARTEMIS-1096 Changing Global Max Size's default 2017-04-06 19:55:09 -05:00
Clebert Suconic c767e93bf5 ARTEMIS-1089 Simplifying smoke tests 2017-04-05 15:55:09 -04:00
Andy Taylor 8b9cb2181c update jolokia war to remove version in binary 2017-04-03 14:28:02 +01:00
Clebert Suconic 9bef242b74 ARTEMIS-1056 Adjusting Acceptor values
I have been doing tests with quiver at large message sizes
the tests would work really slowly without these fixes
2017-03-30 09:54:26 +01:00
Justin Bertram 0f468fe07c ARTEMIS-1079 don't ask for role, address-full-policy, or global-max-size on CLI 2017-03-29 16:00:26 -04:00
Justin Bertram 6e56d2b336 ARTEMIS-1079 CLI option for paging/blocking 2017-03-29 09:46:03 -04:00
Clebert Suconic 3c8bf6cd13 ARTEMIS-1072: moving java-opts to /etc/artemis.profile 2017-03-27 21:59:33 -05:00
Clebert Suconic dc25ff0e42 ARTEMIS-1073 Adding configuration for Producer's credits on AMQP 2017-03-27 16:27:24 -04:00
Clebert Suconic 096556f346 ARTEMIS-994 Tidy up on epoll
- improved logging
- renamed properties and tidy up on configurations
2017-03-23 18:16:48 -05:00
Francesco Nigro 02561f23b4 ARTEMIS-1054 JVM Monitoring pauses logs 2017-03-22 23:33:25 -04:00
Clebert Suconic 64523cd7ea ARTEMIS-1047 Improving GC Settings 2017-03-21 08:50:54 +00:00
Martyn Taylor c40823e5ec [maven-release-plugin] prepare for next development iteration 2017-03-10 14:54:33 +00:00
Martyn Taylor 70e319d6e3 [maven-release-plugin] prepare release 2.0.0 2017-03-10 14:52:26 +00:00
Martyn Taylor f1a5f1caf9 Revert "[maven-release-plugin] prepare release 2.0.0"
This reverts commit 057047499b.
2017-03-10 14:45:29 +00:00
Martyn Taylor 1964abe567 Revert "[maven-release-plugin] prepare for next development iteration"
This reverts commit 9a52f51c9f.
2017-03-10 14:44:58 +00:00
Martyn Taylor 9a52f51c9f [maven-release-plugin] prepare for next development iteration 2017-03-10 11:36:36 +00:00
Martyn Taylor 057047499b [maven-release-plugin] prepare release 2.0.0 2017-03-10 11:25:47 +00:00
Clebert Suconic fe0ca4d84f ARTEMIS-1009 Pure Message Encoding.
with this we could send and receive message in their raw format,
without requiring conversions to Core.

- MessageImpl and ServerMessage are removed as part of this
- AMQPMessage and CoreMessage will have the specialized message format for each protocol
- The protocol manager is now responsible to send the message
- The message will provide an encoder for journal and paging
2017-03-05 23:08:53 -05:00
Andy Taylor 2b369f9ef9 ARTEMIS-1008 - Allow web server host to be set on create
https://issues.apache.org/jira/browse/ARTEMIS-1008
2017-03-01 10:19:49 +00:00
Justin Bertram ef8f992ca2 ARTEMIS-991 handle odd password input 2017-02-23 14:52:45 -05:00
Justin Bertram 01465035c0 ARTEMIS-970 handle indeterminate JMS destination 2017-02-23 12:55:27 -05:00
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