Hi,
I install a very basic CAS 7.2.5 on a new Alma Linux 9.6 this way :
CAS Initializr :
Deployement type : Executable
Checked : Shell, Github actions, OpenRewrite
Dependencies : Apache Tomcat, LDAP & Active Directory Authentication
$ ./gradlew clean build
$ java -jar build/libs/cas.war
It works and I can authenticate to an LDAP account.
Now I switch to
CAS Initializr :
Deployement type : Web
Same checked items and dependancies.
I copy build/libs/cas.war to $JETTY_BASE/webapps, it's deployed by Jetty. But when I connect to the CAS : 500 Internal server error
Error: jakarta.servlet.ServletException: Request processing failed: org.springframework.webflow.execution.FlowExecutionException: Exception thrown in state 'null' of flow 'login'
In cas.log :
2025-07-25 16:01:26,349 ERROR [org.apereo.cas.web.support.filters.AbstractSecurityFilter] - <Request processing failed: org.springframework.webflow.execution.FlowExecutionException: Exception thrown in state 'null' of flow 'login'>
jakarta.servlet.ServletException: Request processing failed: org.springframework.webflow.execution.FlowExecutionException: Exception thrown in state 'null' of flow 'login'
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1022) ~[spring-webmvc-6.2.5.jar:6.2.5]
The only configuration file is /etc/cas/config/application.properties and doesn't change between the two tests :
logging.config=file:/etc/cas/config/log4j2.xml
logging.level.org.apereo.cas=DEBUG
cas.authn.accept.users=
cas.authn.ldap[0].name=myLDAP
cas.authn.ldap[0].type=ANONYMOUS
cas.authn.ldap[0].base-dn=dc=example,dc=com
cas.authn.ldap[0].ldap-url=ldap://ldap.example.com:389
cas.authn.ldap[0].search-filter=(&(objectClass=posixAccount)(uid={user}))
cas.authn.ldap[0].subtree-search=true
I don't see any erreor in log files except a lot of Java exceptions.
Thanks for your help