Commit Graph

540 Commits

Author SHA1 Message Date
franz1981 b4532d944d ARTEMIS-2823 Use datasource with JDBC store db connections fixes
It add additional required fixes:
- Fixed uncommitted deleted tx records
- Fixed JDBC authorization on test
- Using property-based version for commons-dbcp2
- stopping thread pool after activation to allow JDBC lease locks to release the lock
- centralize JDBC network timeout configuration and save repeating it
- adding dbcp2 as the default pooled DataSource to be used
2020-10-06 10:19:06 +02:00
Mikko Uoti 2faafec737 ARTEMIS-2823 Use datasource with JDBC store db connections
Replaces direct jdbc connections with dbcp2 datasource. Adds
configuration options to use alternative datasources and to alter the
parameters. While adding slight overhead, this vastly improves the
management and pooling capabilities with db connections.
2020-10-06 08:32:58 +03:00
odidev 6666037935 ARTEMIS-2921 Upgrade to Netty 4.1.51.Final and netty-tcnative 2.0.33.Final
- Upgrade to netty 4.1.51.Final and netty-tcnative 2.0.33.Final for both security fixes and AArch64 performance improvements
- Refer release notes for detail:
  -https://netty.io/news/2020/05/13/4-1-50-Final.html
  -https://netty.io/news/2020/07/09/4-1-51-Final.html

Signed-off-by: odidev <odidev@puresoftware.com>
2020-09-30 17:47:02 +02:00
Domenico Francesco Bruscino f467bc0d55 NO-JIRA Fix PDF header and table of content
Override the default theme page.html of gitbook to fix the issue at
https://github.com/GitbookIO/theme-default/pull/80
2020-09-16 10:11:56 -04:00
Domenico Francesco Bruscino 32bf9680f2 [maven-release-plugin] prepare for next development iteration 2020-08-24 16:03:24 +02:00
Domenico Francesco Bruscino a549fcedde [maven-release-plugin] prepare release 2.15.0 2020-08-24 16:03:12 +02:00
Robbie Gemmell 178ccb004a ARTEMIS-2871: update to qpid-jms 0.54.0 2020-08-18 16:46:26 +01:00
Robbie Gemmell 3fdc9cf026 ARTEMIS-2871: update to proton-j 0.33.6 and qpid-jms 0.53.0 2020-08-13 09:30:56 +01:00
gtully c152f17818 no jira - exclude .p12 files from rat check 2020-07-23 14:42:50 +01:00
Clebert Suconic 6690ba1d24 [maven-release-plugin] prepare for next development iteration 2020-07-09 12:49:08 -04:00
Clebert Suconic a76f41a7ed [maven-release-plugin] prepare release 2.14.0 2020-07-09 12:48:54 -04:00
Robbie Gemmell 515dde9ef3 NO-JIRA: use a consistent version for the surefire and failsafe plugins from the parent, override to newer version 2020-06-22 14:04:48 -04:00
Clebert Suconic 0e0ebd19a4 ARTEMIS-2800 / ARTEMIS-2818 Upgrade Artemis Native
This is upgrading artemis native which has a fix to avoid a kernel bug in the fs/aio.c module
2020-06-22 12:43:30 -04:00
Robbie Gemmell 0f72455349 ARTEMIS-2109: add StaticQualifiedUsingExpression check in place of older removed StaticAccessedFromInstance, and fix error. 2020-06-17 16:31:09 -04:00
Robbie Gemmell 0a44416ba5 NO-JIRA: add a basic GitHub Actions build similar to the Travis job 2020-06-17 15:31:19 -04:00
Robbie Gemmell 548f868128 ARTEMIS-2109: fix ErrorProne compiler config to work on JDK8, and move into a specific profile.
On JDK8 Error Prone is activated on request. On JDK11+ it is still enabled by default. It is activated in CI for all JDKs.
2020-06-16 16:07:48 +01:00
Robbie Gemmell 61e920d010 ARTEMIS-2109: restore plugin versions removed in 6e2b5dc8f2 / #3183
The plugin-management provided 1.4.1 enforcer version can it seems interact oddly with the assembly plugin depending on what else is in use, leading to an NPE in some cases.
2020-06-15 18:04:52 +01:00
Robbie Gemmell 6e2b5dc8f2 ARTEMIS-2109: require JDK 8 for release, enforce use of JDK8 or 11+ otherwise, rename profiles for consistency and clarity, remove superflous/incorrect managed plugin versions
Update CI to only use the release profile for building examples on JDK8, use noRun profile otherwise. Does the exact same in terms of setting properties for the examples build, just doesnt engage the parent release profile which enforces JDK8.
2020-06-15 15:05:28 +01:00
Emmanuel Hugonnet f69f03a205 ARTEMIS-2109: updating mockito for Java 14 support and working round a javadoc issue 2020-06-11 18:50:01 +01:00
Robbie Gemmell d2c46762e8 ARTEMIS-2109: fix javadoc errors, remove doclint config for JDK8, remove superfluous plugin versions, update to 3.0.1 javadoc plugin
Using 3.0.1 like the current apache parent pom [not being used], and also as newer ones break build.
2020-06-11 18:50:01 +01:00
Emmanuel Hugonnet efe0f468de ARTEMIS-2109: Updating the build to be able to execute it on Java 11 and Java 8. 2020-06-11 18:50:01 +01:00
Robbie Gemmell 595b709677 ARTEMIS-2795: update to proton-j 0.33.5 and qpid-jms 0.52.0 2020-06-11 11:03:01 +01:00
Clebert Suconic faa83b2ba6 [maven-release-plugin] prepare for next development iteration 2020-05-16 18:38:47 -04:00
Clebert Suconic 5f49d89264 [maven-release-plugin] prepare release 2.13.0 2020-05-16 18:38:34 -04:00
Clebert Suconic c99fcd501b [maven-release-plugin] prepare for next development iteration 2020-05-15 16:42:54 -04:00
Clebert Suconic 47fafac760 [maven-release-plugin] prepare release 2.13.0 2020-05-15 16:42:41 -04:00
Robbie Gemmell ba31813cef ARTEMIS-2764: update to Qpid JMS 0.51.0 2020-05-14 10:45:25 -04:00
Clebert Suconic ea437db530 NO-JIRA ignoring .repository on ratReport
there's an option on Jenkins to use private repository,
which will create the repo files under .repository
this needs to be ignored
2020-04-28 21:48:21 -04:00
brusdev 70a465c398 ARTEMIS-2737 Update apache commons-text version to 1.8 2020-04-25 17:20:55 +02:00
Clebert Suconic 77d250bec8 ARTEMIS-2732 Bridging Apache Logger into JBoss Logging for the testsuite 2020-04-23 16:51:22 -04:00
Clebert Suconic 3541ebf218 ARTEMIS-2732 Cleanup on testsuite logging 2020-04-22 23:08:46 -04:00
Clebert Suconic 11a3e810bb [maven-release-plugin] prepare for next development iteration 2020-04-21 17:06:21 -04:00
Clebert Suconic 30272e0c2f [maven-release-plugin] prepare release 2.12.0 2020-04-21 17:06:08 -04:00
brusdev 4e44e56959 ARTEMIS-2727 Update netty version to 4.1.48.Final
Update netty version to 4.1.48.Final and netty-tcnative version to 2.0.29.Final.
2020-04-20 14:46:41 -04:00
Clebert Suconic 576e01dba6 ARTEMIS-2725 Implementing retries policy on tests 2020-04-20 11:41:20 -04:00
Clebert Suconic d231e2ac63 [maven-release-plugin] prepare for next development iteration 2020-04-16 16:16:41 -04:00
Clebert Suconic 9636f4a3b0 [maven-release-plugin] prepare release 2.12.0 2020-04-16 16:16:28 -04:00
brusdev 431bb87b03 ARTEMIS-2703 Update commons-configuration2 version to 2.7 2020-04-13 10:53:35 -04:00
Timothy Bish a22c3abf79 ARTEMIS-2653 Update proton-j to version 0.33.4 2020-04-08 15:41:44 -04:00
Federico Valeri 8cf35385a4 ARTEMIS-2608 Fix ClassCastException on binary properties conversion 2020-03-27 13:12:57 -04:00
Clebert Suconic f874a02d17 ARTEMIS-2673 PageStore should only be removed when Address is removed
& ARTEMIS-2674 AMQP should use a separate executor for IO
2020-03-23 20:02:17 -04:00
Robbie Gemmell e5e645a82d update to proton-j 0.33.3 and qpid-jms 0.50.0 2020-03-17 14:09:06 -04:00
Michael Pearce a60cb229dc ARTEMIS-1194 fixup maven dependencies 2020-03-07 22:04:03 +00:00
brusdev 622c0d61e8 ARTEMIS-2615 Update netty version to 4.1.45.Final
Update netty version to 4.1.45.Final and netty-tcnative version to 2.0.28.Final.
2020-02-05 15:25:31 -05:00
brusdev 7a087de266 ARTEMIS-2601 Update jetty version to 9.4.26.v20200117
Add required dependency org.apache.geronimo.specs:geronimo-jaspic_1.0_spec.
2020-01-27 12:50:35 +01:00
brusdev 52e3a0a347 ARTEMIS-2601 Update jetty version to 9.4.26.v20200117 2020-01-21 12:55:16 -05:00
brusdev caa19ab144 ARTEMIS-2598 Update netty version to 4.1.43.Final
Update netty version to 4.1.43.Final and netty-tcnative version to 2.0.26.Final.
Change restricted-security-client.policy because Netty 4.1.43.Final requires
access to two more files: /etc/os-release and /usr/lib/os-release.
2020-01-17 14:28:31 -05:00
brusdev 5e80a5c738 ARTEMIS-2600 Update mqtt-client version to 1.16 2020-01-17 13:31:54 +01:00
Justin Bertram 97735ca72c [maven-release-plugin] prepare for next development iteration 2020-01-10 09:00:58 -06:00
Justin Bertram 25a947f6cb [maven-release-plugin] prepare release 2.11.0 2020-01-10 08:57:46 -06:00
Dmitry Volodin b88cd2873e Fix RAT plugin warnings for built .NET examples 2020-01-02 20:38:55 -06:00
Clebert Suconic 44209c089a ARTEMIS-2573 Removing tcpnative dependency from distribution 2019-12-11 11:53:10 -05:00
Justin Bertram 4a4442ed56 NO-JIRA checkstyle upgrade 2019-11-05 16:06:48 -05:00
Clebert Suconic 5e7dddd969 ARTEMIS-2530 Upgrade ActiveMQ Artemis Native 1.0.1 2019-10-29 16:22:50 -04:00
michael.pearce 143e401bdb ARTEMIS-2509 Add some basic support for legacy openwire
This is needed to aid some lift and shift migration from activemq5 where non-java clients have support for older openwire protocols.

(cherry picked from commit d497cb6205a5bdbd508d18bead8f9e8e39d6b1ba)
2019-10-01 10:14:40 +01:00
Clebert Suconic 91f4d0a633 [maven-release-plugin] prepare for next development iteration 2019-09-23 11:19:54 -04:00
Clebert Suconic 86a975fdad [maven-release-plugin] prepare release 2.10.1 2019-09-23 11:19:42 -04:00
Rico Neubauer 4a01e840bf [ARTEMIS-2487] Updated to org.jctools:jctools-core:2.1.2
To resolve wrong import range due to wrong declaration in
jctools-core:2.1.1
2019-09-13 15:21:07 -04:00
Jan Boehm 39fe4fd9ef Updated Apache BeanUtils to address CVE
1.9.4 is a minor update do address CVE-2014-0114:
http://commons.apache.org/proper/commons-beanutils/javadocs/v1.9.4/RELEASE-NOTES.txt
2019-09-04 12:09:54 +02:00
Clebert Suconic 5016f69daa [maven-release-plugin] prepare for next development iteration 2019-08-26 10:42:13 -04:00
Clebert Suconic f092d5396a [maven-release-plugin] prepare release 2.10.0 2019-08-26 10:42:01 -04:00
Clebert Suconic 18e656cbea ARTEMIS-2461 Updating qpid-jms as 0.45 2019-08-26 09:54:33 -04:00
yang wei 76d420590f ARTEMIS-2399 Improve performance when there are a lot of subscribers 2019-08-19 16:43:44 +01:00
Timothy Bish 448f72738b ARTEMIS-2437 Allow extended types in annotations in AMQP to Core
When converting from AMQP to core and back again support annotations that
aren't able to be placed into Core message properties by storing the bytes
from encoding the types to AMQP encodings and then decoding them again
when converting back into AMQP messages.

Requires update to proton-j 0.33.2 for encoding fix
2019-08-18 22:13:35 -04:00
Clebert Suconic 2d7d714260 ARTEMIS-2428 Exposing timeout on configuration and changing it to 0 on the testsuite 2019-07-19 12:09:23 -04:00
Justin Bertram af12cd7fdf ARTEMIS-2363 upgrade Spring dependency 2019-07-16 12:56:36 -04:00
Justin Bertram 5896dcc6fb NO-JIRA update Wildfly Common 2019-06-27 10:09:01 -05:00
Francesco Nigro 417ee543fd ARTEMIS-2354 Fix compilation issues on JDK 8
This reverts partially commit f8d3a8f2 to include only
the changes that makes possible to run tests with JDK 11:
compile on JDK 11 is outside the scope of the issue.
JDK 11 compilation requires Karaf upgrade, that will
break compatibility with Aether on integration-tests.
2019-06-20 11:36:53 -04:00
Francesco Nigro f8d3a8f2f2 ARTEMIS-2354 Improve compatibillity of tests with JDK 11 2019-06-19 10:53:53 -05:00
Francesco Nigro fe3bebaa91 ARTEMIS-2379 AMQP: Update Qpid JMS and Proton-J to latest releases
Qpid JMS to 0.43.0 and proton-j to 0.33.1
2019-06-17 22:31:54 -04:00
brusdev f8b295b9b5 ARTEMIS-2383 Upgrade to Guava 24.1.1 2019-06-17 13:49:16 +02:00
Francesco Nigro bfe6b70c5a ARTEMIS-2374 JournalStorageManager::addBytesToLargeMessage leaks ByteBuffer 2019-06-10 15:52:58 +02:00
brusdev d708be3189 ARTEMIS-2359 Upgrade to Guava 24.1
CVE-2018-10237 guava: Unbounded memory allocation in AtomicDoubleArray
and CompoundOrdering classes allow remote attackers to cause a denial
of service.
2019-05-31 09:15:45 +02:00
Justin Bertram dbb2b54fa7 [maven-release-plugin] prepare for next development iteration 2019-05-29 22:02:00 -05:00
Justin Bertram 88c686cc99 [maven-release-plugin] prepare release 2.9.0 2019-05-29 21:59:18 -05:00
Justin Bertram 5768f6e2f3 ARTEMIS-2308 Support exporting metrics 2019-05-29 15:07:45 -04:00
Robbie Gemmell 4d526bf136 ARTEMIS-2351: update to proton-j 0.33.0 and qpid-jms 0.42.0 2019-05-22 14:54:21 +01:00
Clebert Suconic 2ae732cfc8 [maven-release-plugin] prepare for next development iteration 2019-05-16 09:58:27 -04:00
Clebert Suconic 481b9824a8 [maven-release-plugin] prepare release 2.8.1 2019-05-16 09:58:15 -04:00
Francesco Nigro f2bac5ad08 ARTEMIS-2321 Non-blocking Page::read on page cache 2019-05-13 12:20:22 -04:00
Emmanuel Hugonnet ee7d5bd0f1 ARTEMIS-2319 Upgrading jboss-logging dependencies
* Upgrading versions
* Adding wildfly-common dependency as jboss-logmanager now depends on it
for simple common operations such as getting hostname or process id
* Updating bootclasspath with wildfly-common
2019-05-07 16:13:48 -04:00
Clebert Suconic 56152a9e7c [maven-release-plugin] prepare for next development iteration 2019-05-02 16:39:10 -04:00
Clebert Suconic a8e7f9d07a [maven-release-plugin] prepare release 2.8.0 2019-05-02 16:38:58 -04:00
Clebert Suconic 228f6af4ca [maven-release-plugin] prepare for next development iteration 2019-04-25 16:52:09 -04:00
Clebert Suconic 09d2ba18a7 [maven-release-plugin] prepare release 2.8.0 2019-04-25 16:51:57 -04:00
Clebert Suconic 3ca6eec90f Revert "ARTEMIS-2319 Upgrading jboss-logging dependencies"
This reverts commit ad2ecd77d2.

This was causing an issue when starting the server:

```
java.lang.NoClassDefFoundError: org/wildfly/common/net/HostName
	at org.jboss.logmanager.ExtLogRecord.<init>(ExtLogRecord.java:87)
	at org.jboss.logmanager.Logger.log(Logger.java:796)
	at org.jboss.logging.JBossLogManagerLogger.doLog(JBossLogManagerLogger.java:44)
	at org.jboss.logging.Logger.logv(Logger.java:2226)
	at org.apache.activemq.artemis.integration.bootstrap.ActiveMQBootstrapLogger_$logger.serverStarting(ActiveMQBootstrapLogger_$logger.java:35)
	at org.apache.activemq.artemis.integration.FileBroker.start(FileBroker.java:68)
	at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:85)
```
2019-04-25 11:42:26 -04:00
Emmanuel Hugonnet ad2ecd77d2 ARTEMIS-2319 Upgrading jboss-logging dependencies 2019-04-24 14:41:01 -04:00
Timothy Bish db3ce9edab ARTEMIS-2298 Update Qpid JMS and Proton-J to latest
Qpid JMS to 0.41.0 and proton-j to 0.32.0
2019-04-10 16:01:49 -04:00
Clebert Suconic 516b1a1b9f [maven-release-plugin] prepare for next development iteration 2019-03-14 12:41:04 -04:00
Clebert Suconic c3eb6c12ad [maven-release-plugin] prepare release 2.7.0 2019-03-14 12:40:52 -04:00
Emmanuel Hugonnet 824e0b6e7e NO-JIRA Adding tests over JMSBridge statistics 2019-03-14 12:10:35 -04:00
Michael André Pearce aa36f62c9f ARTEMIS-2271 - Upgrade to Netty Libs to Latest 4.1.34.FINAL
Also upgrade netty-tcnative along with it.
2019-03-08 17:41:36 +00:00
Clebert Suconic 061fb2787e ARTEMIS-1977 Stripping activemq-artemis as a separated proejct 2019-03-07 11:34:15 -05:00
Clebert Suconic d2df7b7e85 ARTEMIS-2246 Setting the max-disk-usage as 100 on the testsuite
This is to avoid issues with CI and Dev Machiens, while still preserving
a sensible default for production systems.
2019-02-07 15:07:49 -05:00
Justin Bertram 4a1fc61fcc ARTEMIS-2243 user/role ops for PropertiesLoginModule via mgmnt 2019-02-07 10:16:01 -05:00
Justin Bertram 4bff01e01c NO-JIRA update docs for gitbox 2019-01-31 09:42:12 -06:00
Clebert Suconic 02dcc9e37b NO-JIRA update shade plugin
We were hitting a bug on shade, where shade was trying to download our own sources
instead of using from the local built repository.
2019-01-22 09:40:44 -05:00
Timothy Bish 2ec53353a9 ARTEMIS-1938 Update Qpid JMS and proton-j to latest
Updates Qpid JMS to v0.39.0 and proton-j to v0.31.0
2018-12-12 13:34:35 -05:00
Timothy Bish 593348b9ad ARTEMIS-1938 Update proton-j to 0.30.0 and Qpid JMS 0.37.0
Update to latest proton-j release and refactor the dispostion code to use
the new type enums to better deal with the dispistions.  Updates to Qpid JMS
0.37.0 which still uses the current netty 4.1.28.Final dependency.
2018-11-15 20:18:37 -05:00
Sebastian Thomschke ee7cc82a4d NO-JIRA Prevent maven-source-plugin being executed twice
With the current Maven config, the maven-source-plugin is executed twice, this results in the sources-jars being attached twice which leads the deploy goal in trying to upload the same sources jars twice to the repository. This slows down the build process and also fails on repositories that disallow updating of existing artifacts.

Additionally the "jar" goal is now replaced with "jar-no-fork" which prevents the maven life cycle being executed twice too.
2018-11-14 15:48:57 +01:00