Java Version: 11
Spring Boot Version: 2.7.3
Gradle Version: 7.6
Tomcat Version: 9.0.84
I have
Java Version: 18
Spring Boot Version: 2.7.3
Gradle Version: 7.6
Tomcat Version: 10.1.6
Do I forget something ?
Thank you ?
Jérémie
--
- 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+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/54e359a6-9eca-4842-8c39-65b800e32521n%40apereo.org.
--
- 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+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/225825ee-1dd5-4209-9f4c-04e2456ffd07n%40apereo.org.
Ready message on the server ? Do you mean in the logs ?What do you mean about context ?Even if I put debug level in log4j2.xml, I have no debug logs...
I never used this parameter : server.context-path=/cas (I just added it now)About log :/bin/cas# tail -f /var/log/tomcat10/catalina.out
[2024-02-05 11:38:11] [info] Au moins un fichier JAR a été analysé pour trouver des TLDs mais il n'en contenait pas, le mode "debug" du journal peut être activé pour obtenir une liste complète de JAR scannés sans succès ; éviter d'analyser des JARs inutilement peut améliorer sensiblement le temps de démarrage et le temps de compilation des JSPs
[2024-02-05 11:38:11] [info] Le déploiement de l'archive de l'application web [/var/lib/tomcat10/webapps/cas.war] s'est terminé en [8 052] ms
[2024-02-05 11:38:11] [info] Déploiement de l'archive [/var/lib/tomcat10/webapps/casconfigserver.war] de l'application web
[2024-02-05 11:38:18] [info] Au moins un fichier JAR a été analysé pour trouver des TLDs mais il n'en contenait pas, le mode "debug" du journal peut être activé pour obtenir une liste complète de JAR scannés sans succès ; éviter d'analyser des JARs inutilement peut améliorer sensiblement le temps de démarrage et le temps de compilation des JSPs
[2024-02-05 11:38:18] [info] Le déploiement de l'archive de l'application web [/var/lib/tomcat10/webapps/casconfigserver.war] s'est terminé en [7 810] ms
[2024-02-05 11:38:18] [info] Déploiement du répertoire d'application web [/var/lib/tomcat10/webapps/ROOT]
[2024-02-05 11:38:19] [info] Au moins un fichier JAR a été analysé pour trouver des TLDs mais il n'en contenait pas, le mode "debug" du journal peut être activé pour obtenir une liste complète de JAR scannés sans succès ; éviter d'analyser des JARs inutilement peut améliorer sensiblement le temps de démarrage et le temps de compilation des JSPs
[2024-02-05 11:38:19] [info] Le déploiement du répertoire [/var/lib/tomcat10/webapps/ROOT] de l'application web s'est terminé en [663] ms
[2024-02-05 11:38:19] [info] Démarrage du gestionnaire de protocole ["http-nio-8080"]
[2024-02-05 11:38:19] [info] Le démarrage du serveur a pris [29090] millisecondes/bin/cas# tail -f /var/log/tomcat10/localhost_access_log.2024-02-05.txt
192.168.1.197 - - [05/Feb/2024:10:39:12 +0100] "GET /cas/ HTTP/1.1" 404 698
192.168.1.197 - - [05/Feb/2024:10:39:15 +0100] "GET /cas HTTP/1.1" 302 -
192.168.1.197 - - [05/Feb/2024:10:39:15 +0100] "GET /cas/ HTTP/1.1" 404 698
192.168.1.197 - - [05/Feb/2024:10:41:05 +0100] "GET /cas/ HTTP/1.1" 404 698
192.168.50.119 - - [05/Feb/2024:11:01:32 +0100] "GET /DevMgmt/DiscoveryTree.xml HTTP/1.1" 404 719
192.168.1.197 - - [05/Feb/2024:11:07:12 +0100] "GET /cas/ HTTP/1.1" 404 698
192.168.1.174 - - [05/Feb/2024:11:31:52 +0100] "GET /DevMgmt/DiscoveryTree.xml HTTP/1.1" 404 719
192.168.1.197 - - [05/Feb/2024:11:32:46 +0100] "GET /cas/ HTTP/1.1" 404 698
192.168.1.197 - - [05/Feb/2024:11:32:46 +0100] "GET /favicon.ico HTTP/1.1" 404 701
192.168.1.197 - - [05/Feb/2024:11:38:19 +0100] "GET /cas/ HTTP/1.1" 404 698tail -f /var/log/cas/cas.log(empty)
Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information.
--
- 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 a topic in the Google Groups "CAS Community" group.
To unsubscribe from this topic, visit https://groups.google.com/a/apereo.org/d/topic/cas-user/6jhMHXaI540/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/e2eb6a9176088650152d13b872c957b40fbfc2fb.camel%40uvic.ca.
wget https://download.oracle.com/java/21/latest/jdk-21_linux-x64_bin.deb
dpkg -i jdk-21_linux-x64_bin.deb
BUILD SUCCESSFUL without errors....
Deploy on Tomcat 10.1.6
Always the same ... 404 Not found...
Impossible de see specific logs of cas. I have only catalina.out in /var/logs/tomcat10/catalina.out...
Tomcat has rights to write on /var/logs/cas/cas.log
I must forget soething somewhere ... It is crasy !
Jérémie
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/c26545c065f99dcd6c7b4c7cb8ce4e00985e3dc3.camel%40uvic.ca.
Jérémie,
'CasAppender' is defined in the log4j2.xmlSo it looks like cas is able to find the file, but not able to process it; hence, no log output.CasAppender is an indirection for the defined appender(s) above it:
<Console name="console" target="SYSTEM_OUT"><PatternLayout pattern="%highlight{%d %p [%c] - <%m>}%n" alwaysWriteExceptions="${sys:log.console.stacktraces}"/></Console>...<CasAppender name="casConsole"><AppenderRef ref="console" /></CasAppender>
Are the definitions of the appenders missing or somehow corrupt?
Ray