Java doesn't use or recognize a systems root store afaik, at least on 
linux, windows can use or used to be able to 
use -Djavax.net.ssl.trustStoreType=Windows-ROOT, not sure if that even 
works still , java uses its own cacerts file in /lib/security/ , you need 
to put your certs CAS will need into a java keystore file, here is AD 
conifg we use, the keystore is of type JKS and is stored in the file 
/etc/cas/keys/carootcerts

cas.authn.ldap[0].type=AUTHENTICATED
cas.authn.ldap[0].baseDn=DC=Example,DC=Com
cas.authn.ldap[0].bindCredential=password
cas.authn.ldap[0][email protected]
cas.authn.ldap[0].blockWaitTime=5000
cas.authn.ldap[0].collectDnAttribute=true
cas.authn.ldap[0].connectTimeout=5000
cas.authn.ldap[0].dnFormat=CN=%s,DC=EXAMPLE,DC=COM
cas.authn.ldap[0].failFast=true
cas.authn.ldap[0].followReferrals=false
cas.authn.ldap[0].idleTime=5000
cas.authn.ldap[0].keystore=file:/etc/cas/keys/carootcerts
cas.authn.ldap[0].keystorePassword=changeit
cas.authn.ldap[0].keystoreType=JKS
cas.authn.ldap[0].useStartTls=true
cas.authn.ldap[0].ldapUrl=ldaps://ldap1.example.com:636 
ldaps://ldap2.example.com:636
cas.authn.ldap[0].maxPoolSize=10
cas.authn.ldap[0].minPoolSize=3
cas.authn.ldap[0].poolPassivator=BIND
cas.authn.ldap[0].searchFilter=sAMAccountName={user}
cas.authn.ldap[0].subtreeSearch=true
cas.authn.ldap[0].principalAttributeList=sn,cn,displayName,givenName,eduPersonAffiliation,eduPersonPrincipalName,eduPersonEntitlement,employeeNumber,employeeType,memberOf,userPrincipalName,mail,otherMailbox,mobile
cas.authn.ldap[0].prunePeriod=5000
cas.authn.ldap[0].validateOnCheckout=true
cas.authn.ldap[0].validatePeriod=600
cas.authn.ldap[0].validatePeriodically=true

On Saturday, April 16, 2022 at 10:15:22 AM UTC-5 [email protected] 
wrote:

> Hi, 
>
> I have a basic cas installation (installed using overlay-template running 
> in tomcat9 on a debian 11 machine.
> Each time I try to configure ldap support to lookup users in Active 
> Directory deployment of root.war in my tomcat fails.
>
> Active Directory is running with self signed certificate for ldaps support.
> The certificate is placed in both
> the certificated is added to trust with update-ca-certificates
>
> ldapsearch works fine with following settings:
> # TLS certificates (needed for GnuTLS)
> TLS_CACERT      /etc/ssl/certs/ca-certificates.crt
> TLS_REQCERT always
>
> my cas.properties:
> ##
> # CAS ldap
> #
> cas.authn.ldap[0].type=DIRECT
> cas.authn.ldap[0].ldap-url=ldaps://my-AD.domain.com
> cas.authn.ldap[0].use-start-tls=true
> cas.authn.ldap[0].dn-format=sAMAccountName=%s,ou=ORG,dc=domain,dc=com
> cas.authn.ldap[0].base-dn=ou=ORG,dc=domain,dc=com
> cas.authn.ldap[0].search-filter=sAMAccountName={user}
> cas.authn.ldap[0].bind-dn=cn=ldaplookupuser,ou=ORG,dc=domain,dc=com
> cas.authn.ldap[0].bind-credential=superserectpassword
>
> cas.authn.ldap[0].principal-attribute-list=mail,sn,givenName,cn,name,sAMAccountName,memberOf
>
> (if I comment out all the ldap stuff in cas.properties, then I can log in 
> with "casuser/Mellon")
>
> dependencies in my build.gradle:
> dependencies {
>     /**
>     * Do NOT modify the lines below or else you will risk breaking 
> dependency management.
>     */
>     implementation 
> enforcedPlatform("org.apereo.cas:cas-server-support-bom:${project.'cas.version'}")
>     implementation 
> platform(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES)
>
>     /**
>      * CAS dependencies and modules may be listed here.
>      *
>      * There is no need to specify the version number for each dependency
>      * since versions are all resolved and controlled by the dependency 
> management
>      * plugin via the CAS bom.
>      **/
>
>     implementation "org.apereo.cas:cas-server-support-ldap"
>     implementation "org.apereo.cas:cas-server-support-throttle"
>     implementation 
> "org.apereo.cas:cas-server-support-json-service-registry"
>     implementation "org.apereo.cas:cas-server-core-api-configuration-model"
>     implementation "org.apereo.cas:cas-server-webapp-init"
>
>     if (project.hasProperty("casModules")) {
>         def dependencies = project.getProperty("casModules").split(",")
>         dependencies.each {
>             def projectsToAdd = rootProject.subprojects.findAll {project ->
>                 project.name == "cas-server-core-${it}" || project.name 
> == "cas-server-support-${it}"
>             }
>             projectsToAdd.each {implementation it}
>         }
>     }
>
>
> Error:
> Caused by: 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'serviceValidateController' defined in class path 
> resource 
> [org/apereo/cas/web/config/CasValidationConfiguration$CasValidationControllerConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 'serviceValidateController' 
> parameter 1; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'defaultAuthenticationSystemSupport' defined in 
> class path resource 
> [org/apereo/cas/config/CasCoreAuthenticationSupportConfiguration$CasCoreAuthenticationSupportBaseConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 
> 'defaultAuthenticationSystemSupport' parameter 0; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'authenticationTransactionManager' defined in class 
> path resource 
> [org/apereo/cas/config/CasCoreAuthenticationConfiguration$CasCoreAuthenticationManagerConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 
> 'authenticationTransactionManager' parameter 0; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'casAuthenticationManager' defined in class path 
> resource 
> [org/apereo/cas/config/CasCoreAuthenticationConfiguration$CasCoreAuthenticationManagerConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 'casAuthenticationManager' 
> parameter 2; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'authenticationEventExecutionPlan' defined in class 
> path resource 
> [org/apereo/cas/config/CasCoreAuthenticationConfiguration$CasCoreAuthenticationPlanConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 
> 'authenticationEventExecutionPlan' parameter 0; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'ldapAuthenticationEventExecutionPlanConfigurer' 
> defined in class path resource 
> [org/apereo/cas/config/LdapAuthenticationConfiguration$LdapAuthenticationPlanConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 
> 'ldapAuthenticationEventExecutionPlanConfigurer' parameter 0; nested 
> exception is org.springframework.beans.factory.BeanCreationException: Error 
> creating bean with name 'ldapAuthenticationHandlers' defined in class path 
> resource 
> [org/apereo/cas/config/LdapAuthenticationConfiguration$LdapAuthenticationPlanConfiguration.class]:
>  
> Bean instantiation via factory method failed; nested exception is 
> org.springframework.beans.BeanInstantiationException: Failed to instantiate 
> [org.apereo.cas.util.spring.BeanContainer]: Factory method 
> 'ldapAuthenticationHandlers' threw exception; nested exception is 
> java.lang.IllegalStateException: Could not initialize pool size
>
>
>
> Full log from startup
> 16-Apr-2022 17:00:11.713 INFO [Thread-8] 
> org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler 
> ["http-nio-8080"]
> 16-Apr-2022 17:00:11.715 INFO [Thread-8] 
> org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler 
> ["https-openssl-nio-443"]
> 16-Apr-2022 17:00:11.716 INFO [Thread-8] 
> org.apache.catalina.core.StandardService.stopInternal Stopping service 
> [Catalina]
> 16-Apr-2022 17:00:11.717 INFO [Thread-8] 
> org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler 
> ["http-nio-8080"]
> 16-Apr-2022 17:00:11.766 INFO [Thread-8] 
> org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler 
> ["https-openssl-nio-443"]
> 16-Apr-2022 17:00:11.821 INFO [Thread-8] 
> org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler 
> ["http-nio-8080"]
> 16-Apr-2022 17:00:11.828 INFO [Thread-8] 
> org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler 
> ["https-openssl-nio-443"]
> 16-Apr-2022 17:00:11.845 WARNING [Thread-8] 
> org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The 
> web application [ROOT] appears to have started a thread named 
> [Log4j2-TF-1-AsyncLogger[]-1] but has failed to stop it. This is very 
> likely to create a memory leak. Stack trace of thread:
>  [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
>
>  
> [email protected]/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
>
>  
> [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
>
>  
> com.lmax.disruptor.TimeoutBlockingWaitStrategy.waitFor(TimeoutBlockingWaitStrategy.java:38)
>
>  
> com.lmax.disruptor.ProcessingSequenceBarrier.waitFor(ProcessingSequenceBarrier.java:56)
>
>  
> com.lmax.disruptor.BatchEventProcessor.processEvents(BatchEventProcessor.java:159)
>  com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:125)
>  [email protected]/java.lang.Thread.run(Thread.java:829)
> 16-Apr-2022 17:00:11.847 WARNING [Thread-8] 
> org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The 
> web application [ROOT] appears to have started a thread named 
> [Log4j2-TF-9-Scheduled-5] but has failed to stop it. This is very likely to 
> create a memory leak. Stack trace of thread:
>  [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
>
>  
> [email protected]/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
>
>  
> [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
>
>  
> [email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
>
>  
> [email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
>
>  
> [email protected]/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054)
>
>  
> [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
>
>  
> [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>  [email protected]/java.lang.Thread.run(Thread.java:829)
> 16-Apr-2022 17:00:11.849 WARNING [Thread-8] 
> org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The 
> web application [ROOT] appears to have started a thread named 
> [ldaptive-ConnectionFactoryTransport-io-1-1] but has failed to stop it. 
> This is very likely to create a memory leak. Stack trace of thread:
>  io.netty.channel.epoll.Native.epollWait0(Native Method)
>  io.netty.channel.epoll.Native.epollWait(Native.java:177)
>  io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:281)
>  io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:351)
>
>  
> io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986)
>  io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
>
>  
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
>  [email protected]/java.lang.Thread.run(Thread.java:829)
> 16-Apr-2022 17:00:11.851 WARNING [Thread-8] 
> org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The 
> web application [ROOT] appears to have started a thread named 
> [LdapURLActivatorService@1136110683] but has failed to stop it. This is 
> very likely to create a memory leak. Stack trace of thread:
>  [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
>
>  
> [email protected]/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
>
>  
> [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
>
>  
> [email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
>
>  
> [email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
>
>  
> [email protected]/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054)
>
>  
> [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
>
>  
> [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>  [email protected]/java.lang.Thread.run(Thread.java:829)
> 16-Apr-2022 17:00:11.854 WARNING [Thread-8] 
> org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The 
> web application [ROOT] appears to have started a thread named 
> [ldaptive-ConnectionFactoryTransport-io-1-2] but has failed to stop it. 
> This is very likely to create a memory leak. Stack trace of thread:
>  io.netty.channel.epoll.Native.epollWait0(Native Method)
>  io.netty.channel.epoll.Native.epollWait(Native.java:177)
>  io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:281)
>  io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:351)
>
>  
> io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986)
>  io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
>
>  
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
>  [email protected]/java.lang.Thread.run(Thread.java:829)
> 16-Apr-2022 17:00:13.094 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log Server version name: 
>   Apache Tomcat/9.0.43 (Debian)
> 16-Apr-2022 17:00:13.107 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log Server built:         
>  Jan 4 1970 19:03:34 UTC
> 16-Apr-2022 17:00:13.107 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log Server version 
> number: 9.0.43.0
> 16-Apr-2022 17:00:13.108 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log OS Name:             
>   Linux
> 16-Apr-2022 17:00:13.108 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log OS Version:           
>  5.10.0-13-amd64
> 16-Apr-2022 17:00:13.109 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log Architecture:         
>  amd64
> 16-Apr-2022 17:00:13.109 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log Java Home:           
>   /usr/lib/jvm/java-11-openjdk-amd64
> 16-Apr-2022 17:00:13.109 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log JVM Version:         
>   11.0.14+9-post-Debian-1deb11u1
> 16-Apr-2022 17:00:13.109 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:           
>  Debian
> 16-Apr-2022 17:00:13.109 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:       
>   /var/lib/tomcat9
> 16-Apr-2022 17:00:13.110 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:       
>   /usr/share/tomcat9
> 16-Apr-2022 17:00:13.123 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log Command line 
> argument: --add-opens=java.base/java.lang=ALL-UNNAMED
> 16-Apr-2022 17:00:13.123 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log Command line 
> argument: --add-opens=java.base/java.io=ALL-UNNAMED
> 16-Apr-2022 17:00:13.123 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log Command line 
> argument: --add-opens=java.base/java.util=ALL-UNNAMED
> 16-Apr-2022 17:00:13.123 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log Command line 
> argument: --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
> 16-Apr-2022 17:00:13.123 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log Command line 
> argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
> 16-Apr-2022 17:00:13.124 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log Command line 
> argument: 
> -Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties
> 16-Apr-2022 17:00:13.124 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log Command line 
> argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
> 16-Apr-2022 17:00:13.124 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log Command line 
> argument: -Djava.awt.headless=true
> 16-Apr-2022 17:00:13.124 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log Command line 
> argument: -Djdk.tls.ephemeralDHKeySize=2048
> 16-Apr-2022 17:00:13.124 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log Command line 
> argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
> 16-Apr-2022 17:00:13.124 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log Command line 
> argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
> 16-Apr-2022 17:00:13.125 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log Command line 
> argument: -Dignore.endorsed.dirs=
> 16-Apr-2022 17:00:13.126 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log Command line 
> argument: -Dcatalina.base=/var/lib/tomcat9
> 16-Apr-2022 17:00:13.126 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log Command line 
> argument: -Dcatalina.home=/usr/share/tomcat9
> 16-Apr-2022 17:00:13.126 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log Command line 
> argument: -Djava.io.tmpdir=/tmp
> 16-Apr-2022 17:00:13.136 INFO [main] 
> org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache 
> Tomcat Native library [1.2.26] using APR version [1.7.0].
> 16-Apr-2022 17:00:13.136 INFO [main] 
> org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR 
> capabilities: IPv6 [true], sendfile [true], accept filters [false], random 
> [true].
> 16-Apr-2022 17:00:13.138 INFO [main] 
> org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL 
> configuration: useAprConnector [false], useOpenSSL [true]
> 16-Apr-2022 17:00:13.142 INFO [main] 
> org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL 
> successfully initialized [OpenSSL 1.1.1n  15 Mar 2022]
> 16-Apr-2022 17:00:13.821 INFO [main] 
> org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler 
> ["http-nio-8080"]
> 16-Apr-2022 17:00:13.885 INFO [main] 
> org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler 
> ["https-openssl-nio-443"]
> 16-Apr-2022 17:00:14.490 INFO [main] 
> org.apache.catalina.startup.Catalina.load Server initialization in [1809] 
> milliseconds
> 16-Apr-2022 17:00:14.626 INFO [main] 
> org.apache.catalina.core.StandardService.startInternal Starting service 
> [Catalina]
> 16-Apr-2022 17:00:14.626 INFO [main] 
> org.apache.catalina.core.StandardEngine.startInternal Starting Servlet 
> engine: [Apache Tomcat/9.0.43 (Debian)]
> 16-Apr-2022 17:00:14.656 INFO [main] 
> org.apache.catalina.startup.HostConfig.deployWAR Deploying web application 
> archive [/var/lib/tomcat9/webapps/ROOT.war]
> 16-Apr-2022 17:00:25.415 INFO [main] 
> org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned 
> for TLDs yet contained no TLDs. Enable debug logging for this logger for a 
> complete list of JARs that were scanned but no TLDs were found in them. 
> Skipping unneeded JARs during scanning can improve startup time and JSP 
> compilation time.
> 16-Apr-2022 17:01:04.765 SEVERE [main] 
> org.apache.catalina.startup.HostConfig.deployWAR Error deploying web 
> application archive [/var/lib/tomcat9/webapps/ROOT.war]
> java.lang.IllegalStateException: Error starting child
> at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:720)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:706)
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:946)
> at 
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1792)
> at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at 
> org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
> at 
> java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
> at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:757)
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:426)
> at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1520)
> at 
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
> at 
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
> at 
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
> at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
> at 
> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936)
> at 
> org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:843)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at 
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
> at 
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at 
> org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
> at 
> java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
> at 
> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
> at 
> org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at 
> org.apache.catalina.core.StandardService.startInternal(StandardService.java:434)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at 
> org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:772)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
> at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:342)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:477)
> Caused by: org.apache.catalina.LifecycleException: Failed to start 
> component 
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
> at 
> org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
> at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
> ... 37 more
> Caused by: 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'serviceValidateController' defined in class path 
> resource 
> [org/apereo/cas/web/config/CasValidationConfiguration$CasValidationControllerConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 'serviceValidateController' 
> parameter 1; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'defaultAuthenticationSystemSupport' defined in 
> class path resource 
> [org/apereo/cas/config/CasCoreAuthenticationSupportConfiguration$CasCoreAuthenticationSupportBaseConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 
> 'defaultAuthenticationSystemSupport' parameter 0; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'authenticationTransactionManager' defined in class 
> path resource 
> [org/apereo/cas/config/CasCoreAuthenticationConfiguration$CasCoreAuthenticationManagerConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 
> 'authenticationTransactionManager' parameter 0; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'casAuthenticationManager' defined in class path 
> resource 
> [org/apereo/cas/config/CasCoreAuthenticationConfiguration$CasCoreAuthenticationManagerConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 'casAuthenticationManager' 
> parameter 2; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'authenticationEventExecutionPlan' defined in class 
> path resource 
> [org/apereo/cas/config/CasCoreAuthenticationConfiguration$CasCoreAuthenticationPlanConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 
> 'authenticationEventExecutionPlan' parameter 0; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'ldapAuthenticationEventExecutionPlanConfigurer' 
> defined in class path resource 
> [org/apereo/cas/config/LdapAuthenticationConfiguration$LdapAuthenticationPlanConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 
> 'ldapAuthenticationEventExecutionPlanConfigurer' parameter 0; nested 
> exception is org.springframework.beans.factory.BeanCreationException: Error 
> creating bean with name 'ldapAuthenticationHandlers' defined in class path 
> resource 
> [org/apereo/cas/config/LdapAuthenticationConfiguration$LdapAuthenticationPlanConfiguration.class]:
>  
> Bean instantiation via factory method failed; nested exception is 
> org.springframework.beans.BeanInstantiationException: Failed to instantiate 
> [org.apereo.cas.util.spring.BeanContainer]: Factory method 
> 'ldapAuthenticationHandlers' threw exception; nested exception is 
> java.lang.IllegalStateException: Could not initialize pool size
> at 
> org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:541)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$1(AbstractBeanFactory.java:374)
> at 
> org.springframework.cloud.context.scope.GenericScope$BeanLifecycleWrapper.getBean(GenericScope.java:376)
> at 
> org.springframework.cloud.context.scope.GenericScope.get(GenericScope.java:179)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:371)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
> at 
> org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154)
> at 
> org.springframework.cloud.context.scope.refresh.RefreshScope.eagerlyInitialize(RefreshScope.java:125)
> at 
> org.springframework.cloud.context.scope.refresh.RefreshScope.start(RefreshScope.java:117)
> at 
> org.springframework.cloud.context.scope.refresh.RefreshScope.onApplicationEvent(RefreshScope.java:112)
> at 
> org.springframework.cloud.context.scope.refresh.RefreshScope.onApplicationEvent(RefreshScope.java:67)
> at 
> org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)
> at 
> org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)
> at 
> org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)
> at 
> org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421)
> at 
> org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378)
> at 
> org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:938)
> at 
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:586)
> at 
> org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
> at 
> org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732)
> at 
> org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:414)
> at 
> org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
> at 
> org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:175)
> at 
> org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:155)
> at 
> org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:97)
> at 
> org.apereo.cas.util.spring.boot.AbstractCasSpringBootServletInitializer.onStartup(AbstractCasSpringBootServletInitializer.java:33)
> at 
> org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:174)
> at 
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5166)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> ... 38 more
> Caused by: 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'defaultAuthenticationSystemSupport' defined in 
> class path resource 
> [org/apereo/cas/config/CasCoreAuthenticationSupportConfiguration$CasCoreAuthenticationSupportBaseConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 
> 'defaultAuthenticationSystemSupport' parameter 0; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'authenticationTransactionManager' defined in class 
> path resource 
> [org/apereo/cas/config/CasCoreAuthenticationConfiguration$CasCoreAuthenticationManagerConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 
> 'authenticationTransactionManager' parameter 0; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'casAuthenticationManager' defined in class path 
> resource 
> [org/apereo/cas/config/CasCoreAuthenticationConfiguration$CasCoreAuthenticationManagerConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 'casAuthenticationManager' 
> parameter 2; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'authenticationEventExecutionPlan' defined in class 
> path resource 
> [org/apereo/cas/config/CasCoreAuthenticationConfiguration$CasCoreAuthenticationPlanConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 
> 'authenticationEventExecutionPlan' parameter 0; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'ldapAuthenticationEventExecutionPlanConfigurer' 
> defined in class path resource 
> [org/apereo/cas/config/LdapAuthenticationConfiguration$LdapAuthenticationPlanConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 
> 'ldapAuthenticationEventExecutionPlanConfigurer' parameter 0; nested 
> exception is org.springframework.beans.factory.BeanCreationException: Error 
> creating bean with name 'ldapAuthenticationHandlers' defined in class path 
> resource 
> [org/apereo/cas/config/LdapAuthenticationConfiguration$LdapAuthenticationPlanConfiguration.class]:
>  
> Bean instantiation via factory method failed; nested exception is 
> org.springframework.beans.BeanInstantiationException: Failed to instantiate 
> [org.apereo.cas.util.spring.BeanContainer]: Factory method 
> 'ldapAuthenticationHandlers' threw exception; nested exception is 
> java.lang.IllegalStateException: Could not initialize pool size
> at 
> org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:541)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$1(AbstractBeanFactory.java:374)
> at 
> org.springframework.cloud.context.scope.GenericScope$BeanLifecycleWrapper.getBean(GenericScope.java:376)
> at 
> org.springframework.cloud.context.scope.GenericScope.get(GenericScope.java:179)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:371)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
> at 
> org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
> at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1389)
> at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1309)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
> ... 71 more
> Caused by: 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'authenticationTransactionManager' defined in class 
> path resource 
> [org/apereo/cas/config/CasCoreAuthenticationConfiguration$CasCoreAuthenticationManagerConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 
> 'authenticationTransactionManager' parameter 0; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'casAuthenticationManager' defined in class path 
> resource 
> [org/apereo/cas/config/CasCoreAuthenticationConfiguration$CasCoreAuthenticationManagerConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 'casAuthenticationManager' 
> parameter 2; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'authenticationEventExecutionPlan' defined in class 
> path resource 
> [org/apereo/cas/config/CasCoreAuthenticationConfiguration$CasCoreAuthenticationPlanConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 
> 'authenticationEventExecutionPlan' parameter 0; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'ldapAuthenticationEventExecutionPlanConfigurer' 
> defined in class path resource 
> [org/apereo/cas/config/LdapAuthenticationConfiguration$LdapAuthenticationPlanConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 
> 'ldapAuthenticationEventExecutionPlanConfigurer' parameter 0; nested 
> exception is org.springframework.beans.factory.BeanCreationException: Error 
> creating bean with name 'ldapAuthenticationHandlers' defined in class path 
> resource 
> [org/apereo/cas/config/LdapAuthenticationConfiguration$LdapAuthenticationPlanConfiguration.class]:
>  
> Bean instantiation via factory method failed; nested exception is 
> org.springframework.beans.BeanInstantiationException: Failed to instantiate 
> [org.apereo.cas.util.spring.BeanContainer]: Factory method 
> 'ldapAuthenticationHandlers' threw exception; nested exception is 
> java.lang.IllegalStateException: Could not initialize pool size
> at 
> org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:541)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$1(AbstractBeanFactory.java:374)
> at 
> org.springframework.cloud.context.scope.GenericScope$BeanLifecycleWrapper.getBean(GenericScope.java:376)
> at 
> org.springframework.cloud.context.scope.GenericScope.get(GenericScope.java:179)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:371)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
> at 
> org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
> at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1389)
> at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1309)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
> ... 86 more
> Caused by: 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'casAuthenticationManager' defined in class path 
> resource 
> [org/apereo/cas/config/CasCoreAuthenticationConfiguration$CasCoreAuthenticationManagerConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 'casAuthenticationManager' 
> parameter 2; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'authenticationEventExecutionPlan' defined in class 
> path resource 
> [org/apereo/cas/config/CasCoreAuthenticationConfiguration$CasCoreAuthenticationPlanConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 
> 'authenticationEventExecutionPlan' parameter 0; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'ldapAuthenticationEventExecutionPlanConfigurer' 
> defined in class path resource 
> [org/apereo/cas/config/LdapAuthenticationConfiguration$LdapAuthenticationPlanConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 
> 'ldapAuthenticationEventExecutionPlanConfigurer' parameter 0; nested 
> exception is org.springframework.beans.factory.BeanCreationException: Error 
> creating bean with name 'ldapAuthenticationHandlers' defined in class path 
> resource 
> [org/apereo/cas/config/LdapAuthenticationConfiguration$LdapAuthenticationPlanConfiguration.class]:
>  
> Bean instantiation via factory method failed; nested exception is 
> org.springframework.beans.BeanInstantiationException: Failed to instantiate 
> [org.apereo.cas.util.spring.BeanContainer]: Factory method 
> 'ldapAuthenticationHandlers' threw exception; nested exception is 
> java.lang.IllegalStateException: Could not initialize pool size
> at 
> org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:541)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$1(AbstractBeanFactory.java:374)
> at 
> org.springframework.cloud.context.scope.GenericScope$BeanLifecycleWrapper.getBean(GenericScope.java:376)
> at 
> org.springframework.cloud.context.scope.GenericScope.get(GenericScope.java:179)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:371)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
> at 
> org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
> at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1389)
> at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1309)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
> ... 101 more
> Caused by: 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'authenticationEventExecutionPlan' defined in class 
> path resource 
> [org/apereo/cas/config/CasCoreAuthenticationConfiguration$CasCoreAuthenticationPlanConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 
> 'authenticationEventExecutionPlan' parameter 0; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'ldapAuthenticationEventExecutionPlanConfigurer' 
> defined in class path resource 
> [org/apereo/cas/config/LdapAuthenticationConfiguration$LdapAuthenticationPlanConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 
> 'ldapAuthenticationEventExecutionPlanConfigurer' parameter 0; nested 
> exception is org.springframework.beans.factory.BeanCreationException: Error 
> creating bean with name 'ldapAuthenticationHandlers' defined in class path 
> resource 
> [org/apereo/cas/config/LdapAuthenticationConfiguration$LdapAuthenticationPlanConfiguration.class]:
>  
> Bean instantiation via factory method failed; nested exception is 
> org.springframework.beans.BeanInstantiationException: Failed to instantiate 
> [org.apereo.cas.util.spring.BeanContainer]: Factory method 
> 'ldapAuthenticationHandlers' threw exception; nested exception is 
> java.lang.IllegalStateException: Could not initialize pool size
> at 
> org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:541)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$1(AbstractBeanFactory.java:374)
> at 
> org.springframework.cloud.context.scope.GenericScope$BeanLifecycleWrapper.getBean(GenericScope.java:376)
> at 
> org.springframework.cloud.context.scope.GenericScope.get(GenericScope.java:179)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:371)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
> at 
> org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
> at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1389)
> at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1309)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
> ... 116 more
> Caused by: 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'ldapAuthenticationEventExecutionPlanConfigurer' 
> defined in class path resource 
> [org/apereo/cas/config/LdapAuthenticationConfiguration$LdapAuthenticationPlanConfiguration.class]:
>  
> Unsatisfied dependency expressed through method 
> 'ldapAuthenticationEventExecutionPlanConfigurer' parameter 0; nested 
> exception is org.springframework.beans.factory.BeanCreationException: Error 
> creating bean with name 'ldapAuthenticationHandlers' defined in class path 
> resource 
> [org/apereo/cas/config/LdapAuthenticationConfiguration$LdapAuthenticationPlanConfiguration.class]:
>  
> Bean instantiation via factory method failed; nested exception is 
> org.springframework.beans.BeanInstantiationException: Failed to instantiate 
> [org.apereo.cas.util.spring.BeanContainer]: Factory method 
> 'ldapAuthenticationHandlers' threw exception; nested exception is 
> java.lang.IllegalStateException: Could not initialize pool size
> at 
> org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:541)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$1(AbstractBeanFactory.java:374)
> at 
> org.springframework.cloud.context.scope.GenericScope$BeanLifecycleWrapper.getBean(GenericScope.java:376)
> at 
> org.springframework.cloud.context.scope.GenericScope.get(GenericScope.java:179)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:371)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
> at 
> org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
> at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1607)
> at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1571)
> at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1460)
> at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1347)
> at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1309)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
> ... 131 more
> Caused by: org.springframework.beans.factory.BeanCreationException: Error 
> creating bean with name 'ldapAuthenticationHandlers' defined in class path 
> resource 
> [org/apereo/cas/config/LdapAuthenticationConfiguration$LdapAuthenticationPlanConfiguration.class]:
>  
> Bean instantiation via factory method failed; nested exception is 
> org.springframework.beans.BeanInstantiationException: Failed to instantiate 
> [org.apereo.cas.util.spring.BeanContainer]: Factory method 
> 'ldapAuthenticationHandlers' threw exception; nested exception is 
> java.lang.IllegalStateException: Could not initialize pool size
> at 
> org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$1(AbstractBeanFactory.java:374)
> at 
> org.springframework.cloud.context.scope.GenericScope$BeanLifecycleWrapper.getBean(GenericScope.java:376)
> at 
> org.springframework.cloud.context.scope.GenericScope.get(GenericScope.java:179)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:371)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
> at 
> org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
> at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1389)
> at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1309)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
> ... 149 more
> Caused by: org.springframework.beans.BeanInstantiationException: Failed to 
> instantiate [org.apereo.cas.util.spring.BeanContainer]: Factory method 
> 'ldapAuthenticationHandlers' threw exception; nested exception is 
> java.lang.IllegalStateException: Could not initialize pool size
> at 
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)
> ... 164 more
> Caused by: java.lang.IllegalStateException: Could not initialize pool size
> at 
> org.ldaptive.pool.AbstractConnectionPool.initialize(AbstractConnectionPool.java:508)
> at 
> org.apereo.cas.util.LdapUtils.newLdaptivePooledConnectionFactory(LdapUtils.java:773)
> at 
> org.apereo.cas.util.LdapUtils.newLdaptiveConnectionFactory(LdapUtils.java:904)
> at 
> org.apereo.cas.util.LdapUtils.getAuthenticatorViaDnFormat(LdapUtils.java:1077)
> at 
> org.apereo.cas.util.LdapUtils.getDirectBindAuthenticator(LdapUtils.java:1065)
> at 
> org.apereo.cas.util.LdapUtils.newLdaptiveAuthenticator(LdapUtils.java:683)
> at 
> org.apereo.cas.util.LdapUtils.createLdapAuthenticationHandler(LdapUtils.java:1307)
> at 
> org.apereo.cas.config.LdapAuthenticationConfiguration$LdapAuthenticationPlanConfiguration.lambda$ldapAuthenticationHandlers$1(LdapAuthenticationConfiguration.java:77)
> at 
> java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
> at 
> java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
> at 
> java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
> at 
> java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
> at 
> java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
> at 
> java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
> at 
> java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
> at 
> java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> at 
> java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
> at 
> org.apereo.cas.config.LdapAuthenticationConfiguration$LdapAuthenticationPlanConfiguration.ldapAuthenticationHandlers(LdapAuthenticationConfiguration.java:76)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
> at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at 
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
> ... 165 more
> Caused by: org.ldaptive.ConnectException: SslHandler is already in use
> at 
> org.ldaptive.transport.netty.NettyConnection.operation(NettyConnection.java:530)
> at 
> org.ldaptive.transport.netty.NettyConnection.open(NettyConnection.java:301)
> at 
> org.ldaptive.transport.TransportConnection.strategyOpen(TransportConnection.java:171)
> at 
> org.ldaptive.transport.TransportConnection.open(TransportConnection.java:83)
> at 
> org.ldaptive.pool.AbstractConnectionPool.createConnection(AbstractConnectionPool.java:688)
> at 
> org.ldaptive.pool.AbstractConnectionPool.createAvailableConnection(AbstractConnectionPool.java:717)
> at 
> org.ldaptive.pool.AbstractConnectionPool.grow(AbstractConnectionPool.java:593)
> at 
> org.ldaptive.pool.AbstractConnectionPool.initialize(AbstractConnectionPool.java:500)
> ... 187 more
> 16-Apr-2022 17:01:04.791 INFO [main] 
> org.apache.catalina.startup.HostConfig.deployWAR Deployment of web 
> application archive [/var/lib/tomcat9/webapps/ROOT.war] has finished in 
> [50,126] ms
> 16-Apr-2022 17:01:04.799 INFO [main] 
> org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler 
> ["http-nio-8080"]
> 16-Apr-2022 17:01:04.850 INFO [main] 
> org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler 
> ["https-openssl-nio-443"]
> 16-Apr-2022 17:01:04.894 INFO [main] 
> org.apache.catalina.startup.Catalina.start Server startup in [50402] 
> milliseconds
>
> Am I missing some dependency or what am I doing wrong?
>
> /Anders
>

-- 
- 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/427628a3-561d-497b-bd21-6cc147e17590n%40apereo.org.

Reply via email to