2024-09-05 10:01:01.890 INFO 14446 --- [main,,] c.o.o.b.spring.BootstrapRunListener : environmentPrepared 2024-09-05 10:01:11.210 INFO 14446 --- [main,,] c.o.o.b.spring.BootstrapRunListener : contextPrepared 2024-09-05 10:01:11.210 INFO 14446 --- [main,,] c.o.o.b.spring.BootstrapRunListener : set internal properties as the first PropertySource 2024-09-05 10:01:11.246 INFO 14446 --- [main,,] c.o.o.b.spring.BootstrapRunListener : register bean ProgressHandler 2024-09-05 10:01:11.247 INFO 14446 --- [main,,] c.o.o.b.spring.BootstrapRunListener : set internal property ocp.version to 4.3.1 2024-09-05 10:01:11.247 INFO 14446 --- [main,,] c.o.o.b.spring.BootstrapRunListener : ocp.version in spring: 4.3.1 2024-09-05 10:01:11.406 INFO 14446 --- [main,,] c.o.o.b.spring.BootstrapRunListener : contextLoaded 2024-09-05 10:01:13.498 INFO 14446 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : begin AfterDataSourceCreationHook 2024-09-05 10:01:13.501 INFO 14446 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : end AfterDataSourceCreationHook 2024-09-05 10:01:14.679 INFO 14446 --- [main,,] c.o.o.b.spring.BootstrapRunListener : ready. time taken: PT14.653560019S 2024-09-05 10:01:15.854 INFO 14446 --- [main,,] c.o.o.b.spring.BootstrapRunListener : environmentPrepared 2024-09-05 10:01:16.199 INFO 14446 --- [main,,] o.s.c.c.s.e.NativeEnvironmentRepository : Adding property source: Config resource 'class path resource [config/ocp.yaml]' via location 'classpath:/config/' 2024-09-05 10:01:16.200 INFO 14446 --- [main,,] o.s.c.c.s.e.NativeEnvironmentRepository : Adding property source: Config resource 'class path resource [application.properties]' via location 'classpath:/' 2024-09-05 10:01:16.339 INFO 14446 --- [main,,] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource {name='bootstrapProperties-classpath:/config/ocp.yaml'}, BootstrapPropertySource {name='bootstrapProperties-classpath:/application.properties'}, BootstrapPropertySource {name='bootstrapProperties-ocp-default'}] 2024-09-05 10:01:16.458 INFO 14446 --- [main,,] c.o.o.b.spring.BootstrapRunListener : contextPrepared 2024-09-05 10:01:16.458 INFO 14446 --- [main,,] c.o.o.b.spring.BootstrapRunListener : set internal properties as the first PropertySource 2024-09-05 10:01:16.458 INFO 14446 --- [main,,] c.o.o.b.spring.BootstrapRunListener : register bean ProgressHandler 2024-09-05 10:01:16.458 INFO 14446 --- [main,,] c.o.o.b.spring.BootstrapRunListener : set internal property ocp.version to 4.3.1 2024-09-05 10:01:16.459 INFO 14446 --- [main,,] c.o.o.b.spring.BootstrapRunListener : ocp.version in spring: 4.3.1 2024-09-05 10:01:16.460 INFO 14446 --- [main,,] c.oceanbase.ocp.OcpCeServerApplication : The following 1 profile is active: "composite" 2024-09-05 10:01:16.476 INFO 14446 --- [main,,] c.o.o.b.spring.BootstrapRunListener : contextLoaded 2024-09-05 10:01:25.003 INFO 14446 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-09-05 10:01:25.003 INFO 14446 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-09-05 10:01:25.396 INFO 14446 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 365 ms. Found 16 JPA repository interfaces. 2024-09-05 10:01:25.397 INFO 14446 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-09-05 10:01:25.397 INFO 14446 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-09-05 10:01:25.480 INFO 14446 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 82 ms. Found 4 JPA repository interfaces. 2024-09-05 10:01:25.504 INFO 14446 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-09-05 10:01:25.504 INFO 14446 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-09-05 10:01:27.034 INFO 14446 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 1529 ms. Found 153 JPA repository interfaces. 2024-09-05 10:01:30.494 INFO 14446 --- [main,,] o.s.cloud.context.scope.GenericScope : BeanFactory id=5a5a94c2-d36e-3505-a6ef-8895e1118fcb 2024-09-05 10:01:32.335 INFO 14446 --- [main,,] trationDelegate$BeanPostProcessorChecker : Bean 'commonSecurityConfiguration.MethodSecurityConfiguration' of type [com.oceanbase.ocp.server.common.config.security.conf.CommonSecurityConfiguration$MethodSecurityConfiguration$$EnhancerBySpringCGLIB$$73b84e8a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2024-09-05 10:01:32.366 INFO 14446 --- [main,,] .o.s.c.c.s.c.CommonSecurityConfiguration : Method-level access control enabled. 2024-09-05 10:01:33.239 INFO 14446 --- [main,,] c.o.o.s.c.c.w.MetadbHikariConfigHelper : [metadb] driver class=com.oceanbase.jdbc.Driver 2024-09-05 10:01:33.239 INFO 14446 --- [main,,] c.o.o.s.c.c.w.MetadbHikariConfigHelper : [metadb] username=root@ocp_meta 2024-09-05 10:01:33.239 INFO 14446 --- [main,,] c.o.o.s.c.c.w.MetadbHikariConfigHelper : [metadb] jdbc url=jdbc:oceanbase://192.168.0.244:2883/meta_database?useUnicode=true&characterEncoding=UTF8&connectTimeout=2000&socketTimeout=30000&rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull 2024-09-05 10:01:33.247 INFO 14446 --- [main,,] com.zaxxer.hikari.HikariDataSource : metadb-connect-pool - Starting... 2024-09-05 10:01:33.315 INFO 14446 --- [main,,] com.zaxxer.hikari.HikariDataSource : metadb-connect-pool - Start completed. 2024-09-05 10:01:33.327 INFO 14446 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : begin AfterDataSourceCreationHook 2024-09-05 10:01:33.328 INFO 14446 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : end AfterDataSourceCreationHook 2024-09-05 10:01:33.383 INFO 14446 --- [main,,] c.o.o.c.distributed.server.LocalServer : Local server, id=192.168.0.244:8980, name=e3076d15ff 2024-09-05 10:01:33.503 INFO 14446 --- [main,,] c.o.o.c.d.s.DistributedServerManager : DistributedServer updater scheduler started on 192.168.0.244:8980 2024-09-05 10:01:35.119 INFO 14446 --- [main,,] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8980 (http) 2024-09-05 10:01:35.163 INFO 14446 --- [main,,] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-09-05 10:01:35.163 INFO 14446 --- [main,,] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.83] 2024-09-05 10:01:35.510 INFO 14446 --- [main,,] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-09-05 10:01:35.510 INFO 14446 --- [main,,] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 19034 ms 2024-09-05 10:01:37.127 INFO 14446 --- [main,,] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-09-05 10:01:37.554 INFO 14446 --- [main,,] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.6.15.Final 2024-09-05 10:01:38.602 INFO 14446 --- [main,,] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2024-09-05 10:01:42.719 INFO 14446 --- [main,,] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2024-09-05 10:01:45.218 WARN 14446 --- [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-09-05 10:01:46.729 WARN 14446 --- [main,,] org.hibernate.mapping.RootClass : HHH000038: Composite-id class does not override equals(): com.oceanbase.ocp.core.metadb.repo.iam.jdbcsession.SpringJdbcSessionAttributeKey 2024-09-05 10:01:46.729 WARN 14446 --- [main,,] org.hibernate.mapping.RootClass : HHH000039: Composite-id class does not override hashCode(): com.oceanbase.ocp.core.metadb.repo.iam.jdbcsession.SpringJdbcSessionAttributeKey 2024-09-05 10:01:51.339 INFO 14446 --- [main,,] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2024-09-05 10:01:51.428 INFO 14446 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-09-05 10:01:54.322 INFO 14446 --- [main,,] c.o.o.monitor.MonitorBeanConfiguration : ocp-monitor bean configuration done 2024-09-05 10:01:55.247 INFO 14446 --- [main,,] c.o.ocp.ha.maz.OcpMultiAzoneServiceImpl : OCP multi-azone not enabled 2024-09-05 10:01:55.262 INFO 14446 --- [main,,] .o.o.s.c.c.w.MonitordbHikariConfigHelper : [monitordb] driver class=com.oceanbase.jdbc.Driver 2024-09-05 10:01:55.262 INFO 14446 --- [main,,] .o.o.s.c.c.w.MonitordbHikariConfigHelper : [monitordb] username=root@ocp_monitor 2024-09-05 10:01:55.262 INFO 14446 --- [main,,] .o.o.s.c.c.w.MonitordbHikariConfigHelper : [monitordb] jdbc url=jdbc:oceanbase://192.168.0.244:2883/monitor_database?useUnicode=true&characterEncoding=utf-8&encloseParamInParentheses=false&connectTimeout=2000&socketTimeout=120000&rewriteBatchedStatements=true&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull 2024-09-05 10:01:55.262 INFO 14446 --- [main,,] com.zaxxer.hikari.HikariDataSource : monitor-connect-pool - Starting... 2024-09-05 10:01:55.280 INFO 14446 --- [main,,] com.zaxxer.hikari.HikariDataSource : monitor-connect-pool - Start completed. 2024-09-05 10:01:55.280 INFO 14446 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : begin AfterDataSourceCreationHook 2024-09-05 10:01:55.280 INFO 14446 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : end AfterDataSourceCreationHook 2024-09-05 10:01:55.331 INFO 14446 --- [main,,] .o.s.c.c.w.ConfigServerDataSourceWrapper : [config server datasource] driver class=com.oceanbase.jdbc.Driver 2024-09-05 10:01:55.331 INFO 14446 --- [main,,] .o.s.c.c.w.ConfigServerDataSourceWrapper : [config server datasource] username=root@ocp_meta 2024-09-05 10:01:55.331 INFO 14446 --- [main,,] .o.s.c.c.w.ConfigServerDataSourceWrapper : [config server datasource] jdbc url=jdbc:oceanbase://192.168.0.244:2883/meta_database?useUnicode=true&characterEncoding=UTF8&encloseParamInParentheses=false&connectTimeout=2000&socketTimeout=30000&rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull 2024-09-05 10:01:55.372 INFO 14446 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : begin AfterDataSourceCreationHook 2024-09-05 10:01:55.372 INFO 14446 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : end AfterDataSourceCreationHook 2024-09-05 10:01:56.437 INFO 14446 --- [main,,] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-09-05 10:01:59.512 INFO 14446 --- [main,,] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2024-09-05 10:02:00.036 INFO 14446 --- [main,,] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2024-09-05 10:02:00.037 INFO 14446 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-09-05 10:02:02.411 WARN 14446 --- [main,,] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ocpCeServerApplication': Unsatisfied dependency expressed through constructor parameter 0; 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-09-05T02:02:02.418Z, server time = 2024-09-05T10:02:02.410Z, max difference allowed is 1000 ms 2024-09-05 10:02:02.412 INFO 14446 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-09-05 10:02:02.414 INFO 14446 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-0} closing ... 2024-09-05 10:02:02.414 INFO 14446 --- [main,,] com.zaxxer.hikari.HikariDataSource : monitor-connect-pool - Shutdown initiated... 2024-09-05 10:02:02.425 INFO 14446 --- [main,,] com.zaxxer.hikari.HikariDataSource : monitor-connect-pool - Shutdown completed. 2024-09-05 10:02:02.429 INFO 14446 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-09-05 10:02:02.431 INFO 14446 --- [main,,] com.zaxxer.hikari.HikariDataSource : metadb-connect-pool - Shutdown initiated... 2024-09-05 10:02:02.440 INFO 14446 --- [main,,] com.zaxxer.hikari.HikariDataSource : metadb-connect-pool - Shutdown completed. 2024-09-05 10:02:02.444 INFO 14446 --- [main,,] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2024-09-05 10:02:02.491 INFO 14446 --- [main,,] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2024-09-05 10:02:02.493 INFO 14446 --- [main,,] c.o.o.b.spring.BootstrapRunListener : failed 2024-09-05 10:02:02.730 WARN 14446 --- [main,,] c.o.o.s.c.analyzer.OcpFailureAnalyzer : OCP startup check failed with cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ocpCeServerApplication': Unsatisfied dependency expressed through constructor parameter 0; 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-09-05T02:02:02.418Z, server time = 2024-09-05T10:02:02.410Z, max difference allowed is 1000 ms at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:801) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:224) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:929) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:591) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:409) at org.springframework.boot.SpringApplication.run(SpringApplication.java:308) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1289) at com.oceanbase.ocp.OcpCeServerApplication.main(OcpCeServerApplication.java:20) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:467) 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-09-05T02:02:02.418Z, server time = 2024-09-05T10:02:02.410Z, max difference allowed is 1000 ms at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:440) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1796) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:911) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:788) ... 27 common frames omitted Caused by: java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2024-09-05T02:02:02.418Z, server time = 2024-09-05T10:02:02.410Z, max difference allowed is 1000 ms at com.oceanbase.ocp.server.common.analyzer.OcpStartUpChecker.checkTime(OcpStartUpChecker.java:109) at com.oceanbase.ocp.server.common.analyzer.OcpStartUpChecker.init(OcpStartUpChecker.java:96) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157) ... 40 common frames omitted 2024-09-05 10:02:02.737 ERROR 14446 --- [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.