You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2026/08/10 09:51:47 UTC
(tomcat) branch 9.0.x updated: Handle case of only one clustering JAR missing rather than both
This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 9ef95a8c43 Handle case of only one clustering JAR missing rather than both
9ef95a8c43 is described below
commit 9ef95a8c433ffee69f1266e461f7fc091bf6a9a0
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Aug 10 10:51:12 2026 +0100
Handle case of only one clustering JAR missing rather than both
---
webapps/manager/WEB-INF/jsp/sessionsList.jsp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/webapps/manager/WEB-INF/jsp/sessionsList.jsp b/webapps/manager/WEB-INF/jsp/sessionsList.jsp
index 8742115d71..75a0ab7661 100644
--- a/webapps/manager/WEB-INF/jsp/sessionsList.jsp
+++ b/webapps/manager/WEB-INF/jsp/sessionsList.jsp
@@ -36,8 +36,8 @@ static {
try {
clazz = Class.forName("org.apache.catalina.ha.session.DeltaSession");
method = clazz.getMethod("isPrimarySession");
- } catch (ClassNotFoundException e) {
- // Expected when clustering JARs are not present
+ } catch (ClassNotFoundException | NoClassDefFoundError e) {
+ // Expected when either or both clustering JARs are not present
} catch (NoSuchMethodException e) {
// Should not happen if the class is available
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org