Downloaded CAS template overlay 6.3.2

Have include below depenacnies:
    implementation 
"org.apereo.cas:cas-server-support-jdbc-drivers:${project.'cas.version'}"
    implementation 
"org.apereo.cas:cas-server-support-jpa-ticket-registry:${project.'cas.version'}"
    implementation 
"org.apereo.cas:cas-server-support-json-service-registry:${project.'cas.version'}"
  
  
    implementation 
"org.apereo.cas:cas-server-support-ldap:${project.'cas.version'}"
    implementation 
"org.apereo.cas:cas-server-support-oauth-webflow:${project.'cas.version'}"

Created by service.json registry file.

I am able to request and validate OAuth tokens, but everyonce in a while 
get the following when ticket registry cleaner runs. Am I missing a 
configuration property or is this a bug?

2021-04-22 19:05:30,530 DEBUG 
[org.apereo.cas.ticket.registry.support.JpaLockingStrategy] - 
<[my.server.com] trying to acquire [cas-ticket-registry-cleaner] lock.>
2021-04-22 19:05:32,296 WARN [com.zaxxer.hikari.pool.ProxyLeakTask] - 
<Connection leak detection triggered for 
org.postgresql.jdbc.PgConnection@34bf88f7 on thread scheduling-1, stack 
trace follows>
java.lang.Exception: Apparent connection leak detected
        at 
com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:128) 
~[HikariCP-3.4.5.jar:?]
        at jdk.internal.reflect.GeneratedMethodAccessor190.invoke(Unknown 
Source) ~[?:?]
        at 
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        at 
org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:282) 
~[spring-core-5.2.12.RELEASE.jar:5.2.12.RELEASE]
        at 
org.springframework.cloud.context.scope.GenericScope$LockedScopedProxyFactoryBean.invoke(GenericScope.java:499)
 
~[spring-cloud-context-2.2.6.RELEASE.jar:2.2.6.RELEASE]
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
 
~[spring-aop-5.2.12.RELEASE.jar:5.2.12.RELEASE]
        at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
 
~[spring-aop-5.2.12.RELEASE.jar:5.2.12.RELEASE]
        at com.sun.proxy.$Proxy121.getConnection(Unknown Source) ~[?:?]
        at 
org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122)
 
~[hibernate-core-5.4.25.Final.jar:5.4.25.Final]
        at 
org.hibernate.internal.NonContextualJdbcConnectionAccess.obtainConnection(NonContextualJdbcConnectionAccess.java:38)
 
~[hibernate-core-5.4.25.Final.jar:5.4.25.Final]
        at 
org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.acquireConnectionIfNeeded(LogicalConnectionManagedImpl.java:108)
 
~[hibernate-core-5.4.25.Final.jar:5.4.25.Final]
        at 
org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.getPhysicalConnection(LogicalConnectionManagedImpl.java:138)
 
~[hibernate-core-5.4.25.Final.jar:5.4.25.Final]
        at 
org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.getConnectionForTransactionManagement(LogicalConnectionManagedImpl.java:273)
 
~[hibernate-core-5.4.25.Final.jar:5.4.25.Final]
        at 
org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.begin(LogicalConnectionManagedImpl.java:281)
 
~[hibernate-core-5.4.25.Final.jar:5.4.25.Final]
        at 
org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.begin(JdbcResourceLocalTransactionCoordinatorImpl.java:246)
 
~[hibernate-core-5.4.25.Final.jar:5.4.25.Final]
        at 
org.hibernate.engine.transaction.internal.TransactionImpl.begin(TransactionImpl.java:83)
 
~[hibernate-core-5.4.25.Final.jar:5.4.25.Final]
        at 
org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:184)
 
~[spring-orm-5.2.12.RELEASE.jar:5.2.12.RELEASE]
        at 
org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:402)
 
~[spring-orm-5.2.12.RELEASE.jar:5.2.12.RELEASE]
        at 
org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:400)
 
~[spring-tx-5.2.12.RELEASE.jar:5.2.12.RELEASE]
        at 
org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373)
 
~[spring-tx-5.2.12.RELEASE.jar:5.2.12.RELEASE]
        at 
org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:574)
 
~[spring-tx-5.2.12.RELEASE.jar:5.2.12.RELEASE]
        at 
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:361)
 
~[spring-tx-5.2.12.RELEASE.jar:5.2.12.RELEASE]
        at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:118)
 
~[spring-tx-5.2.12.RELEASE.jar:5.2.12.RELEASE]
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
 
~[spring-aop-5.2.12.RELEASE.jar:5.2.12.RELEASE]
        at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
 
~[spring-aop-5.2.12.RELEASE.jar:5.2.12.RELEASE]
        at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691)
 
~[spring-aop-5.2.12.RELEASE.jar:5.2.12.RELEASE]
        at 
org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner$$EnhancerBySpringCGLIB$$d5a34534.clean(<generated>)
 
~[cas-server-core-tickets-api-6.3.2.jar:6.3.2]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method) ~[?:?]
        at 
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 
~[?:?]
        at 
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        at 
org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:282) 
~[spring-core-5.2.12.RELEASE.jar:5.2.12.RELEASE]
        at 
org.springframework.cloud.context.scope.GenericScope$LockedScopedProxyFactoryBean.invoke(GenericScope.java:499)
 
~[spring-cloud-context-2.2.6.RELEASE.jar:2.2.6.RELEASE]
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
 
~[spring-aop-5.2.12.RELEASE.jar:5.2.12.RELEASE]
        at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
 
~[spring-aop-5.2.12.RELEASE.jar:5.2.12.RELEASE]
        at com.sun.proxy.$Proxy250.clean(Unknown Source) ~[?:?]
        at 
org.apereo.cas.config.CasCoreTicketsSchedulingConfiguration$TicketRegistryCleanerScheduler.run(CasCoreTicketsSchedulingConfiguration.java:102)
 
~[cas-server-core-tickets-6.3.2.jar:6.3.2]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method) ~[?:?]
        at 
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 
~[?:?]
        at 
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        at 
org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:84)
 
~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
        at 
org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
 
~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 
~[?:?]
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) 
~[?:?]
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
 
~[?:?]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 
~[?:?]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 
~[?:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]

-- 
- 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/1ea599bb-e08c-4ec4-bcf8-da01f51e152en%40apereo.org.

Reply via email to