Re: [cas-user] Alway Error 404 after compilation deployment

2024-02-14 Thread Frédéric Dussurget
Hi Jérémie,
If you choose to go for CAS v7 and openjdk 21 on debian ... I had this 
little issue :

- I had troubles with CA certificate store when installing openjdk 21 (from 
https://download.java.net/java/GA/jdk21/./openjdk-21_linux-x64_bin.tar.gz
 
) on debian 12, because they're not bundled as they are with the default 
debian distribution's jdk package.
(If you don't provide CA certificates, you'll be able to compile, then 
you'll have the CAS banner when starting tomcat, but CAS will fail ...)
So yo might try this, using your debian's system CA certificate store :

*mv /usr/lib/jvm/java-21-openjdk-amd64/lib/security/cacerts 
/usr/lib/jvm/java-21-openjdk-amd64/lib/security/cacerts_orig*
*ln -s /etc/ssl/certs/java/cacerts 
/usr/lib/jvm/java-21-openjdk-amd64/lib/security/cacerts*

*ls -alh /usr/lib/jvm/java-21-openjdk-amd64/lib/security/cacerts *

I do not know about Oracle's jdk ... 

- Notice that I also compiled the *.war* with the same *jdk *I run cas (
*jdk21* since last fall '23)

(adjust every path and values  according to your system
* ...)*
regards




Le lundi 12 février 2024 à 18:34:48 UTC+1, Jérémie Pilette a écrit :

> Thank you for your responses.
>
> @Vaibhav GPT : I have compiled cas 6.6.15 with openjdk-11, there were no 
> errors about class not found casAppender, but impossible to display the 
> authentication page (eoor 404 not found)
>
> @Ray Bon : I do not have .m2/repository on my test server ... Do I need to 
> install something ? Thank you
>
> Jérémie
>
> Le lundi 12 février 2024 à 15:34:56 UTC+1, Ray Bon a écrit :
>
>> Jérémie,
>>
>>
>> https://github.com/apereo/cas/blob/master/core/cas-server-core-logging-api/src/main/java/org/apereo/cas/logging/CasAppender.java
>>
>> There is no problem with that file, else most cas users would have 
>> problems.
>>
>> Start with a fresh clone of the overlay, 
>> https://github.com/apereo/cas-overlay-template
>> If you have problems with that, it means that something on your system is 
>> hosed. Could be a corrupt download or something out of alignment in 
>> .m2/repository
>> If it works, add your config items in one at a time.
>>
>> Ray
>>
>>
>> On Sun, 2024-02-11 at 11:28 -0800, Jérémie Pilette wrote:
>>
>> Notice: This message was sent from outside the University of Victoria 
>> email system. Please be cautious with links and sensitive information.
>>
>> Hi,
>> I can't find casAppender.java.
>>
>> In CAS7, where can I find this class?
>>
>> Thank you,
>>
>> Jérémie
>>
>> Le vendredi 9 février 2024 à 18:32:25 UTC+1, Ray Bon a écrit :
>>
>> Jérémie,
>>
>> I do not see anything amiss with that file.
>>
>> You could comment out the CasAppender s and change all AppenderRef s to 
>> point directly to the Appenders
>>
>> 
>> becomes
>> 
>>
>> Ray
>>
>> On Fri, 2024-02-09 at 18:05 +0100, Jérémie Pilette wrote:
>>
>> Notice: This message was sent from outside the University of Victoria 
>> email system. Please be cautious with links and sensitive information.
>>
>> Here this my log4j2.xml file from the cas-overlay template (after 
>> compilation)
>> ```
>> 
>> 
>> 
>> 
>> 
>> /var/log/cas
>> trace
>> warn
>> info
>> warn
>> warn
>> warn
>> warn
>> warn
>> warn
>> warn
>> warn
>> true
>> false
>> 
>> > name="log.stacktraceappender">casStackTraceFile
>> false
>> 
>> 
>> 
>>
>> 
>> 
>> 
>>
>> > append="true"
>> 
>>  filePattern="${baseDir}/cas-%d{-MM-dd-HH}-%i.log.gz"
>>  immediateFlush="false">
>> >   
>>  alwaysWriteExceptions="${sys:log.file.stacktraces}" />
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>
>> > fileName="${baseDir}/cas_stacktrace.log" append="true"
>> 
>>  filePattern="${baseDir}/cas_stacktrace-%d{-MM-dd-HH}-%i.log.gz"
>>  immediateFlush="false">
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>
>> > fileName="${baseDir}/cas_audit.log" append="true"
>> 
>>  filePattern="${baseDir}/cas_audit-%d{-MM-dd-HH}-%i.log.gz"
>>  immediateFlush="false">
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 

Re: [cas-user] Alway Error 404 after compilation deployment

2024-02-12 Thread Jérémie Pilette
Thank you for your responses.

@Vaibhav GPT : I have compiled cas 6.6.15 with openjdk-11, there were no 
errors about class not found casAppender, but impossible to display the 
authentication page (eoor 404 not found)

@Ray Bon : I do not have .m2/repository on my test server ... Do I need to 
install something ? Thank you

Jérémie

Le lundi 12 février 2024 à 15:34:56 UTC+1, Ray Bon a écrit :

> Jérémie,
>
>
> https://github.com/apereo/cas/blob/master/core/cas-server-core-logging-api/src/main/java/org/apereo/cas/logging/CasAppender.java
>
> There is no problem with that file, else most cas users would have 
> problems.
>
> Start with a fresh clone of the overlay, 
> https://github.com/apereo/cas-overlay-template
> If you have problems with that, it means that something on your system is 
> hosed. Could be a corrupt download or something out of alignment in 
> .m2/repository
> If it works, add your config items in one at a time.
>
> Ray
>
>
> On Sun, 2024-02-11 at 11:28 -0800, Jérémie Pilette wrote:
>
> Notice: This message was sent from outside the University of Victoria 
> email system. Please be cautious with links and sensitive information.
>
> Hi,
> I can't find casAppender.java.
>
> In CAS7, where can I find this class?
>
> Thank you,
>
> Jérémie
>
> Le vendredi 9 février 2024 à 18:32:25 UTC+1, Ray Bon a écrit :
>
> Jérémie,
>
> I do not see anything amiss with that file.
>
> You could comment out the CasAppender s and change all AppenderRef s to 
> point directly to the Appenders
>
> 
> becomes
> 
>
> Ray
>
> On Fri, 2024-02-09 at 18:05 +0100, Jérémie Pilette wrote:
>
> Notice: This message was sent from outside the University of Victoria 
> email system. Please be cautious with links and sensitive information.
>
> Here this my log4j2.xml file from the cas-overlay template (after 
> compilation)
> ```
> 
> 
> 
> 
> 
> /var/log/cas
> trace
> warn
> info
> warn
> warn
> warn
> warn
> warn
> warn
> warn
> warn
> true
> false
> 
>  name="log.stacktraceappender">casStackTraceFile
> false
> 
> 
> 
>
> 
>  alwaysWriteExceptions="${sys:log.console.stacktraces}"/>
> 
>
>  append="true"
> 
>  filePattern="${baseDir}/cas-%d{-MM-dd-HH}-%i.log.gz"
>  immediateFlush="false">
>
>  alwaysWriteExceptions="${sys:log.file.stacktraces}" />
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  fileName="${baseDir}/cas_stacktrace.log" append="true"
> 
>  filePattern="${baseDir}/cas_stacktrace-%d{-MM-dd-HH}-%i.log.gz"
>  immediateFlush="false">
>  />
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  fileName="${baseDir}/cas_audit.log" append="true"
> 
>  filePattern="${baseDir}/cas_audit-%d{-MM-dd-HH}-%i.log.gz"
>  immediateFlush="false">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  level="${sys:cas.log.level}" />
> 
>  level="${sys:cas.log.level}" />
>  level="${sys:cas.log.level}" />
>  level="${sys:cas.log.level}"/>
>
> 
> 
> 
> 
> 
>
>  level="${sys:spring.boot.log.level}" />
>  level="info" />
>  name="org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration"
>  
> level="${sys:spring.security.log.level}" />
>  level="${sys:spring.security.log.level}" />
> 
> 
> 
>  level="${sys:spring.webflow.log.level}"/>
> 
> 
> 
> 
> 
>  level="${sys:spring.security.log.level}"/>
>  name="org.springframework.security.config.annotation.web.builders" 
> level="error" />
>  level="${sys:spring.cloud.log.level}"/>
> 
> 
> 
>  level="${sys:spring.web.log.level}"/>
> 
> 
> 
> 
>  name="org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter" 
> level="trace"/>
>
>  level="${sys:jdbc.log.level}"/>
> 
>
> 
>  

Re: [cas-user] Alway Error 404 after compilation deployment

2024-02-12 Thread Ray Bon
Jérémie,

https://github.com/apereo/cas/blob/master/core/cas-server-core-logging-api/src/main/java/org/apereo/cas/logging/CasAppender.java

There is no problem with that file, else most cas users would have problems.

Start with a fresh clone of the overlay, 
https://github.com/apereo/cas-overlay-template
If you have problems with that, it means that something on your system is 
hosed. Could be a corrupt download or something out of alignment in 
.m2/repository
If it works, add your config items in one at a time.

Ray


On Sun, 2024-02-11 at 11:28 -0800, Jérémie Pilette wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hi,
I can't find casAppender.java.

In CAS7, where can I find this class?

Thank you,

Jérémie

Le vendredi 9 février 2024 à 18:32:25 UTC+1, Ray Bon a écrit :
Jérémie,

I do not see anything amiss with that file.

You could comment out the CasAppender s and change all AppenderRef s to point 
directly to the Appenders


becomes


Ray

On Fri, 2024-02-09 at 18:05 +0100, Jérémie Pilette wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Here this my log4j2.xml file from the cas-overlay template (after compilation)
```





/var/log/cas
trace
warn
info
warn
warn
warn
warn
warn
warn
warn
warn
true
false

casStackTraceFile
false







































































































































``

Le ven. 9 févr. 2024 à 17:09, Ray Bon  a écrit :
Jérémie,

'CasAppender' is defined in the log4j2.xml
So 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:




...




Are the definitions of the appenders missing or somehow corrupt?


Ray

On Fri, 2024-02-09 at 09:49 +0100, Jérémie Pilette wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hi Ray,
```
root@pc:/var/lib/tomcat10# ls -l
total 12
lrwxrwxrwx 1 root   root 13 10 oct.  18:33 conf -> /etc/tomcat10
```
So what I see in /etc/tomcat10 is the same as /var/lib/tomcat10/conf. OK for 
that.
About logs in /var/log/tomcat10 :
catalina.out
localhost_access_log.2024-02-09.txt

About catalina.out, when I restart tomcat (systemctl restart tomcat10)
```
[2024-02-09 09:47:39] [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-09 09:47:40] [info] ERROR StatusConsoleListener Error processing 
element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
[2024-02-09 09:47:40] [info] ERROR StatusConsoleListener Error processing 
element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
[2024-02-09 09:47:40] [info] ERROR StatusConsoleListener Error processing 
element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
[2024-02-09 09:47:40] [info] ERROR StatusConsoleListener Error processing 
element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
[2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate 
appender "casFile" for logger config "root"
[2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate 
appender "casConsole" for logger 

Re: [cas-user] Alway Error 404 after compilation deployment

2024-02-12 Thread Vaibhav GPT
Hi Jeremie ,

What happens if you try with version 11? I also faced running errors 
similar to this but they magically vanished away when i switched to version 
11 of java but i was using cas 6.6 

Hope it helps !

On Monday, February 12, 2024 at 4:29:18 PM UTC+5:30 Jérémie Pilette wrote:

> OK I found it :
>
> build/overlays/bootWar/cas/WEB-INF/lib/cas-server-core-logging-api-7.0.1.jar
>
> So the class is here and I have the log :
> ```
> [2024-02-12 10:24:49] [info] ERROR StatusConsoleListener Error processing 
> element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
> [2024-02-12 10:24:49] [info] ERROR StatusConsoleListener Error processing 
> element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
> [2024-02-12 10:24:49] [info] ERROR StatusConsoleListener Error processing 
> element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
> [2024-02-12 10:24:49] [info] ERROR StatusConsoleListener Error processing 
> element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
> [2024-02-12 10:24:49] [info] ERROR StatusConsoleListener Unable to locate 
> appender "casFile" for logger config "root"
> [2024-02-12 10:24:49] [info] ERROR StatusConsoleListener Unable to locate 
> appender "casConsole" for logger config "root"
> [2024-02-12 10:24:49] [info] ERROR StatusConsoleListener Unable to locate 
> appender "casStackTraceFile" for logger config "root"
> [2024-02-12 10:24:49] [info] ERROR StatusConsoleListener Unable to locate 
> appender "casConsole" for logger config "org.apereo.inspektr"
> [2024-02-12 10:24:49] [info] ERROR StatusConsoleListener Unable to locate 
> appender "casFile" for logger config "org.apereo.inspektr"
> [2024-02-12 10:24:49] [info] ERROR StatusConsoleListener Unable to locate 
> appender "casAudit" for logger config "org.apereo.inspektr"
> ```
>
> I tried to compile with Oracle jdk21 and openjdk-21
>
> Always the same error...
>
> Jérémie
> Le dimanche 11 février 2024 à 20:40:02 UTC+1, Jérémie Pilette a écrit :
>
>> Hi,
>> I can't find casAppender.java.
>>
>> In CAS7, where can I find this class?
>>
>> Thank you,
>>
>> Jérémie
>>
>> Le vendredi 9 février 2024 à 18:32:25 UTC+1, Ray Bon a écrit :
>>
>>> Jérémie,
>>>
>>> I do not see anything amiss with that file.
>>>
>>> You could comment out the CasAppender s and change all AppenderRef s to 
>>> point directly to the Appenders
>>>
>>> 
>>> becomes
>>> 
>>>
>>> Ray
>>>
>>> On Fri, 2024-02-09 at 18:05 +0100, Jérémie Pilette wrote:
>>>
>>> Notice: This message was sent from outside the University of Victoria 
>>> email system. Please be cautious with links and sensitive information.
>>>
>>> Here this my log4j2.xml file from the cas-overlay template (after 
>>> compilation)
>>> ```
>>> 
>>> 
>>> 
>>> 
>>> 
>>> /var/log/cas
>>> trace
>>> warn
>>> info
>>> warn
>>> warn
>>> warn
>>> warn
>>> warn
>>> warn
>>> warn
>>> warn
>>> true
>>> false
>>> 
>>> >> name="log.stacktraceappender">casStackTraceFile
>>> false
>>> 
>>> 
>>> 
>>>
>>> 
>>> 
>>> 
>>>
>>> >> append="true"
>>> 
>>>  filePattern="${baseDir}/cas-%d{-MM-dd-HH}-%i.log.gz"
>>>  immediateFlush="false">
>>> >>   
>>>  alwaysWriteExceptions="${sys:log.file.stacktraces}" />
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>
>>> >> fileName="${baseDir}/cas_stacktrace.log" append="true"
>>> 
>>>  filePattern="${baseDir}/cas_stacktrace-%d{-MM-dd-HH}-%i.log.gz"
>>>  immediateFlush="false">
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>
>>> >> fileName="${baseDir}/cas_audit.log" append="true"
>>> 
>>>  filePattern="${baseDir}/cas_audit-%d{-MM-dd-HH}-%i.log.gz"
>>>  immediateFlush="false">
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> >> level="${sys:cas.log.level}" />
>>> 
>>> >> level="${sys:cas.log.level}" />
>>> >> level="${sys:cas.log.level}" />
>>> >> 

Re: [cas-user] Alway Error 404 after compilation deployment

2024-02-12 Thread Jérémie Pilette
OK I found it :
build/overlays/bootWar/cas/WEB-INF/lib/cas-server-core-logging-api-7.0.1.jar

So the class is here and I have the log :
```
[2024-02-12 10:24:49] [info] ERROR StatusConsoleListener Error processing 
element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
[2024-02-12 10:24:49] [info] ERROR StatusConsoleListener Error processing 
element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
[2024-02-12 10:24:49] [info] ERROR StatusConsoleListener Error processing 
element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
[2024-02-12 10:24:49] [info] ERROR StatusConsoleListener Error processing 
element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
[2024-02-12 10:24:49] [info] ERROR StatusConsoleListener Unable to locate 
appender "casFile" for logger config "root"
[2024-02-12 10:24:49] [info] ERROR StatusConsoleListener Unable to locate 
appender "casConsole" for logger config "root"
[2024-02-12 10:24:49] [info] ERROR StatusConsoleListener Unable to locate 
appender "casStackTraceFile" for logger config "root"
[2024-02-12 10:24:49] [info] ERROR StatusConsoleListener Unable to locate 
appender "casConsole" for logger config "org.apereo.inspektr"
[2024-02-12 10:24:49] [info] ERROR StatusConsoleListener Unable to locate 
appender "casFile" for logger config "org.apereo.inspektr"
[2024-02-12 10:24:49] [info] ERROR StatusConsoleListener Unable to locate 
appender "casAudit" for logger config "org.apereo.inspektr"
```

I tried to compile with Oracle jdk21 and openjdk-21

Always the same error...

Jérémie
Le dimanche 11 février 2024 à 20:40:02 UTC+1, Jérémie Pilette a écrit :

> Hi,
> I can't find casAppender.java.
>
> In CAS7, where can I find this class?
>
> Thank you,
>
> Jérémie
>
> Le vendredi 9 février 2024 à 18:32:25 UTC+1, Ray Bon a écrit :
>
>> Jérémie,
>>
>> I do not see anything amiss with that file.
>>
>> You could comment out the CasAppender s and change all AppenderRef s to 
>> point directly to the Appenders
>>
>> 
>> becomes
>> 
>>
>> Ray
>>
>> On Fri, 2024-02-09 at 18:05 +0100, Jérémie Pilette wrote:
>>
>> Notice: This message was sent from outside the University of Victoria 
>> email system. Please be cautious with links and sensitive information.
>>
>> Here this my log4j2.xml file from the cas-overlay template (after 
>> compilation)
>> ```
>> 
>> 
>> 
>> 
>> 
>> /var/log/cas
>> trace
>> warn
>> info
>> warn
>> warn
>> warn
>> warn
>> warn
>> warn
>> warn
>> warn
>> true
>> false
>> 
>> > name="log.stacktraceappender">casStackTraceFile
>> false
>> 
>> 
>> 
>>
>> 
>> 
>> 
>>
>> > append="true"
>> 
>>  filePattern="${baseDir}/cas-%d{-MM-dd-HH}-%i.log.gz"
>>  immediateFlush="false">
>> >   
>>  alwaysWriteExceptions="${sys:log.file.stacktraces}" />
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>
>> > fileName="${baseDir}/cas_stacktrace.log" append="true"
>> 
>>  filePattern="${baseDir}/cas_stacktrace-%d{-MM-dd-HH}-%i.log.gz"
>>  immediateFlush="false">
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>
>> > fileName="${baseDir}/cas_audit.log" append="true"
>> 
>>  filePattern="${baseDir}/cas_audit-%d{-MM-dd-HH}-%i.log.gz"
>>  immediateFlush="false">
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> > level="${sys:cas.log.level}" />
>> 
>> > level="${sys:cas.log.level}" />
>> > level="${sys:cas.log.level}" />
>> > level="${sys:cas.log.level}"/>
>>
>> > level="info">
>> 
>> 
>> 
>> 
>>
>> > level="${sys:spring.boot.log.level}" />
>> > level="info" />
>> > name="org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration"
>>  
>> level="${sys:spring.security.log.level}" />
>> > level="${sys:spring.security.log.level}" />
>> 
>> 
>> 
>> > level="${sys:spring.webflow.log.level}"/>
>>  

Re: [cas-user] Alway Error 404 after compilation deployment

2024-02-11 Thread Jérémie Pilette
Hi,
I can't find casAppender.java.

In CAS7, where can I find this class?

Thank you,

Jérémie

Le vendredi 9 février 2024 à 18:32:25 UTC+1, Ray Bon a écrit :

> Jérémie,
>
> I do not see anything amiss with that file.
>
> You could comment out the CasAppender s and change all AppenderRef s to 
> point directly to the Appenders
>
> 
> becomes
> 
>
> Ray
>
> On Fri, 2024-02-09 at 18:05 +0100, Jérémie Pilette wrote:
>
> Notice: This message was sent from outside the University of Victoria 
> email system. Please be cautious with links and sensitive information.
>
> Here this my log4j2.xml file from the cas-overlay template (after 
> compilation)
> ```
> 
> 
> 
> 
> 
> /var/log/cas
> trace
> warn
> info
> warn
> warn
> warn
> warn
> warn
> warn
> warn
> warn
> true
> false
> 
>  name="log.stacktraceappender">casStackTraceFile
> false
> 
> 
> 
>
> 
>  alwaysWriteExceptions="${sys:log.console.stacktraces}"/>
> 
>
>  append="true"
> 
>  filePattern="${baseDir}/cas-%d{-MM-dd-HH}-%i.log.gz"
>  immediateFlush="false">
>
>  alwaysWriteExceptions="${sys:log.file.stacktraces}" />
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  fileName="${baseDir}/cas_stacktrace.log" append="true"
> 
>  filePattern="${baseDir}/cas_stacktrace-%d{-MM-dd-HH}-%i.log.gz"
>  immediateFlush="false">
>  />
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  fileName="${baseDir}/cas_audit.log" append="true"
> 
>  filePattern="${baseDir}/cas_audit-%d{-MM-dd-HH}-%i.log.gz"
>  immediateFlush="false">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  level="${sys:cas.log.level}" />
> 
>  level="${sys:cas.log.level}" />
>  level="${sys:cas.log.level}" />
>  level="${sys:cas.log.level}"/>
>
> 
> 
> 
> 
> 
>
>  level="${sys:spring.boot.log.level}" />
>  level="info" />
>  name="org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration"
>  
> level="${sys:spring.security.log.level}" />
>  level="${sys:spring.security.log.level}" />
> 
> 
> 
>  level="${sys:spring.webflow.log.level}"/>
> 
> 
> 
> 
> 
>  level="${sys:spring.security.log.level}"/>
>  name="org.springframework.security.config.annotation.web.builders" 
> level="error" />
>  level="${sys:spring.cloud.log.level}"/>
> 
> 
> 
>  level="${sys:spring.web.log.level}"/>
> 
> 
> 
> 
>  name="org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter" 
> level="trace"/>
>
>  level="${sys:jdbc.log.level}"/>
> 
>
> 
> 
> 
> 
> 
> 
>
> 
>  />
>
> 
> 
> 
> 
> 
> 
> 
>
> 
> 
> 
> 
> 
> 
> 
> ``
>
> Le ven. 9 févr. 2024 à 17:09, Ray Bon  a écrit :
>
> Jérémie,
>
> 'CasAppender' is defined in the log4j2.xml
> So 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:
>
> 
>  alwaysWriteExceptions="${sys:log.console.stacktraces}"/>
> 
> ...
> 
> 
> 
>
> Are the definitions of the appenders missing or somehow corrupt?
>
>
> Ray
>
> On Fri, 2024-02-09 at 09:49 +0100, Jérémie Pilette wrote:
>
> Notice: This message was sent from outside the University of Victoria 
> email system. Please be cautious with links and sensitive information.
>
> Hi Ray,
> ```
> root@pc:/var/lib/tomcat10# ls -l
> total 12
> lrwxrwxrwx 1 root   root 13 10 oct.  18:33 conf -> /etc/tomcat10
> ```
> So what I see in /etc/tomcat10 is the same as /var/lib/tomcat10/conf. OK 
> for that.
> About logs in /var/log/tomcat10 :
> catalina.out
> 

Re: [cas-user] Alway Error 404 after compilation deployment

2024-02-09 Thread Ray Bon
Jérémie,

I do not see anything amiss with that file.

You could comment out the CasAppender s and change all AppenderRef s to point 
directly to the Appenders


becomes


Ray

On Fri, 2024-02-09 at 18:05 +0100, Jérémie Pilette wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Here this my log4j2.xml file from the cas-overlay template (after compilation)
```





/var/log/cas
trace
warn
info
warn
warn
warn
warn
warn
warn
warn
warn
true
false

casStackTraceFile
false







































































































































``

Le ven. 9 févr. 2024 à 17:09, Ray Bon mailto:r...@uvic.ca>> a 
écrit :
Jérémie,

'CasAppender' is defined in the log4j2.xml
So 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:




...




Are the definitions of the appenders missing or somehow corrupt?


Ray

On Fri, 2024-02-09 at 09:49 +0100, Jérémie Pilette wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hi Ray,
```
root@pc:/var/lib/tomcat10# ls -l
total 12
lrwxrwxrwx 1 root   root 13 10 oct.  18:33 conf -> /etc/tomcat10
```
So what I see in /etc/tomcat10 is the same as /var/lib/tomcat10/conf. OK for 
that.
About logs in /var/log/tomcat10 :
catalina.out
localhost_access_log.2024-02-09.txt

About catalina.out, when I restart tomcat (systemctl restart tomcat10)
```
[2024-02-09 09:47:39] [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-09 09:47:40] [info] ERROR StatusConsoleListener Error processing 
element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
[2024-02-09 09:47:40] [info] ERROR StatusConsoleListener Error processing 
element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
[2024-02-09 09:47:40] [info] ERROR StatusConsoleListener Error processing 
element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
[2024-02-09 09:47:40] [info] ERROR StatusConsoleListener Error processing 
element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
[2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate 
appender "casFile" for logger config "root"
[2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate 
appender "casConsole" for logger config "root"
[2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate 
appender "casStackTraceFile" for logger config "root"
[2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate 
appender "casConsole" for logger config "org.apereo.inspektr"
[2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate 
appender "casFile" for logger config "org.apereo.inspektr"
[2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate 
appender "casAudit" for logger config "org.apereo.inspektr"
[2024-02-09 09:47:41] [info] Le déploiement de l'archive de l'application web 
[/var/lib/tomcat10/webapps/cas.war] s'est terminé en [8 955] ms
```

About  localhost_access_log.2024-02-09.txt
```
192.168.1.xx - - [09/Feb/2024:08:32:35 +0100] "GET /DevMgmt/DiscoveryTree.xml 
HTTP/1.1" 404 719
```

Thank you,
Jérémie


Re: [cas-user] Alway Error 404 after compilation deployment

2024-02-09 Thread Ray Bon
Jérémie,

'CasAppender' is defined in the log4j2.xml
So 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:




...




Are the definitions of the appenders missing or somehow corrupt?


Ray

On Fri, 2024-02-09 at 09:49 +0100, Jérémie Pilette wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hi Ray,
```
root@pc:/var/lib/tomcat10# ls -l
total 12
lrwxrwxrwx 1 root   root 13 10 oct.  18:33 conf -> /etc/tomcat10
```
So what I see in /etc/tomcat10 is the same as /var/lib/tomcat10/conf. OK for 
that.
About logs in /var/log/tomcat10 :
catalina.out
localhost_access_log.2024-02-09.txt

About catalina.out, when I restart tomcat (systemctl restart tomcat10)
```
[2024-02-09 09:47:39] [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-09 09:47:40] [info] ERROR StatusConsoleListener Error processing 
element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
[2024-02-09 09:47:40] [info] ERROR StatusConsoleListener Error processing 
element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
[2024-02-09 09:47:40] [info] ERROR StatusConsoleListener Error processing 
element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
[2024-02-09 09:47:40] [info] ERROR StatusConsoleListener Error processing 
element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
[2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate 
appender "casFile" for logger config "root"
[2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate 
appender "casConsole" for logger config "root"
[2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate 
appender "casStackTraceFile" for logger config "root"
[2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate 
appender "casConsole" for logger config "org.apereo.inspektr"
[2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate 
appender "casFile" for logger config "org.apereo.inspektr"
[2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate 
appender "casAudit" for logger config "org.apereo.inspektr"
[2024-02-09 09:47:41] [info] Le déploiement de l'archive de l'application web 
[/var/lib/tomcat10/webapps/cas.war] s'est terminé en [8 955] ms
```

About  localhost_access_log.2024-02-09.txt
```
192.168.1.xx - - [09/Feb/2024:08:32:35 +0100] "GET /DevMgmt/DiscoveryTree.xml 
HTTP/1.1" 404 719
```

Thank you,
Jérémie

Le jeu. 8 févr. 2024 à 16:31, Ray Bon mailto:r...@uvic.ca>> a 
écrit :
Jérémie,

/etc/tomcat10 is the 'conf' directory. It may be a sym link to 
/var/lib/tomcat10/conf see 
https://packages.debian.org/bookworm/all/tomcat10/filelist

tomcat will write its logs to /var/lib/tomcat10/logs (see 
/etc/tomcat10/logging.properties).
What do the logs in /var/lib/tomcat10/logs say?

Ray

On Thu, 2024-02-08 at 06:21 -0800, Jérémie Pilette wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hi Ray,

I have installed Tomcat 10.1.6 with apt-get install tomcat10.
Here the repository of tomcat10 (/etc/tomcat10) :

drwxrwxr-x 3 root tomcat   4096  2 févr. 10:13 Catalina
-rw-r- 1 root tomcat   7693 19 févr.  2023 catalina.properties
-rw-r- 1 root tomcat   1411 19 févr.  2023 context.xml
-rw-r- 1 root tomcat   1149 19 févr.  2023 jaspic-providers.xml
-rw-r- 1 root tomcat   2799  9 oct.  23:21 logging.properties
drwxr-xr-x 2 root tomcat   4096  2 févr. 10:12 policy.d
-rw-r- 1 root tomcat   6755 10 oct.  18:33 server.xml
-rw-r- 1 root tomcat   2780  2 févr. 12:33 tomcat-users.xml
-rw-r- 1 root tomcat 172414 19 févr.  2023 web.xml

I use the URL : http://my_host:8080/cas

CAS webapp est deployed in .var/lib/tomcat10/webapps/cas

I have the Error 404 of Tomcat without information.

About logsn even ig log4j2.xml is configured in /etc/cas/config/ to display 
logs in /var/lib/cas/cas.log, I have nothing.

Even if I use java 21 from Oracle instead of openjdk-21-jdk, it should works.

Is that possible that the problems comes from the cas.properties files ? I 
think my file is good 

Thank you,

Jérémie


Le mercredi 7 février 2024 à 03:51:39 UTC+1, Ray Bon a écrit :
Jérémie,

Are there any files in TOMCAT_HOME/logs ?
(Could also be CATALINA_HOME or CATALINA_BASE)

A pristine clone of cas-overlay-template should display the login page at 
http://localhost:8080/cas/login

What URL are you using that you get 404?

What does java -version say?
How are you deploying to tomcat (tomcat built in deployer, copy to 

Re: [cas-user] Alway Error 404 after compilation deployment

2024-02-09 Thread Jérémie Pilette
Here this my log4j2.xml file from the cas-overlay template (after
compilation)
```





/var/log/cas
trace
warn
info
warn
warn
warn
warn
warn
warn
warn
warn
true
false

casStackTraceFile
false







































































































































``

Le ven. 9 févr. 2024 à 17:09, Ray Bon  a écrit :

> Jérémie,
>
> 'CasAppender' is defined in the log4j2.xml
> So 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:
>
> 
>  alwaysWriteExceptions="${sys:log.console.stacktraces}"/>
> 
> ...
> 
> 
> 
>
> Are the definitions of the appenders missing or somehow corrupt?
>
>
> Ray
>
> On Fri, 2024-02-09 at 09:49 +0100, Jérémie Pilette wrote:
>
> Notice: This message was sent from outside the University of Victoria
> email system. Please be cautious with links and sensitive information.
>
> Hi Ray,
> ```
> root@pc:/var/lib/tomcat10# ls -l
> total 12
> lrwxrwxrwx 1 root   root 13 10 oct.  18:33 conf -> /etc/tomcat10
> ```
> So what I see in /etc/tomcat10 is the same as /var/lib/tomcat10/conf. OK
> for that.
> About logs in /var/log/tomcat10 :
> catalina.out
> localhost_access_log.2024-02-09.txt
>
> About catalina.out, when I restart tomcat (systemctl restart tomcat10)
> ```
> [2024-02-09 09:47:39] [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-09 09:47:40] [info] ERROR StatusConsoleListener Error processing
> element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
> [2024-02-09 09:47:40] [info] ERROR StatusConsoleListener Error processing
> element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
> [2024-02-09 09:47:40] [info] ERROR StatusConsoleListener Error processing
> element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
> [2024-02-09 09:47:40] [info] ERROR StatusConsoleListener Error processing
> element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
> [2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate
> appender "casFile" for logger config "root"
> [2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate
> appender "casConsole" for logger config "root"
> [2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate
> appender "casStackTraceFile" for logger config "root"
> [2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate
> appender "casConsole" for logger config "org.apereo.inspektr"
> [2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate
> appender "casFile" for logger config "org.apereo.inspektr"
> [2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate
> appender "casAudit" for logger config "org.apereo.inspektr"
> [2024-02-09 09:47:41] [info] Le déploiement de l'archive de l'application
> web [/var/lib/tomcat10/webapps/cas.war] s'est terminé en [8 955] ms
> ```
>
> About  localhost_access_log.2024-02-09.txt
> ```
> 192.168.1.xx - - [09/Feb/2024:08:32:35 +0100] "GET
> /DevMgmt/DiscoveryTree.xml HTTP/1.1" 404 719
> ```
>
> Thank you,
> Jérémie
>
> Le jeu. 8 févr. 2024 à 16:31, Ray Bon  a écrit :
>
> Jérémie,
>
> /etc/tomcat10 is the 'conf' directory. It may be a sym link to
> /var/lib/tomcat10/conf see
> 

Re: [cas-user] Alway Error 404 after compilation deployment

2024-02-09 Thread Jérémie Pilette
Hi Ray,
```
root@pc:/var/lib/tomcat10# ls -l
total 12
lrwxrwxrwx 1 root   root 13 10 oct.  18:33 conf -> /etc/tomcat10
```
So what I see in /etc/tomcat10 is the same as /var/lib/tomcat10/conf. OK
for that.
About logs in /var/log/tomcat10 :
catalina.out
localhost_access_log.2024-02-09.txt

About catalina.out, when I restart tomcat (systemctl restart tomcat10)
```
[2024-02-09 09:47:39] [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-09 09:47:40] [info] ERROR StatusConsoleListener Error processing
element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
[2024-02-09 09:47:40] [info] ERROR StatusConsoleListener Error processing
element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
[2024-02-09 09:47:40] [info] ERROR StatusConsoleListener Error processing
element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
[2024-02-09 09:47:40] [info] ERROR StatusConsoleListener Error processing
element CasAppender ([Appenders: null]): CLASS_NOT_FOUND
[2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate
appender "casFile" for logger config "root"
[2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate
appender "casConsole" for logger config "root"
[2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate
appender "casStackTraceFile" for logger config "root"
[2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate
appender "casConsole" for logger config "org.apereo.inspektr"
[2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate
appender "casFile" for logger config "org.apereo.inspektr"
[2024-02-09 09:47:41] [info] ERROR StatusConsoleListener Unable to locate
appender "casAudit" for logger config "org.apereo.inspektr"
[2024-02-09 09:47:41] [info] Le déploiement de l'archive de l'application
web [/var/lib/tomcat10/webapps/cas.war] s'est terminé en [8 955] ms
```

About  localhost_access_log.2024-02-09.txt
```
192.168.1.xx - - [09/Feb/2024:08:32:35 +0100] "GET
/DevMgmt/DiscoveryTree.xml HTTP/1.1" 404 719
```

Thank you,
Jérémie

Le jeu. 8 févr. 2024 à 16:31, Ray Bon  a écrit :

> Jérémie,
>
> /etc/tomcat10 is the 'conf' directory. It may be a sym link to
> /var/lib/tomcat10/conf see
> https://packages.debian.org/bookworm/all/tomcat10/filelist
>
> tomcat will write its logs to /var/lib/tomcat10/logs (see
> /etc/tomcat10/logging.properties).
> What do the logs in /var/lib/tomcat10/logs say?
>
> Ray
>
> On Thu, 2024-02-08 at 06:21 -0800, Jérémie Pilette wrote:
>
> Notice: This message was sent from outside the University of Victoria
> email system. Please be cautious with links and sensitive information.
>
> Hi Ray,
>
> I have installed Tomcat 10.1.6 with apt-get install tomcat10.
> Here the repository of tomcat10 (/etc/tomcat10) :
>
> drwxrwxr-x 3 root tomcat   4096  2 févr. 10:13 Catalina
> -rw-r- 1 root tomcat   7693 19 févr.  2023 catalina.properties
> -rw-r- 1 root tomcat   1411 19 févr.  2023 context.xml
> -rw-r- 1 root tomcat   1149 19 févr.  2023 jaspic-providers.xml
> -rw-r- 1 root tomcat   2799  9 oct.  23:21 logging.properties
> drwxr-xr-x 2 root tomcat   4096  2 févr. 10:12 policy.d
> -rw-r- 1 root tomcat   6755 10 oct.  18:33 server.xml
> -rw-r- 1 root tomcat   2780  2 févr. 12:33 tomcat-users.xml
> -rw-r- 1 root tomcat 172414 19 févr.  2023 web.xml
>
> I use the URL : http://my_host:8080/cas
>
> CAS webapp est deployed in .var/lib/tomcat10/webapps/cas
>
> I have the Error 404 of Tomcat without information.
>
> About logsn even ig log4j2.xml is configured in /etc/cas/config/ to
> display logs in /var/lib/cas/cas.log, I have nothing.
>
> Even if I use java 21 from Oracle instead of openjdk-21-jdk, it should
> works.
>
> Is that possible that the problems comes from the cas.properties files ? I
> think my file is good 
>
> Thank you,
>
> Jérémie
>
>
> Le mercredi 7 février 2024 à 03:51:39 UTC+1, Ray Bon a écrit :
>
> Jérémie,
>
> Are there any files in TOMCAT_HOME/logs ?
> (Could also be CATALINA_HOME or CATALINA_BASE)
>
> A pristine clone of cas-overlay-template should display the login page at
> http://localhost:8080/cas/login
>
> What URL are you using that you get 404?
>
> What does java -version say?
> How are you deploying to tomcat (tomcat built in deployer, copy to
> TOMCAT_HOME/webapps, etc)?
>
> Is there an application name and version number on the 404 page?
>
> Ray
>
> P.S. you can use openjdk instead of oracle
>
> On Tue, 2024-02-06 at 16:12 +0100, Jérémie Pilette wrote:
>
> Notice: This message was sent from outside the University of Victoria
> email system. Please be cautious with links and sensitive information.
>
> Hi Ray,
>
> ok for cas7. So I downloaded Java but from Oracle website :
>
> wget 

Re: [cas-user] Alway Error 404 after compilation deployment

2024-02-08 Thread Ray Bon
Jérémie,

/etc/tomcat10 is the 'conf' directory. It may be a sym link to 
/var/lib/tomcat10/conf see 
https://packages.debian.org/bookworm/all/tomcat10/filelist

tomcat will write its logs to /var/lib/tomcat10/logs (see 
/etc/tomcat10/logging.properties).
What do the logs in /var/lib/tomcat10/logs say?

Ray

On Thu, 2024-02-08 at 06:21 -0800, Jérémie Pilette wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hi Ray,

I have installed Tomcat 10.1.6 with apt-get install tomcat10.
Here the repository of tomcat10 (/etc/tomcat10) :

drwxrwxr-x 3 root tomcat   4096  2 févr. 10:13 Catalina
-rw-r- 1 root tomcat   7693 19 févr.  2023 catalina.properties
-rw-r- 1 root tomcat   1411 19 févr.  2023 context.xml
-rw-r- 1 root tomcat   1149 19 févr.  2023 jaspic-providers.xml
-rw-r- 1 root tomcat   2799  9 oct.  23:21 logging.properties
drwxr-xr-x 2 root tomcat   4096  2 févr. 10:12 policy.d
-rw-r- 1 root tomcat   6755 10 oct.  18:33 server.xml
-rw-r- 1 root tomcat   2780  2 févr. 12:33 tomcat-users.xml
-rw-r- 1 root tomcat 172414 19 févr.  2023 web.xml

I use the URL : http://my_host:8080/cas

CAS webapp est deployed in .var/lib/tomcat10/webapps/cas

I have the Error 404 of Tomcat without information.

About logsn even ig log4j2.xml is configured in /etc/cas/config/ to display 
logs in /var/lib/cas/cas.log, I have nothing.

Even if I use java 21 from Oracle instead of openjdk-21-jdk, it should works.

Is that possible that the problems comes from the cas.properties files ? I 
think my file is good 

Thank you,

Jérémie


Le mercredi 7 février 2024 à 03:51:39 UTC+1, Ray Bon a écrit :
Jérémie,

Are there any files in TOMCAT_HOME/logs ?
(Could also be CATALINA_HOME or CATALINA_BASE)

A pristine clone of cas-overlay-template should display the login page at 
http://localhost:8080/cas/login

What URL are you using that you get 404?

What does java -version say?
How are you deploying to tomcat (tomcat built in deployer, copy to 
TOMCAT_HOME/webapps, etc)?

Is there an application name and version number on the 404 page?

Ray

P.S. you can use openjdk instead of oracle

On Tue, 2024-02-06 at 16:12 +0100, Jérémie Pilette wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hi Ray,

ok for cas7. So I downloaded Java but from Oracle website :

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




Le lun. 5 févr. 2024 à 20:45, Ray Bon  a écrit :
Jérémie,

You might be waiting a long time debian to upgrade java ;)

You can download and install openjdk-21 (on Ubuntu, mine is in /usr/lib/jvm)

You can

$ JAVA_HOME=/usr/lib/jvm/jdk-21

Then when you run ./gradlew ... in the same terminal it will use that JAVA_HOME 
to find java.

For tomcat, download it, untar in a directory you manage (I use 
~/Applications). Start tomcat from the same directory, it should pick up the 
correct java.

You can, of course, create a script that wraps the above, and leaves your 
command line pointing to debian installed java.

With this approach, you can use the latest cas.

Java will be 'more' backwardly compatible than tomcat (I recall reading 
somewhere that tomcat 10 has made some big changes) but stay as close to 
version recommendations as possible.

Cas also comes with an embedded tomcat. Your choice of deployment should be 
base on the settings you will have in production (IMHO).

If you are not getting log output, does the user that runs tomcat have 
permission to write to /var/log ?

Ray

On Mon, 2024-02-05 at 16:50 +0100, Jérémie Pilette wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hi Ray Bon, I am using Debian 12 and openjdk is the version 18. So, must I 
install openjdk-11-jdk ? (18 > 11 should be good ...)
The same for Tomcat, tomcat9 is required for cas 6.6 so it should be good for 
tomcat10 too .. normally ...

If I choose cas 7, I need to install openjdk-21. I wanted to let the good 
packages from Debian 12

I think I have activate the logs but maybe I forget something... there are no 
logs  displayed in /var/log/cas/cas.log ... evne if it is configured in 
/etc/cas/config/log4j2.xml ...

Le lun. 5 févr. 2024 à 15:48, Ray Bon  a écrit :
Jérémie,

Is there a reason why java and tomcat are not the versions in the requirements?

You do not need to concern yourself with spring boot and gradle; they will be 
handled by the build process.


Re: [cas-user] Alway Error 404 after compilation deployment

2024-02-08 Thread Jérémie Pilette
Hi Ray,

I have installed Tomcat 10.1.6 with apt-get install tomcat10.
Here the repository of tomcat10 (/etc/tomcat10) :

drwxrwxr-x 3 root tomcat   4096  2 févr. 10:13 Catalina
-rw-r- 1 root tomcat   7693 19 févr.  2023 catalina.properties
-rw-r- 1 root tomcat   1411 19 févr.  2023 context.xml
-rw-r- 1 root tomcat   1149 19 févr.  2023 jaspic-providers.xml
-rw-r- 1 root tomcat   2799  9 oct.  23:21 logging.properties
drwxr-xr-x 2 root tomcat   4096  2 févr. 10:12 policy.d
-rw-r- 1 root tomcat   6755 10 oct.  18:33 server.xml
-rw-r- 1 root tomcat   2780  2 févr. 12:33 tomcat-users.xml
-rw-r- 1 root tomcat 172414 19 févr.  2023 web.xml

I use the URL : http://my_host:8080/cas

CAS webapp est deployed in .var/lib/tomcat10/webapps/cas

I have the Error 404 of Tomcat without information.

About logsn even ig log4j2.xml is configured in /etc/cas/config/ to display 
logs in /var/lib/cas/cas.log, I have nothing.

Even if I use java 21 from Oracle instead of openjdk-21-jdk, it should 
works.

Is that possible that the problems comes from the cas.properties files ? I 
think my file is good 

Thank you,

Jérémie


Le mercredi 7 février 2024 à 03:51:39 UTC+1, Ray Bon a écrit :

> Jérémie,
>
> Are there any files in TOMCAT_HOME/logs ?
> (Could also be CATALINA_HOME or CATALINA_BASE)
>
> A pristine clone of cas-overlay-template should display the login page at 
> http://localhost:8080/cas/login
>
> What URL are you using that you get 404?
>
> What does java -version say?
> How are you deploying to tomcat (tomcat built in deployer, copy to 
> TOMCAT_HOME/webapps, etc)?
>
> Is there an application name and version number on the 404 page?
>
> Ray
>
> P.S. you can use openjdk instead of oracle
>
> On Tue, 2024-02-06 at 16:12 +0100, Jérémie Pilette wrote:
>
> Notice: This message was sent from outside the University of Victoria 
> email system. Please be cautious with links and sensitive information.
>
> Hi Ray,
>
> ok for cas7. So I downloaded Java but from Oracle website :
>
> 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
>
>
>
>
>
> Le lun. 5 févr. 2024 à 20:45, Ray Bon  a écrit :
>
> Jérémie,
>
> You might be waiting a long time debian to upgrade java ;)
>
> You can download and install openjdk-21 (on Ubuntu, mine is in 
> /usr/lib/jvm)
>
> You can 
>
> $ JAVA_HOME=/usr/lib/jvm/jdk-21
>
> Then when you run ./gradlew ... in the same terminal it will use that 
> JAVA_HOME to find java.
>
> For tomcat, download it, untar in a directory you manage (I use 
> ~/Applications). Start tomcat from the same directory, it should pick up 
> the correct java.
>
> You can, of course, create a script that wraps the above, and leaves your 
> command line pointing to debian installed java.
>
> With this approach, you can use the latest cas.
>
> Java will be 'more' backwardly compatible than tomcat (I recall reading 
> somewhere that tomcat 10 has made some big changes) but stay as close to 
> version recommendations as possible.
>
> Cas also comes with an embedded tomcat. Your choice of deployment should 
> be base on the settings you will have in production (IMHO).
>
> If you are not getting log output, does the user that runs tomcat have 
> permission to write to /var/log ?
>
> Ray
>
> On Mon, 2024-02-05 at 16:50 +0100, Jérémie Pilette wrote:
>
> Notice: This message was sent from outside the University of Victoria 
> email system. Please be cautious with links and sensitive information.
>
> Hi Ray Bon, I am using Debian 12 and openjdk is the version 18. So, must I 
> install openjdk-11-jdk ? (18 > 11 should be good ...)
> The same for Tomcat, tomcat9 is required for cas 6.6 so it should be good 
> for tomcat10 too .. normally ...
>
> If I choose cas 7, I need to install openjdk-21. I wanted to let the good 
> packages from Debian 12
>
> I think I have activate the logs but maybe I forget something... there are 
> no logs  displayed in /var/log/cas/cas.log ... evne if it is configured in 
> /etc/cas/config/log4j2.xml ...
>
> Le lun. 5 févr. 2024 à 15:48, Ray Bon  a écrit :
>
> Jérémie,
>
> Is there a reason why java and tomcat are not the versions in the 
> requirements?
>
> You do not need to concern yourself with spring boot and gradle; they will 
> be handled by the build process.
>
> If you are starting out, use the most recent version.
> See https://fawnoos.com/2023/12/15/cas70x-gettingstarted-overlay/
>
> If you are still having problems, turn up the logging, and provide more 
> detail. Such as, what are you doing that results in 404.
>
> Ray
>
> On Sun, 2024-02-04 at 07:41 -0800, Jérémie 

Re: [cas-user] Alway Error 404 after compilation deployment

2024-02-06 Thread Ray Bon
Jérémie,

Are there any files in TOMCAT_HOME/logs ?
(Could also be CATALINA_HOME or CATALINA_BASE)

A pristine clone of cas-overlay-template should display the login page at 
http://localhost:8080/cas/login

What URL are you using that you get 404?

What does java -version say?
How are you deploying to tomcat (tomcat built in deployer, copy to 
TOMCAT_HOME/webapps, etc)?

Is there an application name and version number on the 404 page?

Ray

P.S. you can use openjdk instead of oracle

On Tue, 2024-02-06 at 16:12 +0100, Jérémie Pilette wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hi Ray,

ok for cas7. So I downloaded Java but from Oracle website :

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




Le lun. 5 févr. 2024 à 20:45, Ray Bon mailto:r...@uvic.ca>> a 
écrit :
Jérémie,

You might be waiting a long time debian to upgrade java ;)

You can download and install openjdk-21 (on Ubuntu, mine is in /usr/lib/jvm)

You can

$ JAVA_HOME=/usr/lib/jvm/jdk-21

Then when you run ./gradlew ... in the same terminal it will use that JAVA_HOME 
to find java.

For tomcat, download it, untar in a directory you manage (I use 
~/Applications). Start tomcat from the same directory, it should pick up the 
correct java.

You can, of course, create a script that wraps the above, and leaves your 
command line pointing to debian installed java.

With this approach, you can use the latest cas.

Java will be 'more' backwardly compatible than tomcat (I recall reading 
somewhere that tomcat 10 has made some big changes) but stay as close to 
version recommendations as possible.

Cas also comes with an embedded tomcat. Your choice of deployment should be 
base on the settings you will have in production (IMHO).

If you are not getting log output, does the user that runs tomcat have 
permission to write to /var/log ?

Ray

On Mon, 2024-02-05 at 16:50 +0100, Jérémie Pilette wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hi Ray Bon, I am using Debian 12 and openjdk is the version 18. So, must I 
install openjdk-11-jdk ? (18 > 11 should be good ...)
The same for Tomcat, tomcat9 is required for cas 6.6 so it should be good for 
tomcat10 too .. normally ...

If I choose cas 7, I need to install openjdk-21. I wanted to let the good 
packages from Debian 12

I think I have activate the logs but maybe I forget something... there are no 
logs  displayed in /var/log/cas/cas.log ... evne if it is configured in 
/etc/cas/config/log4j2.xml ...

Le lun. 5 févr. 2024 à 15:48, Ray Bon mailto:r...@uvic.ca>> a 
écrit :
Jérémie,

Is there a reason why java and tomcat are not the versions in the requirements?

You do not need to concern yourself with spring boot and gradle; they will be 
handled by the build process.

If you are starting out, use the most recent version.
See https://fawnoos.com/2023/12/15/cas70x-gettingstarted-overlay/

If you are still having problems, turn up the logging, and provide more detail. 
Such as, what are you doing that results in 404.

Ray

On Sun, 2024-02-04 at 07:41 -0800, Jérémie Pilette wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hi everybody,
I try to compile and deploy cas-overlay-template from initializr but I have 
always Error 404 Not found.

Requirement

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 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+unsubscr...@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.



--
- 

Re: [cas-user] Alway Error 404 after compilation deployment

2024-02-06 Thread Jérémie Pilette
Hi Ray,

ok for cas7. So I downloaded Java but from Oracle website :

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





Le lun. 5 févr. 2024 à 20:45, Ray Bon  a écrit :

> Jérémie,
>
> You might be waiting a long time debian to upgrade java ;)
>
> You can download and install openjdk-21 (on Ubuntu, mine is in
> /usr/lib/jvm)
>
> You can
>
> $ JAVA_HOME=/usr/lib/jvm/jdk-21
>
> Then when you run ./gradlew ... in the same terminal it will use that
> JAVA_HOME to find java.
>
> For tomcat, download it, untar in a directory you manage (I use
> ~/Applications). Start tomcat from the same directory, it should pick up
> the correct java.
>
> You can, of course, create a script that wraps the above, and leaves your
> command line pointing to debian installed java.
>
> With this approach, you can use the latest cas.
>
> Java will be 'more' backwardly compatible than tomcat (I recall reading
> somewhere that tomcat 10 has made some big changes) but stay as close to
> version recommendations as possible.
>
> Cas also comes with an embedded tomcat. Your choice of deployment should
> be base on the settings you will have in production (IMHO).
>
> If you are not getting log output, does the user that runs tomcat have
> permission to write to /var/log ?
>
> Ray
>
> On Mon, 2024-02-05 at 16:50 +0100, Jérémie Pilette wrote:
>
> Notice: This message was sent from outside the University of Victoria
> email system. Please be cautious with links and sensitive information.
>
> Hi Ray Bon, I am using Debian 12 and openjdk is the version 18. So, must I
> install openjdk-11-jdk ? (18 > 11 should be good ...)
> The same for Tomcat, tomcat9 is required for cas 6.6 so it should be good
> for tomcat10 too .. normally ...
>
> If I choose cas 7, I need to install openjdk-21. I wanted to let the good
> packages from Debian 12
>
> I think I have activate the logs but maybe I forget something... there are
> no logs  displayed in /var/log/cas/cas.log ... evne if it is configured in
> /etc/cas/config/log4j2.xml ...
>
> Le lun. 5 févr. 2024 à 15:48, Ray Bon  a écrit :
>
> Jérémie,
>
> Is there a reason why java and tomcat are not the versions in the
> requirements?
>
> You do not need to concern yourself with spring boot and gradle; they will
> be handled by the build process.
>
> If you are starting out, use the most recent version.
> See https://fawnoos.com/2023/12/15/cas70x-gettingstarted-overlay/
>
> If you are still having problems, turn up the logging, and provide more
> detail. Such as, what are you doing that results in 404.
>
> Ray
>
> On Sun, 2024-02-04 at 07:41 -0800, Jérémie Pilette wrote:
>
> Notice: This message was sent from outside the University of Victoria
> email system. Please be cautious with links and sensitive information.
>
> Hi everybody,
> I try to compile and deploy cas-overlay-template from initializr but I
> have always Error 404 Not found.
>
> Requirement
>
> *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 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+unsubscr...@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
> 
> .
>
>
> --
> - 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+unsubscr...@apereo.org.
> To view this discussion on the web visit
> 

Re: [cas-user] Alway Error 404 after compilation deployment

2024-02-05 Thread Ray Bon
Jérémie,

You might be waiting a long time debian to upgrade java ;)

You can download and install openjdk-21 (on Ubuntu, mine is in /usr/lib/jvm)

You can

$ JAVA_HOME=/usr/lib/jvm/jdk-21

Then when you run ./gradlew ... in the same terminal it will use that JAVA_HOME 
to find java.

For tomcat, download it, untar in a directory you manage (I use 
~/Applications). Start tomcat from the same directory, it should pick up the 
correct java.

You can, of course, create a script that wraps the above, and leaves your 
command line pointing to debian installed java.

With this approach, you can use the latest cas.

Java will be 'more' backwardly compatible than tomcat (I recall reading 
somewhere that tomcat 10 has made some big changes) but stay as close to 
version recommendations as possible.

Cas also comes with an embedded tomcat. Your choice of deployment should be 
base on the settings you will have in production (IMHO).

If you are not getting log output, does the user that runs tomcat have 
permission to write to /var/log ?

Ray

On Mon, 2024-02-05 at 16:50 +0100, Jérémie Pilette wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hi Ray Bon, I am using Debian 12 and openjdk is the version 18. So, must I 
install openjdk-11-jdk ? (18 > 11 should be good ...)
The same for Tomcat, tomcat9 is required for cas 6.6 so it should be good for 
tomcat10 too .. normally ...

If I choose cas 7, I need to install openjdk-21. I wanted to let the good 
packages from Debian 12

I think I have activate the logs but maybe I forget something... there are no 
logs  displayed in /var/log/cas/cas.log ... evne if it is configured in 
/etc/cas/config/log4j2.xml ...

Le lun. 5 févr. 2024 à 15:48, Ray Bon mailto:r...@uvic.ca>> a 
écrit :
Jérémie,

Is there a reason why java and tomcat are not the versions in the requirements?

You do not need to concern yourself with spring boot and gradle; they will be 
handled by the build process.

If you are starting out, use the most recent version.
See https://fawnoos.com/2023/12/15/cas70x-gettingstarted-overlay/

If you are still having problems, turn up the logging, and provide more detail. 
Such as, what are you doing that results in 404.

Ray

On Sun, 2024-02-04 at 07:41 -0800, Jérémie Pilette wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hi everybody,
I try to compile and deploy cas-overlay-template from initializr but I have 
always Error 404 Not found.

Requirement

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 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+unsubscr...@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.


-- 
- 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/c26545c065f99dcd6c7b4c7cb8ce4e00985e3dc3.camel%40uvic.ca.


Re: [cas-user] Alway Error 404 after compilation deployment

2024-02-05 Thread Jérémie Pilette
Hi Ray Bon, I am using Debian 12 and openjdk is the version 18. So, must I
install openjdk-11-jdk ? (18 > 11 should be good ...)
The same for Tomcat, tomcat9 is required for cas 6.6 so it should be good
for tomcat10 too .. normally ...

If I choose cas 7, I need to install openjdk-21. I wanted to let the good
packages from Debian 12

I think I have activate the logs but maybe I forget something... there are
no logs  displayed in /var/log/cas/cas.log ... evne if it is configured in
/etc/cas/config/log4j2.xml ...

Le lun. 5 févr. 2024 à 15:48, Ray Bon  a écrit :

> Jérémie,
>
> Is there a reason why java and tomcat are not the versions in the
> requirements?
>
> You do not need to concern yourself with spring boot and gradle; they will
> be handled by the build process.
>
> If you are starting out, use the most recent version.
> See https://fawnoos.com/2023/12/15/cas70x-gettingstarted-overlay/
>
> If you are still having problems, turn up the logging, and provide more
> detail. Such as, what are you doing that results in 404.
>
> Ray
>
> On Sun, 2024-02-04 at 07:41 -0800, Jérémie Pilette wrote:
>
> Notice: This message was sent from outside the University of Victoria
> email system. Please be cautious with links and sensitive information.
>
> Hi everybody,
> I try to compile and deploy cas-overlay-template from initializr but I
> have always Error 404 Not found.
>
> Requirement
>
> *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 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+unsubscr...@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
> 
> .
>

-- 
- 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/CAM25OR8mRtug_b72kbC54XwctkLbvVs292Q9zFbG0SRbzmPrQQ%40mail.gmail.com.


Re: [cas-user] Alway Error 404 after compilation deployment

2024-02-05 Thread Ray Bon
Jérémie,

Is there a reason why java and tomcat are not the versions in the requirements?

You do not need to concern yourself with spring boot and gradle; they will be 
handled by the build process.

If you are starting out, use the most recent version.
See https://fawnoos.com/2023/12/15/cas70x-gettingstarted-overlay/

If you are still having problems, turn up the logging, and provide more detail. 
Such as, what are you doing that results in 404.

Ray

On Sun, 2024-02-04 at 07:41 -0800, Jérémie Pilette wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hi everybody,
I try to compile and deploy cas-overlay-template from initializr but I have 
always Error 404 Not found.

Requirement

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+unsubscr...@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.