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 <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 <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
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/e2eb6a9176088650152d13b872c957b40fbfc2fb.camel%40uvic.ca?utm_medium=email&utm_source=footer>
> .
>
>
> --
> - 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/c26545c065f99dcd6c7b4c7cb8ce4e00985e3dc3.camel%40uvic.ca
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/c26545c065f99dcd6c7b4c7cb8ce4e00985e3dc3.camel%40uvic.ca?utm_medium=email&utm_source=footer>
> .
>

-- 
- 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/CAM25OR9wXa%3DVP0EOTZnK%2BgEHr1aTWGxCm8pLhyO04gZqstp%3D7g%40mail.gmail.com.

Reply via email to