Hi all - It turned out to be a Java issue. I must admit we're running some old code, and recent system updates broke the cas-management service. I had also switched the authorized/admin users from properties to JSON while troubleshooting which also goofed things up.
Thanks for reviewing. -Jeff On Wed, Oct 4, 2023 at 10:56 AM Ray Bon <[email protected]> wrote: > Jeff, > > Was this part of an upgrade? > It could be that a property has changed names. As artur said, you could > start with a vanilla version and the items in one at a time. > There is also the possibility that there is an old/incompatible library > hanging around. > > These loggers may help: > > <!-- outputs only during startup --> > <AsyncLogger name="org.apereo.cas.config" level="warn" /> > > <!-- DEBUG Found key 'property.name' in PropertySource '...' > TRACE Searching for key 'property.name' in PropertySource '...' --> > <AsyncLogger name="org.springframework.boot.context.properties.source" > level="warn" includeLocation="true"/> > <AsyncLogger name="org.springframework.boot.autoconfigure.condition" > level="warn" includeLocation="true" /> > <!-- DEBUG CONDITIONS EVALUATION REPORT about beans created --> > <AsyncLogger > name="org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener" > level="warn" includeLocation="true" /> > > <!-- DEBUG Autowiring by type from bean name '...' > TRACE Returning cached instance of singleton bean '...' > Finished creating instance of bean '...' --> > <AsyncLogger name="org.springframework.beans" level="warn" > includeLocation="true" /> > <!-- TRACE Searching for key 'maybe spring property' in PropertySource '' > --> > <AsyncLogger name="org.springframework.core.env" level="warn" > includeLocation="true" /> > > <!-- TRACE Resolved placeholder 'property.name' --> > <AsyncLogger name="org.springframework.util" level="warn" > includeLocation="true"/> > > Ray > > On Mon, 2023-10-02 at 11:14 -0400, Jeffrey Ramsay wrote: > > Notice: This message was sent from outside the University of Victoria > email system. Please be cautious with links and sensitive information. > > Hello - > > My application stopped working after a rebuild with the following > error message, and I can't seem to find the reason. > > Is there a debugging setting I can use to find which setting is the > problem? > > 2023-10-02 11:10:38,217 WARN > [org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext] > - <Exception encountered during context initialization - cancelling refresh > attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: > Error creating bean with name > 'org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration': > Unsatisfied dependency expressed through method 'setConfigurers' parameter > 0; nested exception is > org.springframework.beans.factory.UnsatisfiedDependencyException: Error > creating bean with name 'casManagementWebAppConfiguration': Unsatisfied > dependency expressed through field 'authenticationClients'; nested > exception is org.springframework.beans.factory.BeanCreationException: Error > creating bean with name 'authenticationClients' defined in class path > resource > [org/apereo/cas/mgmt/config/CasManagementAuthenticationConfiguration.class]: > Bean instantiation via factory method failed; nested exception is > org.springframework.beans.BeanInstantiationException: Failed to instantiate > [java.util.List]: Factory method 'authenticationClients' threw exception; > nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name 'authorizationGenerator' defined in class path resource > [org/apereo/cas/mgmt/config/CasManagementAuthorizationConfiguration.class]: > Bean instantiation via factory method failed; nested exception is > org.springframework.beans.BeanInstantiationException: Failed to instantiate > [org.pac4j.core.authorization.generator.AuthorizationGenerator]: Factory > method 'authorizationGenerator' threw exception; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name 'springSecurityPropertiesAuthorizationGenerator' defined in > class path resource > [org/apereo/cas/mgmt/config/CasManagementAuthorizationConfiguration.class]: > Bean instantiation via factory method failed; nested exception is > org.springframework.beans.BeanInstantiationException: Failed to instantiate > [org.pac4j.core.authorization.generator.AuthorizationGenerator]: Factory > method 'springSecurityPropertiesAuthorizationGenerator' threw exception; > nested exception is org.hjson.ParseException: Extra characters in input: 44 > at 22:3> > 2023-10-02 11:10:38,462 ERROR [org.springframework.boot.SpringApplication] > - <Application run failed> > > Thanks, > -Jeff > > > -- > - 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/7e3cead75d77d0c162ab806b44ea5d62f4d25dc4.camel%40uvic.ca > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/7e3cead75d77d0c162ab806b44ea5d62f4d25dc4.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 [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2BTBYOQBXW_gfpiEZEbeuYswFewX36uFL1ix10ZaJwGYdP5Vyw%40mail.gmail.com.
