diff --git a/activemq-web-console/src/main/webapp/js/head.js b/activemq-web-console/src/main/webapp/js/head.js
new file mode 100644
index 00000000000..d78cd393e56
--- /dev/null
+++ b/activemq-web-console/src/main/webapp/js/head.js
@@ -0,0 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+window.onload = function () {
+ addEvent(window, 'load', prettyPrint)
+}
diff --git a/activemq-web-console/src/main/webapp/js/message.js b/activemq-web-console/src/main/webapp/js/message.js
new file mode 100644
index 00000000000..d45b70a4cb7
--- /dev/null
+++ b/activemq-web-console/src/main/webapp/js/message.js
@@ -0,0 +1,78 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+function sortSelect(selElem) {
+ const tmpAry = [];
+ for (var i=0;i 0) {
+ selElem.options[0] = null;
+ }
+ for (var i=0;iApache ActiveMQ - Login
-
-
-
-
+
@@ -54,10 +48,10 @@
diff --git a/activemq-web-console/src/main/webapp/message.jsp b/activemq-web-console/src/main/webapp/message.jsp
index 132d596d685..02f43fc5a81 100644
--- a/activemq-web-console/src/main/webapp/message.jsp
+++ b/activemq-web-console/src/main/webapp/message.jsp
@@ -133,8 +133,16 @@ No message could be found for ID
+
+
+
+
+
+
+
-
" onclick="return confirm('Are you sure you want to delete the message?')" >Delete
+
">Delete
@@ -146,12 +154,12 @@ No message could be found for ID
"
onclick="return confirm('Are you sure you want to retry this message?')"
- title="Retry - attempt reprocessing on original destination">Retry
+ title="Retry - attempt reprocessing on original destination">Retry
diff --git a/activemq-web-console/src/main/webapp/styles/head.css b/activemq-web-console/src/main/webapp/styles/head.css
new file mode 100644
index 00000000000..9f46a641c29
--- /dev/null
+++ b/activemq-web-console/src/main/webapp/styles/head.css
@@ -0,0 +1,26 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/* ===================================================== */
+/* Single place to import all css files used in head.jsp */
+/* ===================================================== */
+
+@import url('sorttable.css');
+@import url('type-settings.css');
+@import url('site.css');
+@import url('prettify.css');
+@import url('header.css');
\ No newline at end of file
diff --git a/activemq-web-console/src/main/webapp/styles/header.css b/activemq-web-console/src/main/webapp/styles/header.css
new file mode 100644
index 00000000000..6b74b63ce03
--- /dev/null
+++ b/activemq-web-console/src/main/webapp/styles/header.css
@@ -0,0 +1,46 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/* ============================== */
+/* Styles used in header.jsp */
+/* ============================== */
+
+.header-logo-active-mq {
+ float:left;
+ width:280px;
+ display:block;
+ text-indent:-5000px;
+ text-decoration:none;
+ line-height:60px;
+ margin-top:10px;
+ margin-left:100px;
+}
+
+.header-logo-apache {
+ float:right;
+ width:210px;
+ display:block;
+ text-indent:-5000px;
+ text-decoration:none;
+ line-height:60px;
+ margin-top:15px;
+ margin-right:10px
+}
+
+.body-container {
+ overflow:hidden;
+}
\ No newline at end of file
diff --git a/activemq-web-console/src/main/webapp/styles/site.css b/activemq-web-console/src/main/webapp/styles/site.css
index 6ebcd0347ad..687a81bd723 100644
--- a/activemq-web-console/src/main/webapp/styles/site.css
+++ b/activemq-web-console/src/main/webapp/styles/site.css
@@ -19,6 +19,10 @@ body {
padding: 20px;
}
+.section-container {
+ margin-top: 5em
+}
+
/* ====================================================== */
/* Rounded Box Styles */
/* ====================================================== */
diff --git a/activemq-web-console/src/main/webapp/xml/queues.jsp b/activemq-web-console/src/main/webapp/xml/queues.jsp
index 4e2ba876875..c7382a149a6 100644
--- a/activemq-web-console/src/main/webapp/xml/queues.jsp
+++ b/activemq-web-console/src/main/webapp/xml/queues.jsp
@@ -20,13 +20,10 @@
">
-
-
-
diff --git a/activemq-web-demo/pom.xml b/activemq-web-demo/pom.xml
index 4d3f6d73118..5fe703ade64 100644
--- a/activemq-web-demo/pom.xml
+++ b/activemq-web-demo/pom.xml
@@ -22,7 +22,7 @@
org.apache.activemqactivemq-parent
- 5.19.1-TT.5-SNAPSHOT
+ 5.19.2-TT.1-SNAPSHOTactivemq-web-demo
diff --git a/activemq-web/pom.xml b/activemq-web/pom.xml
index b22f976da66..326c3f6cb83 100644
--- a/activemq-web/pom.xml
+++ b/activemq-web/pom.xml
@@ -22,7 +22,7 @@
org.apache.activemqactivemq-parent
- 5.19.1-TT.5-SNAPSHOT
+ 5.19.2-TT.1-SNAPSHOTactivemq-web
diff --git a/activemq-web/src/main/java/org/apache/activemq/web/MessageServletSupport.java b/activemq-web/src/main/java/org/apache/activemq/web/MessageServletSupport.java
index d038295f9f2..643f2deb180 100644
--- a/activemq-web/src/main/java/org/apache/activemq/web/MessageServletSupport.java
+++ b/activemq-web/src/main/java/org/apache/activemq/web/MessageServletSupport.java
@@ -358,7 +358,7 @@ protected String getPostedMessageBody(HttpServletRequest request) throws IOExcep
if (answer == null && contentType != null && contentLengthLong > -1l) {
LOG.debug("Content-Type={} Content-Length={} maxMessageSize={}", contentType, contentLengthLong, maxMessageSize);
- if (contentLengthLong > maxMessageSize) {
+ if (maxMessageSize != -1 && contentLengthLong > maxMessageSize) {
LOG.warn("Message body exceeds max allowed size. Content-Type={} Content-Length={} maxMessageSize={}", contentType, contentLengthLong, maxMessageSize);
throw new IOException("Message body exceeds max allowed size");
}
@@ -397,6 +397,6 @@ protected String getSelector(HttpServletRequest request) throws IOException {
}
private boolean isMaxBodySizeExceeded(int totalRead, int expectedBodySize) {
- return totalRead < 0 || totalRead >= Integer.MAX_VALUE || totalRead >= maxMessageSize || totalRead > expectedBodySize;
+ return totalRead < 0 || totalRead == Integer.MAX_VALUE || (maxMessageSize != -1 && totalRead >= maxMessageSize) || totalRead > expectedBodySize;
}
}
diff --git a/assembly/pom.xml b/assembly/pom.xml
index 5515d034da4..d1f063d31cf 100644
--- a/assembly/pom.xml
+++ b/assembly/pom.xml
@@ -22,7 +22,7 @@
org.apache.activemqactivemq-parent
- 5.19.1-TT.5-SNAPSHOT
+ 5.19.2-TT.1-SNAPSHOTapache-activemq
diff --git a/assembly/src/release/RELEASE-NOTES-EAP-5.19.x b/assembly/src/release/RELEASE-NOTES-EAP-5.19.x
index 29da78ae41f..3b588bfce55 100644
--- a/assembly/src/release/RELEASE-NOTES-EAP-5.19.x
+++ b/assembly/src/release/RELEASE-NOTES-EAP-5.19.x
@@ -1,5 +1,8 @@
Apache ActiveMQ 5.19.x-TT.x
+Changes in ActiveMQ EAP 5.19.2-TT.1
+- Merged upstream Apache ActiveMQ 5.19.1 release changes (broker/store fixes, web console updates, and test improvements)
+
Changes in ActiveMQ EAP 5.19.1-TT.4
- CVE-2025-41249 Spring Framework Annotation Detection Vulnerability
diff --git a/assembly/src/release/bin/activemq b/assembly/src/release/bin/activemq
index 130517c6a0e..2b2650fb18c 100755
--- a/assembly/src/release/bin/activemq
+++ b/assembly/src/release/bin/activemq
@@ -112,7 +112,7 @@ if [ -z "$ACTIVEMQ_USER_CLASSPATH" ] ; then
fi
# ActiveMQ Classpath configuration
-ACTIVEMQ_CLASSPATH="${ACTIVEMQ_BASE%/}/../lib/:$ACTIVEMQ_USER_CLASSPATH"
+ACTIVEMQ_CLASSPATH="$ACTIVEMQ_USER_CLASSPATH"
# Active MQ configuration directory
if [ -z "$ACTIVEMQ_CONF" ] ; then
diff --git a/assembly/src/release/conf/jetty.xml b/assembly/src/release/conf/jetty.xml
index 6f09f6ea2e9..bd8170342dc 100644
--- a/assembly/src/release/conf/jetty.xml
+++ b/assembly/src/release/conf/jetty.xml
@@ -73,6 +73,17 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/assembly/src/release/webapps/index.html b/assembly/src/release/webapps/index.html
index 08332609622..cdfac1b98ae 100644
--- a/assembly/src/release/webapps/index.html
+++ b/assembly/src/release/webapps/index.html
@@ -25,14 +25,9 @@
-
- Apache ActiveMQ
-
+
+ Apache ActiveMQ
+
@@ -54,10 +49,10 @@