Your deployment is crashing. That's why you get no logs from CAS. Look into Tomcat/Catalina logs and you'll find a stacktrace or an indication of what the problem may be.
On Wed, Oct 20, 2021 at 9:52 AM Vittore Zen <[email protected]> wrote: > > It was my own conclusion, so > first I checked files with: > diff /opt/cas-overlay-template/etc/cas/config/cas.properties > /etc/cas/config/cas.properties > Result: same files > After I have created an executable file /usr/share/tomcat9/bin/setenv.sh: > > CATALINA_OPTS="$CATALINA_OPTS > -Dcas.standalone.configurationDirectory=/etc/cas/config" > export CATALINA_OPTS > JAVA_OPTS="-Dcas.standalone.configurationDirectory=/etc/cas/config" > export JAVA_OPTS > > run /usr/share/tomcat9/bin/catalina.sh run > Same problem: > > 2021-10-20 07:47:28,168 INFO > [org.apereo.cas.configuration.DefaultCasConfigurationPropertiesSourceLocator] > - <Configuration files found at [/etc/cas/config] are [[file > [/etc/cas/config/cas.properties]]] under profile(s) [[standalone]]> > 2021-10-20 07:47:28,291 INFO > [org.apereo.cas.web.CasWebApplicationServletInitializer] - <The following > profiles are active: standalone> > > :( Vittore :( > > > Il giorno mar 19 ott 2021 alle ore 18:25 Ray Bon <[email protected]> ha scritto: >> >> Vittore, >> >> It could be that your cas.properties file is not being read. >> The default location is under /etc/cas/config >> >> You can pass a different location on tomcat start >> -Dcas.standalone.configurationDirectory=/home/uvtomcat/config >> >> or add it to setenv.sh in TOMCAT_HOME/bin >> CATALINA_OPTS="$CATALINA_OPTS >> -Dcas.standalone.configurationDirectory=/home/uvtomcat/config" >> >> >> Ray >> >> On Mon, 2021-10-18 at 23:21 -0700, Vittore Zen wrote: >> >> Notice: This message was sent from outside the University of Victoria email >> system. Please be cautious with links and sensitive information. >> >> Hi, >> >> a strange (newbie?) problem. >> When I run "gradlew run" all work fine: no error and users can authenticate >> using ldap. >> When I copy cas.war inside tomcat webapps folder server parsed correctly, >> start cas application, but in logs I don't see "registering LDAP" message >> and users can't authenticate. >> >> Someone can help me? >> Thanks in advance. >> v. >> >> -- >> >> Ray Bon >> Programmer Analyst >> Development Services, University Systems >> 2507218831 | CLE 019 | [email protected] >> >> I acknowledge and respect the lək̓ʷəŋən peoples on whose traditional >> territory the university stands, and the Songhees, Esquimalt and WSÁNEĆ >> peoples whose historical relationships with the land continue to this day. >> >> -- >> - 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/a/apereo.org/d/msgid/cas-user/7ca1ba9ee671b2c9ae6b5c8c00bfb418758085fd.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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAO79vSBjrqg9Cx%3DzbYaBJ4cm7cMXrvvxhpn8sYTj-gjwbm_Qmw%40mail.gmail.com. -- - 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 [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAGSBKkePToJrz1GwJV6Q1qujcUf61WhYAeuV3wmuiFpxeUVY%2BA%40mail.gmail.com.
