2024-01-23 19:31:40.663 INFO 46667 --- [main,,] c.a.o.s.initializer.DatabaseInitializer : Migration schemas is empty. 2024-01-23 19:31:42.445 WARN 46667 --- [main,,] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ocpServerApplication': Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ocpStartUpChecker': Invocation of init method failed; nested exception is java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-01-23T19:31:22.632+08:00, server time = 2024-01-23T19:31:42.444+08:00, max difference allowed is 1000 ms 2024-01-23 19:31:42.449 INFO 46667 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-01-23 19:31:42.450 INFO 46667 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-2} closing ... 2024-01-23 19:31:42.460 INFO 46667 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-2} closed 2024-01-23 19:31:42.462 INFO 46667 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-01-23 19:31:42.462 INFO 46667 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... 2024-01-23 19:31:42.469 INFO 46667 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed 2024-01-23 19:31:42.471 INFO 46667 --- [main,,] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2024-01-23 19:31:42.497 INFO 46667 --- [main,,] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2024-01-23 19:31:42.502 ERROR 46667 --- [main,,] c.a.o.s.analyzer.OcpFailureAnalyzer : OCP startup check failed with cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ocpServerApplication': Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ocpStartUpChecker': Invocation of init method failed; nested exception is java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-01-23T19:31:22.632+08:00, server time = 2024-01-23T19:31:42.444+08:00, max difference allowed is 1000 ms at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:798) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:228) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1358) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1204) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:879) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878) ~[spring-context-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550) ~[spring-context-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143) ~[spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at com.alipay.ocp.OcpServerApplication.main(OcpServerApplication.java:23) [classes!/:4.0.0-20220930] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_312] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_312] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_312] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_312] at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) [ocp-server-4.0.0-20220930.jar:4.0.0-20220930] at org.springframework.boot.loader.Launcher.launch(Launcher.java:107) [ocp-server-4.0.0-20220930.jar:4.0.0-20220930] at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) [ocp-server-4.0.0-20220930.jar:4.0.0-20220930] at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:467) [ocp-server-4.0.0-20220930.jar:4.0.0-20220930] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ocpStartUpChecker': Invocation of init method failed; nested exception is java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-01-23T19:31:22.632+08:00, server time = 2024-01-23T19:31:42.444+08:00, max difference allowed is 1000 ms at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:416) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1788) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1287) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1207) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:885) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:789) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] ... 28 common frames omitted Caused by: java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-01-23T19:31:22.632+08:00, server time = 2024-01-23T19:31:42.444+08:00, max difference allowed is 1000 ms at com.alipay.ocp.server.analyzer.OcpStartUpChecker.checkTime(OcpStartUpChecker.java:107) ~[classes!/:4.0.0-20220930] at com.alipay.ocp.server.analyzer.OcpStartUpChecker.init(OcpStartUpChecker.java:95) ~[classes!/:4.0.0-20220930] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_312] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_312] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_312] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_312] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] ... 41 common frames omitted 2024-01-23 19:31:42.657 ERROR 46667 --- [main,,] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: OCP application startup check failed. Action: Please check the stack trace above for the root cause. 2024-01-23 19:31:49.555 INFO 46780 --- [main,,] com.alipay.ocp.OcpServerApplication : The following profiles are active: composite,default 2024-01-23 19:31:55.347 INFO 46780 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-01-23 19:31:55.622 INFO 46780 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 260ms. Found 16 JPA repository interfaces. 2024-01-23 19:31:55.630 INFO 46780 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-01-23 19:31:55.672 INFO 46780 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 42ms. Found 3 JPA repository interfaces. 2024-01-23 19:31:55.673 INFO 46780 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-01-23 19:31:57.437 INFO 46780 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 1763ms. Found 99 JPA repository interfaces. 2024-01-23 19:31:59.233 WARN 46780 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'sqlAggregateDataRepository' and 'com.alipay.ocp.core.monitordb.alarm.SqlAggregateDataRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:31:59.233 WARN 46780 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'obClusterSystemEventRepository' and 'com.alipay.ocp.core.monitordb.ob.ObClusterSystemEventRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:31:59.233 WARN 46780 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'obTenantMiniCompactionRepository' and 'com.alipay.ocp.core.monitordb.ob.ObTenantMiniCompactionRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:31:59.241 WARN 46780 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'ocpAlarmGroupAlarmTypeRepository' and 'com.alipay.ocp.core.metadb.alarm.OcpAlarmGroupAlarmTypeRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:31:59.242 WARN 46780 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'ocpAlarmEventHistoryRepository' and 'com.alipay.ocp.core.metadb.alarm.OcpAlarmEventHistoryRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:31:59.242 WARN 46780 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'ocpAlarmMetricMetaRepository' and 'com.alipay.ocp.core.metadb.alarm.OcpAlarmMetricMetaRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:31:59.242 WARN 46780 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'ocpAlarmDetectRuleRepository' and 'com.alipay.ocp.core.metadb.alarm.OcpAlarmDetectRuleRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:31:59.271 WARN 46780 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'metricObCollectConfigRepository' and 'com.alipay.ocp.core.metadb.monitor.MetricObCollectConfigRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:31:59.271 WARN 46780 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'metricClassRepository' and 'com.alipay.ocp.core.metadb.monitor.MetricClassRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:31:59.271 WARN 46780 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'metricGroupRepository' and 'com.alipay.ocp.core.metadb.monitor.MetricGroupRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:31:59.271 WARN 46780 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'metricMetaRepository' and 'com.alipay.ocp.core.metadb.monitor.MetricMetaRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:31:59.498 INFO 46780 --- [main,,] o.s.cloud.context.scope.GenericScope : BeanFactory id=22bf410e-9c42-33ee-903b-47d732131f72 2024-01-23 19:32:00.031 INFO 46780 --- [main,,] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler@53692008' of type [org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2024-01-23 19:32:00.036 INFO 46780 --- [main,,] trationDelegate$BeanPostProcessorChecker : Bean 'localSecurityConfiguration.MethodSecurityConfiguration' of type [com.alipay.ocp.server.config.security.LocalSecurityConfiguration$MethodSecurityConfiguration$$EnhancerBySpringCGLIB$$65058c31] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2024-01-23 19:32:00.050 INFO 46780 --- [main,,] c.a.o.s.c.s.LocalSecurityConfiguration : Method-level access control enabled. 2024-01-23 19:32:00.055 INFO 46780 --- [main,,] trationDelegate$BeanPostProcessorChecker : Bean 'methodSecurityMetadataSource' of type [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2024-01-23 19:32:00.956 INFO 46780 --- [main,,] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-01-23 19:32:01.134 INFO 46780 --- [main,,] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.28.Final 2024-01-23 19:32:01.465 INFO 46780 --- [main,,] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2024-01-23 19:32:03.379 INFO 46780 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-1,metadb-connect-pool} inited 2024-01-23 19:32:03.487 INFO 46780 --- [main,,] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2024-01-23 19:32:04.331 WARN 46780 --- [main,,] o.h.t.d.java.JavaTypeDescriptorRegistry : HHH000481: Encountered Java type [class com.fasterxml.jackson.databind.JsonNode] for which we could not locate a JavaTypeDescriptor and which does not appear to implement equals and/or hashCode. This can lead to significant performance problems when performing equality/dirty checking involving this Java type. Consider registering a custom JavaTypeDescriptor or at least implementing equals/hashCode. 2024-01-23 19:32:04.332 WARN 46780 --- [main,,] o.h.t.d.java.JavaTypeDescriptorRegistry : HHH000481: Encountered Java type [class com.fasterxml.jackson.databind.JsonNode] for which we could not locate a JavaTypeDescriptor and which does not appear to implement equals and/or hashCode. This can lead to significant performance problems when performing equality/dirty checking involving this Java type. Consider registering a custom JavaTypeDescriptor or at least implementing equals/hashCode. 2024-01-23 19:32:04.332 WARN 46780 --- [main,,] o.h.t.d.java.JavaTypeDescriptorRegistry : HHH000481: Encountered Java type [class com.fasterxml.jackson.databind.JsonNode] for which we could not locate a JavaTypeDescriptor and which does not appear to implement equals and/or hashCode. This can lead to significant performance problems when performing equality/dirty checking involving this Java type. Consider registering a custom JavaTypeDescriptor or at least implementing equals/hashCode. 2024-01-23 19:32:04.958 WARN 46780 --- [main,,] org.hibernate.mapping.RootClass : HHH000038: Composite-id class does not override equals(): com.alipay.ocp.core.metadb.iam.jdbcsession.SpringJdbcSessionAttributeKey 2024-01-23 19:32:04.959 WARN 46780 --- [main,,] org.hibernate.mapping.RootClass : HHH000039: Composite-id class does not override hashCode(): com.alipay.ocp.core.metadb.iam.jdbcsession.SpringJdbcSessionAttributeKey 2024-01-23 19:32:06.725 INFO 46780 --- [main,,] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2024-01-23 19:32:06.747 INFO 46780 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-01-23 19:32:08.105 INFO 46780 --- [main,,] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 5433 (http) 2024-01-23 19:32:08.126 INFO 46780 --- [main,,] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-01-23 19:32:08.127 INFO 46780 --- [main,,] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.43] 2024-01-23 19:32:08.307 INFO 46780 --- [main,,] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-01-23 19:32:08.308 INFO 46780 --- [main,,] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 18698 ms 2024-01-23 19:32:10.180 INFO 46780 --- [main,,] c.a.o.service.maz.OcpMultiAzoneService : OCP multi-azone not enabled 2024-01-23 19:32:10.184 INFO 46780 --- [main,,] .a.o.s.c.m.MonitorDruidDataSourceWrapper : set username=root@monitor_tenant#obcluster 2024-01-23 19:32:10.185 INFO 46780 --- [main,,] .a.o.s.c.m.MonitorDruidDataSourceWrapper : set url=jdbc:oceanbase://172.20.17.86:5432/monitor?useUnicode=true&characterEncoding=utf-8&connectTimeout=2000&socketTimeout=120000&rewriteBatchedStatements=true&allowMultiQueries=true 2024-01-23 19:32:10.185 INFO 46780 --- [main,,] .a.o.s.c.m.MonitorDruidDataSourceWrapper : set driver class=com.oceanbase.jdbc.Driver 2024-01-23 19:32:10.233 INFO 46780 --- [main,,] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-01-23 19:32:11.383 INFO 46780 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-2,monitordb-connect-pool} inited 2024-01-23 19:32:11.383 INFO 46780 --- [main,,] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2024-01-23 19:32:11.754 INFO 46780 --- [main,,] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2024-01-23 19:32:11.755 INFO 46780 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-01-23 19:32:11.877 INFO 46780 --- [main,,] c.a.o.s.initializer.DatabaseInitializer : Start migration, location=migration/meta 2024-01-23 19:32:12.077 INFO 46780 --- [main,,] c.a.o.s.initializer.DatabaseInitializer : Finish migration, location=migration/meta 2024-01-23 19:32:12.078 INFO 46780 --- [main,,] c.a.o.s.initializer.DatabaseInitializer : Start migration, location=migration/monitor 2024-01-23 19:32:12.078 INFO 46780 --- [main,,] com.alipay.ocp.core.util.ResourceUtils : Cannot find any file in location: migration/monitor 2024-01-23 19:32:12.079 INFO 46780 --- [main,,] c.a.o.s.initializer.DatabaseInitializer : Migration schemas is empty. 2024-01-23 19:32:13.665 WARN 46780 --- [main,,] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ocpServerApplication': Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ocpStartUpChecker': Invocation of init method failed; nested exception is java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-01-23T19:31:53.851+08:00, server time = 2024-01-23T19:32:13.664+08:00, max difference allowed is 1000 ms 2024-01-23 19:32:13.670 INFO 46780 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-01-23 19:32:13.671 INFO 46780 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-2} closing ... 2024-01-23 19:32:13.682 INFO 46780 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-2} closed 2024-01-23 19:32:13.684 INFO 46780 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-01-23 19:32:13.685 INFO 46780 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... 2024-01-23 19:32:13.863 INFO 46780 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed 2024-01-23 19:32:13.865 INFO 46780 --- [main,,] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2024-01-23 19:32:13.895 INFO 46780 --- [main,,] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2024-01-23 19:32:13.901 ERROR 46780 --- [main,,] c.a.o.s.analyzer.OcpFailureAnalyzer : OCP startup check failed with cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ocpServerApplication': Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ocpStartUpChecker': Invocation of init method failed; nested exception is java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-01-23T19:31:53.851+08:00, server time = 2024-01-23T19:32:13.664+08:00, max difference allowed is 1000 ms at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:798) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:228) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1358) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1204) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:879) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878) ~[spring-context-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550) ~[spring-context-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143) ~[spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at com.alipay.ocp.OcpServerApplication.main(OcpServerApplication.java:23) [classes!/:4.0.0-20220930] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_312] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_312] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_312] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_312] at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) [ocp-server-4.0.0-20220930.jar:4.0.0-20220930] at org.springframework.boot.loader.Launcher.launch(Launcher.java:107) [ocp-server-4.0.0-20220930.jar:4.0.0-20220930] at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) [ocp-server-4.0.0-20220930.jar:4.0.0-20220930] at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:467) [ocp-server-4.0.0-20220930.jar:4.0.0-20220930] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ocpStartUpChecker': Invocation of init method failed; nested exception is java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-01-23T19:31:53.851+08:00, server time = 2024-01-23T19:32:13.664+08:00, max difference allowed is 1000 ms at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:416) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1788) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1287) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1207) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:885) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:789) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] ... 28 common frames omitted Caused by: java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-01-23T19:31:53.851+08:00, server time = 2024-01-23T19:32:13.664+08:00, max difference allowed is 1000 ms at com.alipay.ocp.server.analyzer.OcpStartUpChecker.checkTime(OcpStartUpChecker.java:107) ~[classes!/:4.0.0-20220930] at com.alipay.ocp.server.analyzer.OcpStartUpChecker.init(OcpStartUpChecker.java:95) ~[classes!/:4.0.0-20220930] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_312] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_312] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_312] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_312] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] ... 41 common frames omitted 2024-01-23 19:32:13.905 ERROR 46780 --- [main,,] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: OCP application startup check failed. Action: Please check the stack trace above for the root cause. 2024-01-23 19:32:20.443 INFO 46893 --- [main,,] com.alipay.ocp.OcpServerApplication : The following profiles are active: composite,default 2024-01-23 19:32:26.685 INFO 46893 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-01-23 19:32:26.970 INFO 46893 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 269ms. Found 16 JPA repository interfaces. 2024-01-23 19:32:26.978 INFO 46893 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-01-23 19:32:27.021 INFO 46893 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 43ms. Found 3 JPA repository interfaces. 2024-01-23 19:32:27.022 INFO 46893 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-01-23 19:32:29.133 INFO 46893 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 2111ms. Found 99 JPA repository interfaces. 2024-01-23 19:32:31.045 WARN 46893 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'sqlAggregateDataRepository' and 'com.alipay.ocp.core.monitordb.alarm.SqlAggregateDataRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:32:31.045 WARN 46893 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'obClusterSystemEventRepository' and 'com.alipay.ocp.core.monitordb.ob.ObClusterSystemEventRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:32:31.045 WARN 46893 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'obTenantMiniCompactionRepository' and 'com.alipay.ocp.core.monitordb.ob.ObTenantMiniCompactionRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:32:31.054 WARN 46893 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'ocpAlarmGroupAlarmTypeRepository' and 'com.alipay.ocp.core.metadb.alarm.OcpAlarmGroupAlarmTypeRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:32:31.055 WARN 46893 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'ocpAlarmEventHistoryRepository' and 'com.alipay.ocp.core.metadb.alarm.OcpAlarmEventHistoryRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:32:31.055 WARN 46893 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'ocpAlarmMetricMetaRepository' and 'com.alipay.ocp.core.metadb.alarm.OcpAlarmMetricMetaRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:32:31.055 WARN 46893 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'ocpAlarmDetectRuleRepository' and 'com.alipay.ocp.core.metadb.alarm.OcpAlarmDetectRuleRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:32:31.085 WARN 46893 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'metricObCollectConfigRepository' and 'com.alipay.ocp.core.metadb.monitor.MetricObCollectConfigRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:32:31.085 WARN 46893 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'metricClassRepository' and 'com.alipay.ocp.core.metadb.monitor.MetricClassRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:32:31.085 WARN 46893 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'metricGroupRepository' and 'com.alipay.ocp.core.metadb.monitor.MetricGroupRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:32:31.085 WARN 46893 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'metricMetaRepository' and 'com.alipay.ocp.core.metadb.monitor.MetricMetaRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:32:31.329 INFO 46893 --- [main,,] o.s.cloud.context.scope.GenericScope : BeanFactory id=22bf410e-9c42-33ee-903b-47d732131f72 2024-01-23 19:32:31.915 INFO 46893 --- [main,,] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler@5965844d' of type [org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2024-01-23 19:32:31.921 INFO 46893 --- [main,,] trationDelegate$BeanPostProcessorChecker : Bean 'localSecurityConfiguration.MethodSecurityConfiguration' of type [com.alipay.ocp.server.config.security.LocalSecurityConfiguration$MethodSecurityConfiguration$$EnhancerBySpringCGLIB$$9388b0b3] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2024-01-23 19:32:31.938 INFO 46893 --- [main,,] c.a.o.s.c.s.LocalSecurityConfiguration : Method-level access control enabled. 2024-01-23 19:32:31.942 INFO 46893 --- [main,,] trationDelegate$BeanPostProcessorChecker : Bean 'methodSecurityMetadataSource' of type [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2024-01-23 19:32:33.020 INFO 46893 --- [main,,] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-01-23 19:32:33.251 INFO 46893 --- [main,,] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.28.Final 2024-01-23 19:32:33.675 INFO 46893 --- [main,,] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2024-01-23 19:32:35.693 INFO 46893 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-1,metadb-connect-pool} inited 2024-01-23 19:32:35.770 INFO 46893 --- [main,,] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2024-01-23 19:32:36.594 WARN 46893 --- [main,,] o.h.t.d.java.JavaTypeDescriptorRegistry : HHH000481: Encountered Java type [class com.fasterxml.jackson.databind.JsonNode] for which we could not locate a JavaTypeDescriptor and which does not appear to implement equals and/or hashCode. This can lead to significant performance problems when performing equality/dirty checking involving this Java type. Consider registering a custom JavaTypeDescriptor or at least implementing equals/hashCode. 2024-01-23 19:32:36.595 WARN 46893 --- [main,,] o.h.t.d.java.JavaTypeDescriptorRegistry : HHH000481: Encountered Java type [class com.fasterxml.jackson.databind.JsonNode] for which we could not locate a JavaTypeDescriptor and which does not appear to implement equals and/or hashCode. This can lead to significant performance problems when performing equality/dirty checking involving this Java type. Consider registering a custom JavaTypeDescriptor or at least implementing equals/hashCode. 2024-01-23 19:32:36.596 WARN 46893 --- [main,,] o.h.t.d.java.JavaTypeDescriptorRegistry : HHH000481: Encountered Java type [class com.fasterxml.jackson.databind.JsonNode] for which we could not locate a JavaTypeDescriptor and which does not appear to implement equals and/or hashCode. This can lead to significant performance problems when performing equality/dirty checking involving this Java type. Consider registering a custom JavaTypeDescriptor or at least implementing equals/hashCode. 2024-01-23 19:32:37.201 WARN 46893 --- [main,,] org.hibernate.mapping.RootClass : HHH000038: Composite-id class does not override equals(): com.alipay.ocp.core.metadb.iam.jdbcsession.SpringJdbcSessionAttributeKey 2024-01-23 19:32:37.202 WARN 46893 --- [main,,] org.hibernate.mapping.RootClass : HHH000039: Composite-id class does not override hashCode(): com.alipay.ocp.core.metadb.iam.jdbcsession.SpringJdbcSessionAttributeKey 2024-01-23 19:32:39.048 INFO 46893 --- [main,,] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2024-01-23 19:32:39.075 INFO 46893 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-01-23 19:32:40.583 INFO 46893 --- [main,,] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 5433 (http) 2024-01-23 19:32:40.608 INFO 46893 --- [main,,] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-01-23 19:32:40.608 INFO 46893 --- [main,,] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.43] 2024-01-23 19:32:40.746 INFO 46893 --- [main,,] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-01-23 19:32:40.746 INFO 46893 --- [main,,] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 20260 ms 2024-01-23 19:32:42.651 INFO 46893 --- [main,,] c.a.o.service.maz.OcpMultiAzoneService : OCP multi-azone not enabled 2024-01-23 19:32:42.656 INFO 46893 --- [main,,] .a.o.s.c.m.MonitorDruidDataSourceWrapper : set username=root@monitor_tenant#obcluster 2024-01-23 19:32:42.656 INFO 46893 --- [main,,] .a.o.s.c.m.MonitorDruidDataSourceWrapper : set url=jdbc:oceanbase://172.20.17.86:5432/monitor?useUnicode=true&characterEncoding=utf-8&connectTimeout=2000&socketTimeout=120000&rewriteBatchedStatements=true&allowMultiQueries=true 2024-01-23 19:32:42.657 INFO 46893 --- [main,,] .a.o.s.c.m.MonitorDruidDataSourceWrapper : set driver class=com.oceanbase.jdbc.Driver 2024-01-23 19:32:42.702 INFO 46893 --- [main,,] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-01-23 19:32:44.015 INFO 46893 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-2,monitordb-connect-pool} inited 2024-01-23 19:32:44.016 INFO 46893 --- [main,,] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2024-01-23 19:32:44.425 INFO 46893 --- [main,,] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2024-01-23 19:32:44.426 INFO 46893 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-01-23 19:32:44.566 INFO 46893 --- [main,,] c.a.o.s.initializer.DatabaseInitializer : Start migration, location=migration/meta 2024-01-23 19:32:44.886 INFO 46893 --- [main,,] c.a.o.s.initializer.DatabaseInitializer : Finish migration, location=migration/meta 2024-01-23 19:32:44.887 INFO 46893 --- [main,,] c.a.o.s.initializer.DatabaseInitializer : Start migration, location=migration/monitor 2024-01-23 19:32:44.888 INFO 46893 --- [main,,] com.alipay.ocp.core.util.ResourceUtils : Cannot find any file in location: migration/monitor 2024-01-23 19:32:44.888 INFO 46893 --- [main,,] c.a.o.s.initializer.DatabaseInitializer : Migration schemas is empty. 2024-01-23 19:32:46.412 WARN 46893 --- [main,,] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ocpServerApplication': Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ocpStartUpChecker': Invocation of init method failed; nested exception is java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-01-23T19:32:26.600+08:00, server time = 2024-01-23T19:32:46.411+08:00, max difference allowed is 1000 ms 2024-01-23 19:32:46.416 INFO 46893 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-01-23 19:32:46.417 INFO 46893 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-2} closing ... 2024-01-23 19:32:46.427 INFO 46893 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-2} closed 2024-01-23 19:32:46.429 INFO 46893 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-01-23 19:32:46.429 INFO 46893 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... 2024-01-23 19:32:46.437 INFO 46893 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed 2024-01-23 19:32:46.577 INFO 46893 --- [main,,] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2024-01-23 19:32:46.612 INFO 46893 --- [main,,] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2024-01-23 19:32:46.620 ERROR 46893 --- [main,,] c.a.o.s.analyzer.OcpFailureAnalyzer : OCP startup check failed with cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ocpServerApplication': Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ocpStartUpChecker': Invocation of init method failed; nested exception is java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-01-23T19:32:26.600+08:00, server time = 2024-01-23T19:32:46.411+08:00, max difference allowed is 1000 ms at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:798) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:228) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1358) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1204) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:879) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878) ~[spring-context-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550) ~[spring-context-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143) ~[spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at com.alipay.ocp.OcpServerApplication.main(OcpServerApplication.java:23) [classes!/:4.0.0-20220930] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_312] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_312] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_312] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_312] at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) [ocp-server-4.0.0-20220930.jar:4.0.0-20220930] at org.springframework.boot.loader.Launcher.launch(Launcher.java:107) [ocp-server-4.0.0-20220930.jar:4.0.0-20220930] at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) [ocp-server-4.0.0-20220930.jar:4.0.0-20220930] at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:467) [ocp-server-4.0.0-20220930.jar:4.0.0-20220930] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ocpStartUpChecker': Invocation of init method failed; nested exception is java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-01-23T19:32:26.600+08:00, server time = 2024-01-23T19:32:46.411+08:00, max difference allowed is 1000 ms at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:416) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1788) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1287) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1207) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:885) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:789) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] ... 28 common frames omitted Caused by: java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-01-23T19:32:26.600+08:00, server time = 2024-01-23T19:32:46.411+08:00, max difference allowed is 1000 ms at com.alipay.ocp.server.analyzer.OcpStartUpChecker.checkTime(OcpStartUpChecker.java:107) ~[classes!/:4.0.0-20220930] at com.alipay.ocp.server.analyzer.OcpStartUpChecker.init(OcpStartUpChecker.java:95) ~[classes!/:4.0.0-20220930] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_312] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_312] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_312] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_312] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] ... 41 common frames omitted 2024-01-23 19:32:46.625 ERROR 46893 --- [main,,] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: OCP application startup check failed. Action: Please check the stack trace above for the root cause. 2024-01-23 19:32:53.221 INFO 47006 --- [main,,] com.alipay.ocp.OcpServerApplication : The following profiles are active: composite,default 2024-01-23 19:32:59.217 INFO 47006 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-01-23 19:32:59.493 INFO 47006 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 259ms. Found 16 JPA repository interfaces. 2024-01-23 19:32:59.500 INFO 47006 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-01-23 19:32:59.543 INFO 47006 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 42ms. Found 3 JPA repository interfaces. 2024-01-23 19:32:59.543 INFO 47006 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-01-23 19:33:01.232 INFO 47006 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 1687ms. Found 99 JPA repository interfaces. 2024-01-23 19:33:03.109 WARN 47006 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'sqlAggregateDataRepository' and 'com.alipay.ocp.core.monitordb.alarm.SqlAggregateDataRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:33:03.110 WARN 47006 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'obClusterSystemEventRepository' and 'com.alipay.ocp.core.monitordb.ob.ObClusterSystemEventRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:33:03.110 WARN 47006 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'obTenantMiniCompactionRepository' and 'com.alipay.ocp.core.monitordb.ob.ObTenantMiniCompactionRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:33:03.118 WARN 47006 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'ocpAlarmGroupAlarmTypeRepository' and 'com.alipay.ocp.core.metadb.alarm.OcpAlarmGroupAlarmTypeRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:33:03.119 WARN 47006 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'ocpAlarmEventHistoryRepository' and 'com.alipay.ocp.core.metadb.alarm.OcpAlarmEventHistoryRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:33:03.119 WARN 47006 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'ocpAlarmMetricMetaRepository' and 'com.alipay.ocp.core.metadb.alarm.OcpAlarmMetricMetaRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:33:03.119 WARN 47006 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'ocpAlarmDetectRuleRepository' and 'com.alipay.ocp.core.metadb.alarm.OcpAlarmDetectRuleRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:33:03.148 WARN 47006 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'metricObCollectConfigRepository' and 'com.alipay.ocp.core.metadb.monitor.MetricObCollectConfigRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:33:03.148 WARN 47006 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'metricClassRepository' and 'com.alipay.ocp.core.metadb.monitor.MetricClassRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:33:03.148 WARN 47006 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'metricGroupRepository' and 'com.alipay.ocp.core.metadb.monitor.MetricGroupRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:33:03.148 WARN 47006 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'metricMetaRepository' and 'com.alipay.ocp.core.metadb.monitor.MetricMetaRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:33:03.382 INFO 47006 --- [main,,] o.s.cloud.context.scope.GenericScope : BeanFactory id=22bf410e-9c42-33ee-903b-47d732131f72 2024-01-23 19:33:04.050 INFO 47006 --- [main,,] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler@6f952d6c' of type [org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2024-01-23 19:33:04.051 INFO 47006 --- [main,,] trationDelegate$BeanPostProcessorChecker : Bean 'localSecurityConfiguration.MethodSecurityConfiguration' of type [com.alipay.ocp.server.config.security.LocalSecurityConfiguration$MethodSecurityConfiguration$$EnhancerBySpringCGLIB$$1313e9f8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2024-01-23 19:33:04.073 INFO 47006 --- [main,,] c.a.o.s.c.s.LocalSecurityConfiguration : Method-level access control enabled. 2024-01-23 19:33:04.077 INFO 47006 --- [main,,] trationDelegate$BeanPostProcessorChecker : Bean 'methodSecurityMetadataSource' of type [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2024-01-23 19:33:05.343 INFO 47006 --- [main,,] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-01-23 19:33:05.611 INFO 47006 --- [main,,] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.28.Final 2024-01-23 19:33:06.179 INFO 47006 --- [main,,] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2024-01-23 19:33:08.069 INFO 47006 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-1,metadb-connect-pool} inited 2024-01-23 19:33:08.166 INFO 47006 --- [main,,] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2024-01-23 19:33:08.892 WARN 47006 --- [main,,] o.h.t.d.java.JavaTypeDescriptorRegistry : HHH000481: Encountered Java type [class com.fasterxml.jackson.databind.JsonNode] for which we could not locate a JavaTypeDescriptor and which does not appear to implement equals and/or hashCode. This can lead to significant performance problems when performing equality/dirty checking involving this Java type. Consider registering a custom JavaTypeDescriptor or at least implementing equals/hashCode. 2024-01-23 19:33:08.892 WARN 47006 --- [main,,] o.h.t.d.java.JavaTypeDescriptorRegistry : HHH000481: Encountered Java type [class com.fasterxml.jackson.databind.JsonNode] for which we could not locate a JavaTypeDescriptor and which does not appear to implement equals and/or hashCode. This can lead to significant performance problems when performing equality/dirty checking involving this Java type. Consider registering a custom JavaTypeDescriptor or at least implementing equals/hashCode. 2024-01-23 19:33:08.893 WARN 47006 --- [main,,] o.h.t.d.java.JavaTypeDescriptorRegistry : HHH000481: Encountered Java type [class com.fasterxml.jackson.databind.JsonNode] for which we could not locate a JavaTypeDescriptor and which does not appear to implement equals and/or hashCode. This can lead to significant performance problems when performing equality/dirty checking involving this Java type. Consider registering a custom JavaTypeDescriptor or at least implementing equals/hashCode. 2024-01-23 19:33:09.483 WARN 47006 --- [main,,] org.hibernate.mapping.RootClass : HHH000038: Composite-id class does not override equals(): com.alipay.ocp.core.metadb.iam.jdbcsession.SpringJdbcSessionAttributeKey 2024-01-23 19:33:09.483 WARN 47006 --- [main,,] org.hibernate.mapping.RootClass : HHH000039: Composite-id class does not override hashCode(): com.alipay.ocp.core.metadb.iam.jdbcsession.SpringJdbcSessionAttributeKey 2024-01-23 19:33:11.128 INFO 47006 --- [main,,] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2024-01-23 19:33:11.150 INFO 47006 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-01-23 19:33:12.423 INFO 47006 --- [main,,] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 5433 (http) 2024-01-23 19:33:12.446 INFO 47006 --- [main,,] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-01-23 19:33:12.447 INFO 47006 --- [main,,] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.43] 2024-01-23 19:33:12.576 INFO 47006 --- [main,,] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-01-23 19:33:12.576 INFO 47006 --- [main,,] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 19312 ms 2024-01-23 19:33:14.615 INFO 47006 --- [main,,] c.a.o.service.maz.OcpMultiAzoneService : OCP multi-azone not enabled 2024-01-23 19:33:14.619 INFO 47006 --- [main,,] .a.o.s.c.m.MonitorDruidDataSourceWrapper : set username=root@monitor_tenant#obcluster 2024-01-23 19:33:14.620 INFO 47006 --- [main,,] .a.o.s.c.m.MonitorDruidDataSourceWrapper : set url=jdbc:oceanbase://172.20.17.86:5432/monitor?useUnicode=true&characterEncoding=utf-8&connectTimeout=2000&socketTimeout=120000&rewriteBatchedStatements=true&allowMultiQueries=true 2024-01-23 19:33:14.620 INFO 47006 --- [main,,] .a.o.s.c.m.MonitorDruidDataSourceWrapper : set driver class=com.oceanbase.jdbc.Driver 2024-01-23 19:33:14.674 INFO 47006 --- [main,,] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-01-23 19:33:15.919 INFO 47006 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-2,monitordb-connect-pool} inited 2024-01-23 19:33:15.920 INFO 47006 --- [main,,] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2024-01-23 19:33:16.331 INFO 47006 --- [main,,] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2024-01-23 19:33:16.332 INFO 47006 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-01-23 19:33:16.444 INFO 47006 --- [main,,] c.a.o.s.initializer.DatabaseInitializer : Start migration, location=migration/meta 2024-01-23 19:33:16.621 INFO 47006 --- [main,,] c.a.o.s.initializer.DatabaseInitializer : Finish migration, location=migration/meta 2024-01-23 19:33:16.621 INFO 47006 --- [main,,] c.a.o.s.initializer.DatabaseInitializer : Start migration, location=migration/monitor 2024-01-23 19:33:16.622 INFO 47006 --- [main,,] com.alipay.ocp.core.util.ResourceUtils : Cannot find any file in location: migration/monitor 2024-01-23 19:33:16.622 INFO 47006 --- [main,,] c.a.o.s.initializer.DatabaseInitializer : Migration schemas is empty. 2024-01-23 19:33:18.128 WARN 47006 --- [main,,] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ocpServerApplication': Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ocpStartUpChecker': Invocation of init method failed; nested exception is java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-01-23T19:32:58.307+08:00, server time = 2024-01-23T19:33:18.127+08:00, max difference allowed is 1000 ms 2024-01-23 19:33:18.133 INFO 47006 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-01-23 19:33:18.134 INFO 47006 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-2} closing ... 2024-01-23 19:33:18.145 INFO 47006 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-2} closed 2024-01-23 19:33:18.149 INFO 47006 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-01-23 19:33:18.150 INFO 47006 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... 2024-01-23 19:33:18.158 INFO 47006 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed 2024-01-23 19:33:18.160 INFO 47006 --- [main,,] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2024-01-23 19:33:18.207 INFO 47006 --- [main,,] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2024-01-23 19:33:18.216 ERROR 47006 --- [main,,] c.a.o.s.analyzer.OcpFailureAnalyzer : OCP startup check failed with cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ocpServerApplication': Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ocpStartUpChecker': Invocation of init method failed; nested exception is java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-01-23T19:32:58.307+08:00, server time = 2024-01-23T19:33:18.127+08:00, max difference allowed is 1000 ms at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:798) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:228) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1358) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1204) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:879) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878) ~[spring-context-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550) ~[spring-context-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143) ~[spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at com.alipay.ocp.OcpServerApplication.main(OcpServerApplication.java:23) [classes!/:4.0.0-20220930] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_312] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_312] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_312] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_312] at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) [ocp-server-4.0.0-20220930.jar:4.0.0-20220930] at org.springframework.boot.loader.Launcher.launch(Launcher.java:107) [ocp-server-4.0.0-20220930.jar:4.0.0-20220930] at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) [ocp-server-4.0.0-20220930.jar:4.0.0-20220930] at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:467) [ocp-server-4.0.0-20220930.jar:4.0.0-20220930] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ocpStartUpChecker': Invocation of init method failed; nested exception is java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-01-23T19:32:58.307+08:00, server time = 2024-01-23T19:33:18.127+08:00, max difference allowed is 1000 ms at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:416) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1788) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1287) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1207) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:885) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:789) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] ... 28 common frames omitted Caused by: java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-01-23T19:32:58.307+08:00, server time = 2024-01-23T19:33:18.127+08:00, max difference allowed is 1000 ms at com.alipay.ocp.server.analyzer.OcpStartUpChecker.checkTime(OcpStartUpChecker.java:107) ~[classes!/:4.0.0-20220930] at com.alipay.ocp.server.analyzer.OcpStartUpChecker.init(OcpStartUpChecker.java:95) ~[classes!/:4.0.0-20220930] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_312] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_312] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_312] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_312] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] ... 41 common frames omitted 2024-01-23 19:33:18.220 ERROR 47006 --- [main,,] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: OCP application startup check failed. Action: Please check the stack trace above for the root cause. 2024-01-23 19:33:24.921 INFO 47119 --- [main,,] com.alipay.ocp.OcpServerApplication : The following profiles are active: composite,default 2024-01-23 19:33:30.420 INFO 47119 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-01-23 19:33:30.788 INFO 47119 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 342ms. Found 16 JPA repository interfaces. 2024-01-23 19:33:30.799 INFO 47119 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-01-23 19:33:30.845 INFO 47119 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 45ms. Found 3 JPA repository interfaces. 2024-01-23 19:33:30.846 INFO 47119 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-01-23 19:33:33.494 INFO 47119 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 2647ms. Found 99 JPA repository interfaces. 2024-01-23 19:33:35.444 WARN 47119 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'sqlAggregateDataRepository' and 'com.alipay.ocp.core.monitordb.alarm.SqlAggregateDataRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:33:35.444 WARN 47119 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'obClusterSystemEventRepository' and 'com.alipay.ocp.core.monitordb.ob.ObClusterSystemEventRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:33:35.444 WARN 47119 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'obTenantMiniCompactionRepository' and 'com.alipay.ocp.core.monitordb.ob.ObTenantMiniCompactionRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:33:35.453 WARN 47119 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'ocpAlarmGroupAlarmTypeRepository' and 'com.alipay.ocp.core.metadb.alarm.OcpAlarmGroupAlarmTypeRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:33:35.453 WARN 47119 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'ocpAlarmEventHistoryRepository' and 'com.alipay.ocp.core.metadb.alarm.OcpAlarmEventHistoryRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:33:35.453 WARN 47119 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'ocpAlarmMetricMetaRepository' and 'com.alipay.ocp.core.metadb.alarm.OcpAlarmMetricMetaRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:33:35.453 WARN 47119 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'ocpAlarmDetectRuleRepository' and 'com.alipay.ocp.core.metadb.alarm.OcpAlarmDetectRuleRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:33:35.483 WARN 47119 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'metricObCollectConfigRepository' and 'com.alipay.ocp.core.metadb.monitor.MetricObCollectConfigRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:33:35.483 WARN 47119 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'metricClassRepository' and 'com.alipay.ocp.core.metadb.monitor.MetricClassRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:33:35.483 WARN 47119 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'metricGroupRepository' and 'com.alipay.ocp.core.metadb.monitor.MetricGroupRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:33:35.483 WARN 47119 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'metricMetaRepository' and 'com.alipay.ocp.core.metadb.monitor.MetricMetaRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:33:35.717 INFO 47119 --- [main,,] o.s.cloud.context.scope.GenericScope : BeanFactory id=22bf410e-9c42-33ee-903b-47d732131f72 2024-01-23 19:33:36.283 INFO 47119 --- [main,,] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler@5965844d' of type [org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2024-01-23 19:33:36.283 INFO 47119 --- [main,,] trationDelegate$BeanPostProcessorChecker : Bean 'localSecurityConfiguration.MethodSecurityConfiguration' of type [com.alipay.ocp.server.config.security.LocalSecurityConfiguration$MethodSecurityConfiguration$$EnhancerBySpringCGLIB$$8ef071e1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2024-01-23 19:33:36.299 INFO 47119 --- [main,,] c.a.o.s.c.s.LocalSecurityConfiguration : Method-level access control enabled. 2024-01-23 19:33:36.303 INFO 47119 --- [main,,] trationDelegate$BeanPostProcessorChecker : Bean 'methodSecurityMetadataSource' of type [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2024-01-23 19:33:37.213 INFO 47119 --- [main,,] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-01-23 19:33:37.390 INFO 47119 --- [main,,] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.28.Final 2024-01-23 19:33:37.720 INFO 47119 --- [main,,] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2024-01-23 19:33:39.501 INFO 47119 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-1,metadb-connect-pool} inited 2024-01-23 19:33:39.601 INFO 47119 --- [main,,] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2024-01-23 19:33:40.401 WARN 47119 --- [main,,] o.h.t.d.java.JavaTypeDescriptorRegistry : HHH000481: Encountered Java type [class com.fasterxml.jackson.databind.JsonNode] for which we could not locate a JavaTypeDescriptor and which does not appear to implement equals and/or hashCode. This can lead to significant performance problems when performing equality/dirty checking involving this Java type. Consider registering a custom JavaTypeDescriptor or at least implementing equals/hashCode. 2024-01-23 19:33:40.402 WARN 47119 --- [main,,] o.h.t.d.java.JavaTypeDescriptorRegistry : HHH000481: Encountered Java type [class com.fasterxml.jackson.databind.JsonNode] for which we could not locate a JavaTypeDescriptor and which does not appear to implement equals and/or hashCode. This can lead to significant performance problems when performing equality/dirty checking involving this Java type. Consider registering a custom JavaTypeDescriptor or at least implementing equals/hashCode. 2024-01-23 19:33:40.403 WARN 47119 --- [main,,] o.h.t.d.java.JavaTypeDescriptorRegistry : HHH000481: Encountered Java type [class com.fasterxml.jackson.databind.JsonNode] for which we could not locate a JavaTypeDescriptor and which does not appear to implement equals and/or hashCode. This can lead to significant performance problems when performing equality/dirty checking involving this Java type. Consider registering a custom JavaTypeDescriptor or at least implementing equals/hashCode. 2024-01-23 19:33:41.144 WARN 47119 --- [main,,] org.hibernate.mapping.RootClass : HHH000038: Composite-id class does not override equals(): com.alipay.ocp.core.metadb.iam.jdbcsession.SpringJdbcSessionAttributeKey 2024-01-23 19:33:41.145 WARN 47119 --- [main,,] org.hibernate.mapping.RootClass : HHH000039: Composite-id class does not override hashCode(): com.alipay.ocp.core.metadb.iam.jdbcsession.SpringJdbcSessionAttributeKey 2024-01-23 19:33:43.659 INFO 47119 --- [main,,] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2024-01-23 19:33:43.692 INFO 47119 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-01-23 19:33:45.090 INFO 47119 --- [main,,] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 5433 (http) 2024-01-23 19:33:45.110 INFO 47119 --- [main,,] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-01-23 19:33:45.111 INFO 47119 --- [main,,] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.43] 2024-01-23 19:33:45.219 INFO 47119 --- [main,,] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-01-23 19:33:45.219 INFO 47119 --- [main,,] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 20255 ms 2024-01-23 19:33:46.947 INFO 47119 --- [main,,] c.a.o.service.maz.OcpMultiAzoneService : OCP multi-azone not enabled 2024-01-23 19:33:46.952 INFO 47119 --- [main,,] .a.o.s.c.m.MonitorDruidDataSourceWrapper : set username=root@monitor_tenant#obcluster 2024-01-23 19:33:46.952 INFO 47119 --- [main,,] .a.o.s.c.m.MonitorDruidDataSourceWrapper : set url=jdbc:oceanbase://172.20.17.86:5432/monitor?useUnicode=true&characterEncoding=utf-8&connectTimeout=2000&socketTimeout=120000&rewriteBatchedStatements=true&allowMultiQueries=true 2024-01-23 19:33:46.952 INFO 47119 --- [main,,] .a.o.s.c.m.MonitorDruidDataSourceWrapper : set driver class=com.oceanbase.jdbc.Driver 2024-01-23 19:33:46.998 INFO 47119 --- [main,,] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-01-23 19:33:48.083 INFO 47119 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-2,monitordb-connect-pool} inited 2024-01-23 19:33:48.084 INFO 47119 --- [main,,] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2024-01-23 19:33:48.489 INFO 47119 --- [main,,] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2024-01-23 19:33:48.489 INFO 47119 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-01-23 19:33:48.608 INFO 47119 --- [main,,] c.a.o.s.initializer.DatabaseInitializer : Start migration, location=migration/meta 2024-01-23 19:33:48.806 INFO 47119 --- [main,,] c.a.o.s.initializer.DatabaseInitializer : Finish migration, location=migration/meta 2024-01-23 19:33:48.806 INFO 47119 --- [main,,] c.a.o.s.initializer.DatabaseInitializer : Start migration, location=migration/monitor 2024-01-23 19:33:48.807 INFO 47119 --- [main,,] com.alipay.ocp.core.util.ResourceUtils : Cannot find any file in location: migration/monitor 2024-01-23 19:33:48.807 INFO 47119 --- [main,,] c.a.o.s.initializer.DatabaseInitializer : Migration schemas is empty. 2024-01-23 19:33:50.351 WARN 47119 --- [main,,] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ocpServerApplication': Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ocpStartUpChecker': Invocation of init method failed; nested exception is java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-01-23T19:33:30.527+08:00, server time = 2024-01-23T19:33:50.349+08:00, max difference allowed is 1000 ms 2024-01-23 19:33:50.356 INFO 47119 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-01-23 19:33:50.358 INFO 47119 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-2} closing ... 2024-01-23 19:33:50.370 INFO 47119 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-2} closed 2024-01-23 19:33:50.375 INFO 47119 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-01-23 19:33:50.375 INFO 47119 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... 2024-01-23 19:33:50.383 INFO 47119 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed 2024-01-23 19:33:50.385 INFO 47119 --- [main,,] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2024-01-23 19:33:50.436 INFO 47119 --- [main,,] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2024-01-23 19:33:50.606 ERROR 47119 --- [main,,] c.a.o.s.analyzer.OcpFailureAnalyzer : OCP startup check failed with cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ocpServerApplication': Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ocpStartUpChecker': Invocation of init method failed; nested exception is java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-01-23T19:33:30.527+08:00, server time = 2024-01-23T19:33:50.349+08:00, max difference allowed is 1000 ms at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:798) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:228) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1358) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1204) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:879) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878) ~[spring-context-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550) ~[spring-context-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143) ~[spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at com.alipay.ocp.OcpServerApplication.main(OcpServerApplication.java:23) [classes!/:4.0.0-20220930] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_312] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_312] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_312] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_312] at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) [ocp-server-4.0.0-20220930.jar:4.0.0-20220930] at org.springframework.boot.loader.Launcher.launch(Launcher.java:107) [ocp-server-4.0.0-20220930.jar:4.0.0-20220930] at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) [ocp-server-4.0.0-20220930.jar:4.0.0-20220930] at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:467) [ocp-server-4.0.0-20220930.jar:4.0.0-20220930] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ocpStartUpChecker': Invocation of init method failed; nested exception is java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-01-23T19:33:30.527+08:00, server time = 2024-01-23T19:33:50.349+08:00, max difference allowed is 1000 ms at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:416) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1788) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1287) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1207) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:885) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:789) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] ... 28 common frames omitted Caused by: java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-01-23T19:33:30.527+08:00, server time = 2024-01-23T19:33:50.349+08:00, max difference allowed is 1000 ms at com.alipay.ocp.server.analyzer.OcpStartUpChecker.checkTime(OcpStartUpChecker.java:107) ~[classes!/:4.0.0-20220930] at com.alipay.ocp.server.analyzer.OcpStartUpChecker.init(OcpStartUpChecker.java:95) ~[classes!/:4.0.0-20220930] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_312] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_312] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_312] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_312] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] ... 41 common frames omitted 2024-01-23 19:33:50.613 ERROR 47119 --- [main,,] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: OCP application startup check failed. Action: Please check the stack trace above for the root cause. 2024-01-23 19:33:57.047 INFO 47232 --- [main,,] com.alipay.ocp.OcpServerApplication : The following profiles are active: composite,default 2024-01-23 19:34:02.772 INFO 47232 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-01-23 19:34:03.055 INFO 47232 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 265ms. Found 16 JPA repository interfaces. 2024-01-23 19:34:03.063 INFO 47232 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-01-23 19:34:03.106 INFO 47232 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 42ms. Found 3 JPA repository interfaces. 2024-01-23 19:34:03.107 INFO 47232 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-01-23 19:34:04.909 INFO 47232 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 1802ms. Found 99 JPA repository interfaces. 2024-01-23 19:34:06.716 WARN 47232 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'sqlAggregateDataRepository' and 'com.alipay.ocp.core.monitordb.alarm.SqlAggregateDataRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:34:06.716 WARN 47232 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'obClusterSystemEventRepository' and 'com.alipay.ocp.core.monitordb.ob.ObClusterSystemEventRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:34:06.716 WARN 47232 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'obTenantMiniCompactionRepository' and 'com.alipay.ocp.core.monitordb.ob.ObTenantMiniCompactionRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:34:06.724 WARN 47232 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'ocpAlarmGroupAlarmTypeRepository' and 'com.alipay.ocp.core.metadb.alarm.OcpAlarmGroupAlarmTypeRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:34:06.725 WARN 47232 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'ocpAlarmEventHistoryRepository' and 'com.alipay.ocp.core.metadb.alarm.OcpAlarmEventHistoryRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:34:06.725 WARN 47232 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'ocpAlarmMetricMetaRepository' and 'com.alipay.ocp.core.metadb.alarm.OcpAlarmMetricMetaRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:34:06.725 WARN 47232 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'ocpAlarmDetectRuleRepository' and 'com.alipay.ocp.core.metadb.alarm.OcpAlarmDetectRuleRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:34:06.754 WARN 47232 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'metricObCollectConfigRepository' and 'com.alipay.ocp.core.metadb.monitor.MetricObCollectConfigRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:34:06.754 WARN 47232 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'metricClassRepository' and 'com.alipay.ocp.core.metadb.monitor.MetricClassRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:34:06.754 WARN 47232 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'metricGroupRepository' and 'com.alipay.ocp.core.metadb.monitor.MetricGroupRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:34:06.754 WARN 47232 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'metricMetaRepository' and 'com.alipay.ocp.core.metadb.monitor.MetricMetaRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:34:06.983 INFO 47232 --- [main,,] o.s.cloud.context.scope.GenericScope : BeanFactory id=22bf410e-9c42-33ee-903b-47d732131f72 2024-01-23 19:34:07.522 INFO 47232 --- [main,,] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler@6f952d6c' of type [org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2024-01-23 19:34:07.523 INFO 47232 --- [main,,] trationDelegate$BeanPostProcessorChecker : Bean 'localSecurityConfiguration.MethodSecurityConfiguration' of type [com.alipay.ocp.server.config.security.LocalSecurityConfiguration$MethodSecurityConfiguration$$EnhancerBySpringCGLIB$$18fad41b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2024-01-23 19:34:07.539 INFO 47232 --- [main,,] c.a.o.s.c.s.LocalSecurityConfiguration : Method-level access control enabled. 2024-01-23 19:34:07.543 INFO 47232 --- [main,,] trationDelegate$BeanPostProcessorChecker : Bean 'methodSecurityMetadataSource' of type [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2024-01-23 19:34:08.457 INFO 47232 --- [main,,] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-01-23 19:34:08.635 INFO 47232 --- [main,,] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.28.Final 2024-01-23 19:34:09.004 INFO 47232 --- [main,,] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2024-01-23 19:34:10.823 INFO 47232 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-1,metadb-connect-pool} inited 2024-01-23 19:34:10.933 INFO 47232 --- [main,,] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2024-01-23 19:34:11.720 WARN 47232 --- [main,,] o.h.t.d.java.JavaTypeDescriptorRegistry : HHH000481: Encountered Java type [class com.fasterxml.jackson.databind.JsonNode] for which we could not locate a JavaTypeDescriptor and which does not appear to implement equals and/or hashCode. This can lead to significant performance problems when performing equality/dirty checking involving this Java type. Consider registering a custom JavaTypeDescriptor or at least implementing equals/hashCode. 2024-01-23 19:34:11.720 WARN 47232 --- [main,,] o.h.t.d.java.JavaTypeDescriptorRegistry : HHH000481: Encountered Java type [class com.fasterxml.jackson.databind.JsonNode] for which we could not locate a JavaTypeDescriptor and which does not appear to implement equals and/or hashCode. This can lead to significant performance problems when performing equality/dirty checking involving this Java type. Consider registering a custom JavaTypeDescriptor or at least implementing equals/hashCode. 2024-01-23 19:34:11.721 WARN 47232 --- [main,,] o.h.t.d.java.JavaTypeDescriptorRegistry : HHH000481: Encountered Java type [class com.fasterxml.jackson.databind.JsonNode] for which we could not locate a JavaTypeDescriptor and which does not appear to implement equals and/or hashCode. This can lead to significant performance problems when performing equality/dirty checking involving this Java type. Consider registering a custom JavaTypeDescriptor or at least implementing equals/hashCode. 2024-01-23 19:34:12.340 WARN 47232 --- [main,,] org.hibernate.mapping.RootClass : HHH000038: Composite-id class does not override equals(): com.alipay.ocp.core.metadb.iam.jdbcsession.SpringJdbcSessionAttributeKey 2024-01-23 19:34:12.340 WARN 47232 --- [main,,] org.hibernate.mapping.RootClass : HHH000039: Composite-id class does not override hashCode(): com.alipay.ocp.core.metadb.iam.jdbcsession.SpringJdbcSessionAttributeKey 2024-01-23 19:34:14.043 INFO 47232 --- [main,,] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2024-01-23 19:34:14.066 INFO 47232 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-01-23 19:34:15.417 INFO 47232 --- [main,,] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 5433 (http) 2024-01-23 19:34:15.438 INFO 47232 --- [main,,] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-01-23 19:34:15.438 INFO 47232 --- [main,,] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.43] 2024-01-23 19:34:15.549 INFO 47232 --- [main,,] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-01-23 19:34:15.549 INFO 47232 --- [main,,] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 18465 ms 2024-01-23 19:34:17.201 INFO 47232 --- [main,,] c.a.o.service.maz.OcpMultiAzoneService : OCP multi-azone not enabled 2024-01-23 19:34:17.205 INFO 47232 --- [main,,] .a.o.s.c.m.MonitorDruidDataSourceWrapper : set username=root@monitor_tenant#obcluster 2024-01-23 19:34:17.206 INFO 47232 --- [main,,] .a.o.s.c.m.MonitorDruidDataSourceWrapper : set url=jdbc:oceanbase://172.20.17.86:5432/monitor?useUnicode=true&characterEncoding=utf-8&connectTimeout=2000&socketTimeout=120000&rewriteBatchedStatements=true&allowMultiQueries=true 2024-01-23 19:34:17.206 INFO 47232 --- [main,,] .a.o.s.c.m.MonitorDruidDataSourceWrapper : set driver class=com.oceanbase.jdbc.Driver 2024-01-23 19:34:17.251 INFO 47232 --- [main,,] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-01-23 19:34:18.341 INFO 47232 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-2,monitordb-connect-pool} inited 2024-01-23 19:34:18.342 INFO 47232 --- [main,,] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2024-01-23 19:34:18.742 INFO 47232 --- [main,,] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2024-01-23 19:34:18.743 INFO 47232 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-01-23 19:34:18.859 INFO 47232 --- [main,,] c.a.o.s.initializer.DatabaseInitializer : Start migration, location=migration/meta 2024-01-23 19:34:19.046 INFO 47232 --- [main,,] c.a.o.s.initializer.DatabaseInitializer : Finish migration, location=migration/meta 2024-01-23 19:34:19.046 INFO 47232 --- [main,,] c.a.o.s.initializer.DatabaseInitializer : Start migration, location=migration/monitor 2024-01-23 19:34:19.047 INFO 47232 --- [main,,] com.alipay.ocp.core.util.ResourceUtils : Cannot find any file in location: migration/monitor 2024-01-23 19:34:19.047 INFO 47232 --- [main,,] c.a.o.s.initializer.DatabaseInitializer : Migration schemas is empty. 2024-01-23 19:34:20.148 WARN 47232 --- [main,,] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ocpServerApplication': Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ocpStartUpChecker': Invocation of init method failed; nested exception is java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-01-23T19:34:00.334+08:00, server time = 2024-01-23T19:34:20.147+08:00, max difference allowed is 1000 ms 2024-01-23 19:34:20.151 INFO 47232 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-01-23 19:34:20.152 INFO 47232 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-2} closing ... 2024-01-23 19:34:20.161 INFO 47232 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-2} closed 2024-01-23 19:34:20.163 INFO 47232 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-01-23 19:34:20.163 INFO 47232 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... 2024-01-23 19:34:20.170 INFO 47232 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed 2024-01-23 19:34:20.172 INFO 47232 --- [main,,] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2024-01-23 19:34:20.195 INFO 47232 --- [main,,] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2024-01-23 19:34:20.200 ERROR 47232 --- [main,,] c.a.o.s.analyzer.OcpFailureAnalyzer : OCP startup check failed with cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ocpServerApplication': Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ocpStartUpChecker': Invocation of init method failed; nested exception is java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-01-23T19:34:00.334+08:00, server time = 2024-01-23T19:34:20.147+08:00, max difference allowed is 1000 ms at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:798) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:228) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1358) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1204) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:879) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878) ~[spring-context-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550) ~[spring-context-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143) ~[spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) [spring-boot-2.3.9.RELEASE.jar!/:2.3.9.RELEASE] at com.alipay.ocp.OcpServerApplication.main(OcpServerApplication.java:23) [classes!/:4.0.0-20220930] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_312] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_312] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_312] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_312] at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) [ocp-server-4.0.0-20220930.jar:4.0.0-20220930] at org.springframework.boot.loader.Launcher.launch(Launcher.java:107) [ocp-server-4.0.0-20220930.jar:4.0.0-20220930] at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) [ocp-server-4.0.0-20220930.jar:4.0.0-20220930] at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:467) [ocp-server-4.0.0-20220930.jar:4.0.0-20220930] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ocpStartUpChecker': Invocation of init method failed; nested exception is java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-01-23T19:34:00.334+08:00, server time = 2024-01-23T19:34:20.147+08:00, max difference allowed is 1000 ms at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:416) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1788) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1287) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1207) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:885) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:789) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] ... 28 common frames omitted Caused by: java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-01-23T19:34:00.334+08:00, server time = 2024-01-23T19:34:20.147+08:00, max difference allowed is 1000 ms at com.alipay.ocp.server.analyzer.OcpStartUpChecker.checkTime(OcpStartUpChecker.java:107) ~[classes!/:4.0.0-20220930] at com.alipay.ocp.server.analyzer.OcpStartUpChecker.init(OcpStartUpChecker.java:95) ~[classes!/:4.0.0-20220930] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_312] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_312] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_312] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_312] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157) ~[spring-beans-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] ... 41 common frames omitted 2024-01-23 19:34:20.384 ERROR 47232 --- [main,,] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: OCP application startup check failed. Action: Please check the stack trace above for the root cause. 2024-01-23 19:34:26.949 INFO 47345 --- [main,,] com.alipay.ocp.OcpServerApplication : The following profiles are active: composite,default 2024-01-23 19:34:32.905 INFO 47345 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-01-23 19:34:33.192 INFO 47345 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 269ms. Found 16 JPA repository interfaces. 2024-01-23 19:34:33.199 INFO 47345 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-01-23 19:34:33.242 INFO 47345 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 41ms. Found 3 JPA repository interfaces. 2024-01-23 19:34:33.242 INFO 47345 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-01-23 19:34:35.078 INFO 47345 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 1835ms. Found 99 JPA repository interfaces. 2024-01-23 19:34:36.799 WARN 47345 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'sqlAggregateDataRepository' and 'com.alipay.ocp.core.monitordb.alarm.SqlAggregateDataRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:34:36.799 WARN 47345 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'obClusterSystemEventRepository' and 'com.alipay.ocp.core.monitordb.ob.ObClusterSystemEventRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:34:36.799 WARN 47345 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'obTenantMiniCompactionRepository' and 'com.alipay.ocp.core.monitordb.ob.ObTenantMiniCompactionRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:34:36.808 WARN 47345 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'ocpAlarmGroupAlarmTypeRepository' and 'com.alipay.ocp.core.metadb.alarm.OcpAlarmGroupAlarmTypeRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:34:36.809 WARN 47345 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'ocpAlarmEventHistoryRepository' and 'com.alipay.ocp.core.metadb.alarm.OcpAlarmEventHistoryRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:34:36.809 WARN 47345 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'ocpAlarmMetricMetaRepository' and 'com.alipay.ocp.core.metadb.alarm.OcpAlarmMetricMetaRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:34:36.809 WARN 47345 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'ocpAlarmDetectRuleRepository' and 'com.alipay.ocp.core.metadb.alarm.OcpAlarmDetectRuleRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:34:36.838 WARN 47345 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'metricObCollectConfigRepository' and 'com.alipay.ocp.core.metadb.monitor.MetricObCollectConfigRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:34:36.838 WARN 47345 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'metricClassRepository' and 'com.alipay.ocp.core.metadb.monitor.MetricClassRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:34:36.838 WARN 47345 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'metricGroupRepository' and 'com.alipay.ocp.core.metadb.monitor.MetricGroupRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:34:36.838 WARN 47345 --- [main,,] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'metricMetaRepository' and 'com.alipay.ocp.core.metadb.monitor.MetricMetaRepository' mapperInterface. Bean already defined with the same name! 2024-01-23 19:34:37.059 INFO 47345 --- [main,,] o.s.cloud.context.scope.GenericScope : BeanFactory id=22bf410e-9c42-33ee-903b-47d732131f72 2024-01-23 19:34:37.633 INFO 47345 --- [main,,] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler@6f952d6c' of type [org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2024-01-23 19:34:37.634 INFO 47345 --- [main,,] trationDelegate$BeanPostProcessorChecker : Bean 'localSecurityConfiguration.MethodSecurityConfiguration' of type [com.alipay.ocp.server.config.security.LocalSecurityConfiguration$MethodSecurityConfiguration$$EnhancerBySpringCGLIB$$1313e9f8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2024-01-23 19:34:37.651 INFO 47345 --- [main,,] c.a.o.s.c.s.LocalSecurityConfiguration : Method-level access control enabled. 2024-01-23 19:34:37.655 INFO 47345 --- [main,,] trationDelegate$BeanPostProcessorChecker : Bean 'methodSecurityMetadataSource' of type [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2024-01-23 19:34:38.709 INFO 47345 --- [main,,] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-01-23 19:34:38.910 INFO 47345 --- [main,,] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.28.Final 2024-01-23 19:34:39.298 INFO 47345 --- [main,,] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} [root@obproxy ocp]#