Fix additional links
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/MemoryMappedFileManager.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/MemoryMappedFileManager.java
index ad4fa76..12ec5de 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/MemoryMappedFileManager.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/MemoryMappedFileManager.java
@@ -47,9 +47,7 @@
* http://www.codeproject.com/Tips/683614/Things-to-Know-about-Memory-Mapped-File-in-Java</a>
* @see <a href="https://bugs.openjdk.org/browse/JDK-6893654">JDK-6893654</a>
* @see <a href="https://bugs.openjdk.org/browse/JDK-4724038">JDK-4724038</a>
- * @see <a
- * href="http://stackoverflow.com/questions/9261316/memory-mapped-mappedbytebuffer-or-direct-bytebuffer-for-db-implementation">
- * http://stackoverflow.com/questions/9261316/memory-mapped-mappedbytebuffer-or-direct-bytebuffer-for-db-implementation</a>
+ * @see <a href="https://stackoverflow.com/q/9261316/11748454">Memory-Mapped MappedByteBuffer or Direct ByteBuffer for DB Implementation?</a>
*
* @since 2.1
*/
diff --git a/src/changelog/2.10.0/.release-notes.adoc.ftl b/src/changelog/2.10.0/.release-notes.adoc.ftl
index a415042..ea473ca 100644
--- a/src/changelog/2.10.0/.release-notes.adoc.ftl
+++ b/src/changelog/2.10.0/.release-notes.adoc.ftl
@@ -56,7 +56,9 @@
During testing of the release it was found that one unit test fails when run on Windows.
When building from source either use `mvn clean install -DskipTests` on Windows or run the build on a different operating system.
The unit test failure is a problem in the test, not in Log4j.
-As always, pre-built distributions can be downloaded from http://www.apache.org/dist/logging/log4j/[] or the binaries JARs may be obtained from the Maven central repository.
+As always, pre-built distributions can be downloaded from
+https://downloads.apache.org/logging/log4j/[]
+or the binaries JARs may be obtained from the Maven central repository.
Note that subsequent to the 2.9.0 release, for security reasons, `SerializedLayout` is deprecated and no longer used as default in the Socket and JMS appenders.
`SerializedLayout` can still be used as before, but has to be specified explicitly.
diff --git a/src/changelog/2.22.0/.release-notes.adoc.ftl b/src/changelog/2.22.0/.release-notes.adoc.ftl
index 2aa9ae6..39123b2 100644
--- a/src/changelog/2.22.0/.release-notes.adoc.ftl
+++ b/src/changelog/2.22.0/.release-notes.adoc.ftl
@@ -21,7 +21,7 @@
<#if release.date?has_content>Release date:: ${release.date}</#if>
:cyclonedx-sbom-link: https://cyclonedx.org/capabilities/sbom/[CycloneDX Software Bill of Materials (SBOM)]
-:cyclonedx-vdr-link: https://cyclonedx.org/capabilities/vdr[CycloneDX Vulnerability Disclosure Report (VDR)]
+:cyclonedx-vdr-link: https://cyclonedx.org/capabilities/vdr/[CycloneDX Vulnerability Disclosure Report (VDR)]
This releases provides a {cyclonedx-sbom-link} along with each artifact and contains bug fixes addressing issues in the JPMS & OSGi infrastructure overhauled in `2.21.0`, dependency updates, and some other minor fixes and improvements.
diff --git a/src/site/antora/modules/ROOT/pages/log4j-docker.adoc b/src/site/antora/modules/ROOT/pages/log4j-docker.adoc
index 3f21b93..a346c8e 100644
--- a/src/site/antora/modules/ROOT/pages/log4j-docker.adoc
+++ b/src/site/antora/modules/ROOT/pages/log4j-docker.adoc
@@ -17,7 +17,7 @@
= Log4j Docker
-Log4j Docker module offers https://docker.com[Docker]-specific utilities.
+Log4j Docker module offers https://www.docker.com/[Docker]-specific utilities.
[#install]
== Installation
diff --git a/src/site/antora/modules/ROOT/pages/manual/appenders.adoc b/src/site/antora/modules/ROOT/pages/manual/appenders.adoc
index 0c0d6cd..bb20bda 100644
--- a/src/site/antora/modules/ROOT/pages/manual/appenders.adoc
+++ b/src/site/antora/modules/ROOT/pages/manual/appenders.adoc
@@ -292,7 +292,8 @@
[#CassandraAppender]
=== CassandraAppender
-The CassandraAppender writes its output to an https://cassandra.apache.org/[Apache Cassandra]
+The CassandraAppender writes its output to an
+https://cassandra.apache.org/_/index.html[Apache Cassandra]
database.
A keyspace and table must be configured ahead of time, and the columns of that table are mapped in a configuration file.
Each column can specify either a xref:manual/pattern-layout.adoc[]https://logging.apache.org/log4j/2.x/manual/layouts.html#PatternLayout[StringLayout] (e.g., a PatternLayout) along with an optional conversion type, or only a conversion type for `org.apache.logging.log4j.spi.ThreadContextMap` or
@@ -2171,7 +2172,7 @@
in the format `mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[database.collection][?options]]`.
|capped |boolean |Enable support for
-https://docs.mongodb.com/manual/core/capped-collections/[capped
+https://www.mongodb.com/docs/manual/core/capped-collections/[capped
collections]
|collectionSize |long |Specify the size in bytes of the capped collection
@@ -4362,7 +4363,7 @@
default is 0 (infinite timeout, like `Socket.connect()` methods).
|enterpriseNumber |integer |The IANA enterprise number as described in
-http://tools.ietf.org/html/rfc5424#section-7.2.2[RFC 5424]
+https://datatracker.ietf.org/doc/html/rfc5424#section-7.2.2[RFC 5424]
|filter |Filter |A Filter to determine if the event should be handled by
this Appender. More than one Filter may be used by using a
diff --git a/src/site/antora/modules/ROOT/pages/manual/installation.adoc b/src/site/antora/modules/ROOT/pages/manual/installation.adoc
index 2c1e214..f65cf7c 100644
--- a/src/site/antora/modules/ROOT/pages/manual/installation.adoc
+++ b/src/site/antora/modules/ROOT/pages/manual/installation.adoc
@@ -16,7 +16,7 @@
////
:jpl-link: https://openjdk.org/jeps/264[JPL (Java Platform Logging)]
-:jul-link: https://docs.oracle.com/en/java/javase/{java-target-version}/core/java-logging-overview.html[JUL (Java Logging)]
+:jul-link: https://docs.oracle.com/javase/{java-target-version}/docs/technotes/guides/logging/overview.html[JUL (Java Logging)]
= Installation
diff --git a/src/site/antora/modules/ROOT/pages/manual/json-template-layout.adoc b/src/site/antora/modules/ROOT/pages/manual/json-template-layout.adoc
index 2b36a61..d1bf2c3 100644
--- a/src/site/antora/modules/ROOT/pages/manual/json-template-layout.adoc
+++ b/src/site/antora/modules/ROOT/pages/manual/json-template-layout.adoc
@@ -471,7 +471,7 @@
Models https://github.com/logstash/log4j-jsonevent-layout[Logstash `json_event` pattern for Log4j]
{project-github-url}/tree/2.x/log4j-layout-template-json/src/main/resources/GelfLayout.json[`GelfLayout.json`]::
-Models https://docs.graylog.org/en/3.1/pages/gelf.html#gelf-payload-specification[the Graylog Extended Log Format (GELF) payload specification] with additional `_thread` and `_logger` fields.
+Models https://go2docs.graylog.org/current/getting_in_log_data/gelf.html#GELFPayloadSpecification[the Graylog Extended Log Format (GELF) payload specification] with additional `_thread` and `_logger` fields.
+
[TIP]
====
diff --git a/src/site/antora/modules/ROOT/pages/soa.adoc b/src/site/antora/modules/ROOT/pages/soa.adoc
index 636dd50..75f6147 100644
--- a/src/site/antora/modules/ROOT/pages/soa.adoc
+++ b/src/site/antora/modules/ROOT/pages/soa.adoc
@@ -81,7 +81,8 @@
* A *library* can act as proxy.
It can tap into the logging API and forward it to an external service.
-For instance, https://docs.datadoghq.com/logs/log_collection/java[Datadog's Java Log Collector] uses this mechanism.
+For instance,
+https://docs.datadoghq.com/logs/log_collection/java/?tab=log4j2[Datadog's Java Log Collector] uses this mechanism.
* An external *service* can act as a proxy, which applications can write logs to.
For example, you can write to https://www.elastic.co/logstash[Logstash], a https://kubernetes.io/docs/concepts/cluster-administration/logging/#sidecar-container-with-a-logging-agent[Kubernetes logging agent sidecar], or a https://redis.io/glossary/redis-queue/[Redis queue] over a socket.
diff --git a/src/site/antora/modules/ROOT/partials/concepts.adoc b/src/site/antora/modules/ROOT/partials/concepts.adoc
index 57c3c4b..dfbab57 100644
--- a/src/site/antora/modules/ROOT/partials/concepts.adoc
+++ b/src/site/antora/modules/ROOT/partials/concepts.adoc
@@ -24,7 +24,7 @@
:jcl-link: https://commons.apache.org/proper/commons-logging/[JCL (Apache Commons Logging)]
:jpl-link: https://openjdk.org/jeps/264[JPL (Java Platform Logging)]
-:jul-link: https://docs.oracle.com/en/java/javase/{java-target-version}/core/java-logging-overview.html[JUL (Java Logging)]
+:jul-link: https://docs.oracle.com/javase/{java-target-version}/docs/technotes/guides/logging/overview.html[JUL (Java Logging)]
:jboss-logging-link: https://github.com/jboss-logging/jboss-logging[JBoss Logging]
// end::inc[]