2025-06-11 12:24:24.743 INFO 2959 --- [main,,] c.o.o.b.spring.BootstrapRunListener : environmentPrepared 2025-06-11 12:24:35.835 INFO 2959 --- [main,,] c.o.o.b.spring.BootstrapRunListener : contextPrepared 2025-06-11 12:24:35.836 INFO 2959 --- [main,,] c.o.o.b.spring.BootstrapRunListener : set internal properties as the first PropertySource 2025-06-11 12:24:35.877 INFO 2959 --- [main,,] c.o.o.b.spring.BootstrapRunListener : register bean ProgressHandler 2025-06-11 12:24:35.877 INFO 2959 --- [main,,] c.o.o.b.spring.BootstrapRunListener : set internal property ocp.version to 4.2.2 2025-06-11 12:24:35.877 INFO 2959 --- [main,,] c.o.o.b.spring.BootstrapRunListener : ocp.version in spring: 4.2.2 2025-06-11 12:24:36.080 INFO 2959 --- [main,,] c.o.o.b.spring.BootstrapRunListener : contextLoaded 2025-06-11 12:24:38.468 INFO 2959 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : begin AfterDataSourceCreationHook 2025-06-11 12:24:38.471 INFO 2959 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : end AfterDataSourceCreationHook 2025-06-11 12:24:41.671 INFO 2959 --- [main,,] c.o.o.b.spring.BootstrapRunListener : ready. time taken: PT18.016710605S 2025-06-11 12:24:41.896 INFO 2959 --- [main,,] c.o.o.b.spring.BootstrapRunListener : environmentPrepared 2025-06-11 12:24:42.167 INFO 2959 --- [main,,] o.s.c.c.s.e.NativeEnvironmentRepository : Adding property source: Config resource 'class path resource [application.properties]' via location 'classpath:/' 2025-06-11 12:24:42.512 INFO 2959 --- [main,,] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource {name='bootstrapProperties-classpath:/application.properties'}, BootstrapPropertySource {name='bootstrapProperties-ocp-default'}] 2025-06-11 12:24:42.619 INFO 2959 --- [main,,] c.o.o.b.spring.BootstrapRunListener : contextPrepared 2025-06-11 12:24:42.620 INFO 2959 --- [main,,] c.o.o.b.spring.BootstrapRunListener : set internal properties as the first PropertySource 2025-06-11 12:24:42.620 INFO 2959 --- [main,,] c.o.o.b.spring.BootstrapRunListener : register bean ProgressHandler 2025-06-11 12:24:42.621 INFO 2959 --- [main,,] c.o.o.b.spring.BootstrapRunListener : set internal property ocp.version to 4.2.2 2025-06-11 12:24:42.621 INFO 2959 --- [main,,] c.o.o.b.spring.BootstrapRunListener : ocp.version in spring: 4.2.2 2025-06-11 12:24:42.623 INFO 2959 --- [main,,] c.oceanbase.ocp.OcpCeServerApplication : The following 1 profile is active: "composite" 2025-06-11 12:24:42.640 INFO 2959 --- [main,,] c.o.o.b.spring.BootstrapRunListener : contextLoaded 2025-06-11 12:24:51.844 INFO 2959 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2025-06-11 12:24:51.845 INFO 2959 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2025-06-11 12:24:52.186 INFO 2959 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 294 ms. Found 4 JPA repository interfaces. 2025-06-11 12:24:52.192 INFO 2959 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2025-06-11 12:24:52.192 INFO 2959 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2025-06-11 12:24:52.496 INFO 2959 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 304 ms. Found 16 JPA repository interfaces. 2025-06-11 12:24:52.497 INFO 2959 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2025-06-11 12:24:52.497 INFO 2959 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2025-06-11 12:24:54.428 INFO 2959 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 1930 ms. Found 147 JPA repository interfaces. 2025-06-11 12:24:59.300 INFO 2959 --- [main,,] o.s.cloud.context.scope.GenericScope : BeanFactory id=fad7ecf1-6aa3-3ffd-bcfc-4e9f16d6500f 2025-06-11 12:25:01.250 INFO 2959 --- [main,,] trationDelegate$BeanPostProcessorChecker : Bean 'commonSecurityConfiguration.MethodSecurityConfiguration' of type [com.oceanbase.ocp.server.common.config.security.conf.CommonSecurityConfiguration$MethodSecurityConfiguration$$EnhancerBySpringCGLIB$$f26c214b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-11 12:25:01.287 INFO 2959 --- [main,,] .o.s.c.c.s.c.CommonSecurityConfiguration : Method-level access control enabled. 2025-06-11 12:25:03.411 INFO 2959 --- [main,,] c.o.o.s.c.c.w.MetadbDataSourceWrapper : [metadb] driver class=com.oceanbase.jdbc.Driver 2025-06-11 12:25:03.411 INFO 2959 --- [main,,] c.o.o.s.c.c.w.MetadbDataSourceWrapper : [metadb] username=root@ocp_meta 2025-06-11 12:25:03.412 INFO 2959 --- [main,,] c.o.o.s.c.c.w.MetadbDataSourceWrapper : [metadb] jdbc url=jdbc:oceanbase://192.168.56.55:2883/meta_database?useUnicode=true&characterEncoding=UTF8&connectTimeout=2000&socketTimeout=30000&rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull 2025-06-11 12:25:03.412 INFO 2959 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : begin AfterDataSourceCreationHook 2025-06-11 12:25:03.412 INFO 2959 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : end AfterDataSourceCreationHook 2025-06-11 12:25:04.096 INFO 2959 --- [main,,] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2025-06-11 12:25:04.677 INFO 2959 --- [main,,] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.6.15.Final 2025-06-11 12:25:06.062 INFO 2959 --- [main,,] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2025-06-11 12:25:10.972 INFO 2959 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-7,metadb-connect-pool} inited 2025-06-11 12:25:11.073 INFO 2959 --- [main,,] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2025-06-11 12:25:13.212 WARN 2959 --- [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. 2025-06-11 12:25:14.815 WARN 2959 --- [main,,] org.hibernate.mapping.RootClass : HHH000038: Composite-id class does not override equals(): com.oceanbase.ocp.core.metadb.repo.iam.jdbcsession.SpringJdbcSessionAttributeKey 2025-06-11 12:25:14.815 WARN 2959 --- [main,,] org.hibernate.mapping.RootClass : HHH000039: Composite-id class does not override hashCode(): com.oceanbase.ocp.core.metadb.repo.iam.jdbcsession.SpringJdbcSessionAttributeKey 2025-06-11 12:25:20.480 INFO 2959 --- [main,,] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2025-06-11 12:25:20.619 INFO 2959 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2025-06-11 12:25:26.843 INFO 2959 --- [main,,] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2025-06-11 12:25:26.882 INFO 2959 --- [main,,] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2025-06-11 12:25:26.883 INFO 2959 --- [main,,] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.73] 2025-06-11 12:25:27.258 INFO 2959 --- [main,,] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2025-06-11 12:25:27.259 INFO 2959 --- [main,,] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 44618 ms 2025-06-11 12:25:29.894 INFO 2959 --- [main,,] c.o.ocp.ha.maz.OcpMultiAzoneServiceImpl : OCP multi-azone not enabled 2025-06-11 12:25:29.926 INFO 2959 --- [main,,] c.o.o.s.c.c.w.MonitordbDataSourceWrapper : [monitordb] driver class=com.oceanbase.jdbc.Driver 2025-06-11 12:25:29.926 INFO 2959 --- [main,,] c.o.o.s.c.c.w.MonitordbDataSourceWrapper : [monitordb] username=root@ocp_monitor 2025-06-11 12:25:29.926 INFO 2959 --- [main,,] c.o.o.s.c.c.w.MonitordbDataSourceWrapper : [monitordb] jdbc url=jdbc:oceanbase://192.168.56.55:2883/monitor_database?useUnicode=true&characterEncoding=utf-8&connectTimeout=2000&socketTimeout=120000&rewriteBatchedStatements=true&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull 2025-06-11 12:25:29.969 INFO 2959 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : begin AfterDataSourceCreationHook 2025-06-11 12:25:29.970 INFO 2959 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : end AfterDataSourceCreationHook 2025-06-11 12:25:30.023 INFO 2959 --- [main,,] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2025-06-11 12:25:34.344 INFO 2959 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-8,monitordb-connect-pool} inited 2025-06-11 12:25:34.344 INFO 2959 --- [main,,] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2025-06-11 12:25:35.044 INFO 2959 --- [main,,] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2025-06-11 12:25:35.045 INFO 2959 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2025-06-11 12:25:37.262 WARN 2959 --- [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 = 2025-06-11T12:22:12.138+08:00, server time = 2025-06-11T12:25:37.261+08:00, max difference allowed is 1000 ms 2025-06-11 12:25:37.263 INFO 2959 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2025-06-11 12:25:37.265 INFO 2959 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-8} closing ... 2025-06-11 12:25:37.296 INFO 2959 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-8} closed 2025-06-11 12:25:37.300 INFO 2959 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2025-06-11 12:25:37.301 INFO 2959 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-7} closing ... 2025-06-11 12:25:37.318 INFO 2959 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-7} closed 2025-06-11 12:25:37.322 INFO 2959 --- [main,,] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2025-06-11 12:25:37.375 INFO 2959 --- [main,,] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2025-06-11 12:25:37.378 INFO 2959 --- [main,,] c.o.o.b.spring.BootstrapRunListener : failed 2025-06-11 12:25:37.566 WARN 2959 --- [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 = 2025-06-11T12:22:12.138+08:00, server time = 2025-06-11T12:25:37.261+08:00, max difference allowed is 1000 ms at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:229) 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:921) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292) 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 = 2025-06-11T12:22:12.138+08:00, server time = 2025-06-11T12:25:37.261+08:00, 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:887) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791) ... 27 common frames omitted Caused by: java.lang.Exception: OCP metadb and server time is not in-sync: db time = 2025-06-11T12:22:12.138+08:00, server time = 2025-06-11T12:25:37.261+08:00, max difference allowed is 1000 ms at com.oceanbase.ocp.server.common.analyzer.OcpStartUpChecker.checkTime(OcpStartUpChecker.java:112) at com.oceanbase.ocp.server.common.analyzer.OcpStartUpChecker.init(OcpStartUpChecker.java:100) 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 2025-06-11 12:25:37.572 ERROR 2959 --- [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.