Commit Graph

10041 Commits

Author SHA1 Message Date
Domenico Francesco Bruscino 350ede619d ARTEMIS-4364 Upgrade johnzon version to 1.2.21 2023-07-17 10:40:34 -05:00
Thorsten Hirsch 95c8821044 ARTEMIS-4310 Add Alpine/Java17 based Docker image
This new Dockerfile uses Alpine Linux as base image, so the resulting image is smaller. Also, it makes use of Java 17.
2023-07-15 12:04:06 -05:00
Gary Tully f5251bc5cb ARTEMIS-4356 ensure match regexp expression is anchored on eot to avoid partial matches in error 2023-07-14 20:48:19 +01:00
Dries Harnie aebdcc5eb8 NO-JIRA: Fix spelling and grammar of two audit log messages 2023-07-14 10:00:26 -05:00
Justin Bertram cce565e78f ARTEMIS-4353 clean up Maven dependencies
This commit contains the following changes:
 - eliminate used, undeclared dependencies
 - eliminate unused, declared dependencies
 - fix scope for test dependencies
 - eliminate org.hamcrest completely as its use involved deprecated code
   as well as dependencies from multiple versions
2023-07-14 14:03:41 +01:00
a181321 68e400b45c ARTEMIS-4184 Bidges with concurrency not cleared properly on config reload 2023-07-13 16:16:08 -04:00
Clebert Suconic b967e6d940 ARTEMIS-4362 Produce log.warn when the system cannot depage because of pending acks 2023-07-13 16:15:45 -04:00
Domenico Francesco Bruscino 451d03fd75 ARTEMIS-4332 Add management method to close stuck server sessions
In rare cases a store operation could silently fails or starves, blocking the
related server session and all delivering messages. Those server sessions can
be closed adding a management method that cleans their operation context
before closing them.
2023-07-13 10:32:14 -04:00
Domenico Francesco Bruscino b4230c62bf ARTEMIS-4332 Add store operation trackers 2023-07-13 10:32:14 -04:00
Robbie Gemmell 187ae9daec ARTEMIS-4363: Update to Qpid JMS 1.10.0 2023-07-13 14:40:22 +01:00
Clebert Suconic bf9654e1fd ARTEMIS-4360 Moving skipCompatibilityTests property inside ./compatibility-tests/pom.xml 2023-07-13 07:02:15 -04:00
Clebert Suconic b088cdc65a NO-JIRA removing not used skipRestTests
the use of skipRestTests is gone with the removal of the rest module a few months ago.
This is just a simple cleanup of its left over and it is dead code.
2023-07-12 15:35:58 -04:00
Clebert Suconic 8429b8a4ab ARTEMIS-4360 removing skipCompatibilityTests from fast-tests 2023-07-12 15:35:05 -04:00
Clebert Suconic c9f2f53b88 ARTEMIS-4360 Make compatibility-tests opt in with -Pcompatibility-tests 2023-07-12 12:46:15 -04:00
Robbie Gemmell a3c01257af ARTEMIS-4331: update to jgroups 5.2.16, adjust deps to exclude BM 2023-07-11 12:31:34 -05:00
Justin Bertram b198a9db7f ARTEMIS-4358 upgrade commons-configuration2
Version 2.9.0 of commons-configuration2 now includes commons-text 1.10.0
so the dependencies can be simplified.
2023-07-11 10:12:37 +01:00
Clebert Suconic d584d01131 ARTEMIS-4323 Keeping surefire at version 2.22.2 until a possible memory leak is finished
At the time when we upgraded to latest the testsuite could not complete with a single run
as many instances of https://github.com/apache/maven-surefire/blob/master/surefire-api/src/main/java/org/apache/maven/surefire/api/util/internal/ClassMethod.java were created.

A thread was created within Maven user's forum: https://lists.apache.org/thread/6mzhr2pom7rmz96css49n8pk642cxkqf

surefire should be upgraded in a near future as part of ARTEMIS-4359
2023-07-10 17:35:09 -04:00
Clebert Suconic 420f386fd2 ARTEMIS-4357 Replacing logger(222188).warn by a logger.debug 2023-07-10 11:30:43 -05:00
Clebert Suconic 6ee27224a5 ARTEMIS-4352 Avod Deadlock in case the SecurityManager is reusing the Netty executor.
If the Security Manager is using Netty, and in particular the same Netty connection,
you could run into a deadlock / starvation.

This is particularly true in the Wildfly case where they reuse the same connection for everything via XNIO.
2023-07-10 11:00:19 -04:00
Clebert Suconic 36a20dbf76 ARTEMIS-4348 Parse connectors on broker.xml for default URI 2023-07-07 17:32:17 -04:00
Robbie Gemmell 44b1027b38 ARTEMIS-4340: ThreadLocalByteBufferPool should clear position+limit before zeroing buffer 2023-07-07 12:41:14 -04:00
Gary Tully 1ef88b3105 ARTEMIS-4351 suppress verbose info logging from console authenticator filter 2023-07-07 13:13:48 +01:00
Justin Bertram 4b91d1d57e ARTEMIS-4318 migrate to Airline 2
The "Airline" library we're currently using is deprecated according the
GitHub project - https://github.com/airlift/airline. It recommends using
either Airline 2 or Picocli. The former offers the simplest migration
path as it's almost completely compatible with the current code. This
commit implements that migration.
2023-07-06 09:36:09 -04:00
Justin Bertram 2d1a8661fd ARTEMIS-4338 STOMP inoperable w/resource audit logging
When resource audit logging is enabled STOMP is completely inoperable
due to an NPE during the protocol handshake. Unfortunately the failure
is completely silent. There are no logs to indicate a problem.

This commit fixes this problem via the following changes:
 - Mitigate the original NPE via a check for null
 - Move the logic necessary to set the "protocol connection" on the
   "transport connection" to a class shared by all implementations.
 - Add exception handling to log failures like this in the future.
 - Add tests to ensure the audit logging is correct.
2023-07-06 12:08:16 +01:00
Justin Bertram d5213e66c1 NO-JIRA test STOMP client not disconnecting properly 2023-07-06 12:08:16 +01:00
Justin Bertram f279eede60 NO-JIRA smoke tests hanging on termination 2023-07-06 12:08:16 +01:00
Gary Tully 196e479ae8 NO-JIRA additional test for status json with and without server 2023-07-06 09:39:53 +01:00
Justin Bertram 092f154963 ARTEMIS-4347 upgrade Keycloak in security example 2023-07-06 09:30:52 +01:00
Artyom Tarasenko fb4c68681e ARTEMIS-4095: fix delivering message size accounting
Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com>
2023-07-05 12:35:33 -05:00
Robbie Gemmell 5b86f8d59e ARTEMIS-4346: move stomp test client to artemis-test-support systest helper module 2023-07-05 09:52:48 -05:00
Robbie Gemmell cb9e1fedc8 ARTEMIS-4345: update to Error Prone 2.20.0 and fix up new errors 2023-07-05 09:40:24 +01:00
Justin Bertram f60a7d5c04 ARTEMIS-4341 refactor JavaDoc generation
Currently JavaDoc is generated for many classes that don't need it.
JavaDoc should be reserved for user-facing classes (e.g. those used by
client application developers and developers embedding a broker into
their application). This commit narrows down the configuration to just
the classes that are needed. This will save time during release builds,
and save disk space wherever these files are stored (e.g. Apache
website).
2023-07-04 18:00:42 +01:00
Robbie Gemmell b310de1df3 ARTEMIS-4344: update to Jacoco 0.8.10 2023-07-04 11:38:25 +01:00
Robbie Gemmell 8e1564dfb3 ARTEMIS-4343: update to Mockito 5.4.0 2023-07-04 11:36:31 +01:00
Robbie Gemmell 39b3fd2d2e ARTEMIS-4342: update to Groovy 4.0.13 2023-07-04 11:33:30 +01:00
Robbie Gemmell 323b080888 ARTEMIS-4323: remove superfluous maven-install-plugin entries, stop warnings
It is a core plugin so still present, but v3.0.0+ no longer supports the createChecksum config and generates warnings on newer maven 3.9+ releases
2023-07-03 12:39:45 +01:00
Domenico Francesco Bruscino 55452213a7 ARTEMIS-4335 Upgrade bcprov to bcprov-jdk18on:1.75 in security-ldap 2023-07-03 11:22:47 +01:00
Domenico Francesco Bruscino fef7c147eb ARTEMIS-4336 Upgrade mockserver version to 5.15.0 2023-06-27 17:39:41 +01:00
Domenico Francesco Bruscino 247263c12c ARTEMIS-4335 Upgrade bcprov to bcprov-jdk18on:1.75 2023-06-27 17:39:41 +01:00
Justin Bertram b82419634a ARTEMIS-4328 add timeout to test which can hang
`org.apache.activemq.artemis.core.server.embedded.MainTest` expects the
broker to throw a `java.io.IOException` when it is started due to its
inability to find the file app/data/server.lock. However, if that files
just happens to exist then the test will simply hang indefinitely. This
commit adds a timeout to avoid hanging.
2023-06-26 12:12:59 +01:00
Robbie Gemmell e59fb0233e ARTEMIS-4334: move artemis-website into the release profile since it now does nothing outwith it 2023-06-26 11:30:58 +01:00
Robbie Gemmell 4e9f5fd3aa ARTEMIS-4334: update assembly scripts handling, exclude some that can be generated earlier by artemis-website build 2023-06-26 11:30:21 +01:00
Robbie Gemmell db18db6a7f ARTEMIS-4334: remove old assembly placeholder content+build from artemis-website, the assembly no longer uses the module 2023-06-26 11:29:05 +01:00
iamgd67 e15bc1b35f NO-JIRA: fix typos/wording in key-differences.md and authentication.md
This closes #4525
2023-06-26 09:56:23 +01:00
Domenico Francesco Bruscino 137e1ed52d ARTEMIS-4333 Document web SNI settings 2023-06-26 09:48:02 +01:00
Robbie Gemmell 57602a94ff ARTEMIS-4329: use standard location for RAT check output 2023-06-23 15:25:13 +01:00
Gary Tully a76e9f81d2 Revert "ARTEMIS-4314 Small Tweak: using executor directly if no delay"
This reverts commit c6a82ff95e.
2023-06-22 15:40:45 +01:00
Justin Bertram a6fea084ed ARTEMIS-4323 upgrade to Apache parent 30 2023-06-22 13:42:24 +01:00
Justin Bertram 950040b62b ARTEMIS-4322 BundleFactory should use PrivilegedAction 2023-06-22 09:35:05 +01:00
Justin Bertram dc4bf953e3 ARTEMIS-4319 mitigate NPE in paging log statement
Also improves the wording of some several related statements.
2023-06-21 17:42:45 +01:00