On 26/11/2022 22:51, Michael Santangelo wrote:
Hello all,
Is there any way to upgrade the Tomcat version included with CAS independently
of upgrading CAS itself?
We are currently running Tomcat 9.0.58 that appears to be bundled with CAS, and
I'm trying to update to the latest 9 build (I think 0.69). I have changed the
line in the gradle.properties from 9.0.58 to 9.0.69 and then
cleaned/built/--refresh-dependencies but nothing seems to make a difference.
Here is what I've done on an older CAS with maven. The exclude is added to
maven-war-plugin configuration overlays. Doing it for gradle "war {" should be
similar...
--- pom.xml
+++ pom.xml
@@ -59,6 +59,7 @@
<exclude>WEB-INF/lib/log4j-web-2.12.1.jar</exclude>
<exclude>WEB-INF/lib/log4j-jcl-2.12.1.jar</exclude>
<exclude>WEB-INF/lib/log4j-slf4j-impl-2.12.1.jar</exclude>
+
<exclude>WEB-INF/lib/tomcat-*-8.5.45.jar</exclude>
</excludes>
</overlay>
</overlays>
@@ -312,6 +313,17 @@
<version>2.3.2</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.tomcat.embed</groupId>
+ <artifactId>tomcat-embed-jasper</artifactId>
+ <version>8.5.75</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>tomcat-catalina-ha</artifactId>
+ <version>8.5.75</version>
+ </dependency>
+
</dependencies>
</profile>
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/d53b52e3-5594-25f9-b085-d38a22ffd3a5%40univ-paris1.fr.