Adam, I do not have cas-server-webapp in my build.gradle. Try removing it. The project should be functional without having to make any modifications.
Note, if you are just starting a deployment, use version 6.5 Ray On Tue, 2022-03-15 at 03:59 -0700, Adam Cooney wrote: Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information. Hi, We're having some trouble deploying the v6.4 of the overlay in an external tomcat. Currently we have: Added to the gradle dependencies: implementation "org.apereo.cas:cas-server-webapp:${project.'cas.version'}" Modified gradle.properties to remove the embedded container: appServer= Ran "./gradlew clean build" to make the war and then put it into the Tomcat webapps directory. At the moment, the output is: Mar 11, 2022 12:57:59 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive [/home/adam/ApacheTomcat/webapps/cas.war] Mar 11, 2022 12:58:06 PM org.apache.jasper.servlet.TldScanner scanJars INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve st artup time and JSP compilation time. Mar 11, 2022 12:58:07 PM org.apache.catalina.core.ApplicationContext log INFO: 1 Spring WebApplicationInitializers detected on classpath Mar 11, 2022 12:58:07 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deployment of web application archive [/home/adam/ApacheTomcat/webapps/cas.war] has finished in [7,782] ms Mar 11, 2022 1:01:47 PM org.apache.catalina.users.MemoryUserDatabase backgroundProcess I have limited experience so far using spring boot but it looks to me like spring boot isn't even running. If I go to the application at localhost:PORT/cas/ I see a 404 page: Type Status Report Message The requested resource [/cas/] is not available Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. The application does run fine using the embedded Tomcat, but we would like to run them in externalised ones. Are we missing something obvious? I also noted the MANIFEST.MF contains: Manifest-Version: 1.0 Main-Class: org.springframework.boot.loader.WarLauncher Start-Class: org.apereo.cas.web.CasWebApplication Spring-Boot-Version: 2.5.4 Spring-Boot-Classes: WEB-INF/classes/ Spring-Boot-Lib: WEB-INF/lib/ Spring-Boot-Layers-Index: WEB-INF/layers.idx Any help would be appreciated - we have also tried in Tomcat 10.0.17 but have not tried any other CAS versions of the overlay other than 6.4. We were following these instructions: https://apereo.github.io/cas/6.4.x/installation/Configuring-Servlet-Container-External.html Regards Adam -- - 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 cas-user+unsubscr...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/eac8bb0ff8e8d5bc026bb6bf3555b6c458a6b26d.camel%40uvic.ca.