I'm not sure I follow where to edit these files in our specific instance. I've got a cas-overlay-template version 6.5.0-SNAPSHOT, which I'm running via ./gradlew clean copyCasConfiguration build run and no matter which config files I edit I cannot get a new version of Tomcat to run. I don't see where I can add these old tomcat jar files to the exclude list, nor where I'd include the new jar files.
It may just be easier to install a new version of CAS but I am admittedly nervous to do so. On Sunday, November 27, 2022 at 3:52:10 AM UTC-5 [email protected] wrote: > 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/5c9a4f2f-e13f-4160-97ba-b13082344808n%40apereo.org.
