Sorry, me again, peppering you with problems...
So, as mentioned, I got my converted Grails 7 app to run fine with './gradlew bootRun'. So I thought I'd try deploying a .war to Tomcat and this is very odd! Basically nothing happens. The .war is correctly expanded, and it appears to go through the process of deployment:
24-Jul-2025 181357.851 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/opt/tomcat/webapps/socialsupermarket.war]
24-Jul-2025 181358.309 WARNING [main] org.apache.tomcat.util.descriptor.web.WebXml.setVersion Unknown version string [5.0]. Default version will be used.
24-Jul-2025 181358.357 WARNING [main] org.apache.tomcat.util.descriptor.web.WebXml.setVersion Unknown version string [6.0]. Default version will be used.
24-Jul-2025 181358.375 WARNING [main] org.apache.tomcat.util.descriptor.web.WebXml.setVersion Unknown version string [6.0]. Default version will be used.
24-Jul-2025 181402.506 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars 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 startup time and JSP compilation time.
24-Jul-2025 181402.606 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/opt/tomcat/webapps/socialsupermarket.war] has finished in [4,754] ms
But nothing is actually deployed. The web app is not running, and no errors are written to the log explaining why not. (There should be dozens of lines before the deployment has finished line). The configuration of the .war is unchanged from 6.2.3:
bootWar {
enabled = false
}
war {
enabled = true
archiveBaseName.set('socialsupermarket')
archiveVersion.set('')
archiveClassifier.set('')
}
Any ideas?