2024-10-24 05:15:29.225 INFO 5323 --- [main,,] c.o.o.b.spring.BootstrapRunListener : environmentPrepared 2024-10-24 05:15:39.560 INFO 5323 --- [main,,] c.o.o.b.spring.BootstrapRunListener : contextPrepared 2024-10-24 05:15:39.560 INFO 5323 --- [main,,] c.o.o.b.spring.BootstrapRunListener : set internal properties as the first PropertySource 2024-10-24 05:15:39.707 INFO 5323 --- [main,,] c.o.o.b.spring.BootstrapRunListener : register bean ProgressHandler 2024-10-24 05:15:39.707 INFO 5323 --- [main,,] c.o.o.b.spring.BootstrapRunListener : set internal property ocp.version to 4.2.1 2024-10-24 05:15:39.708 INFO 5323 --- [main,,] c.o.o.b.spring.BootstrapRunListener : ocp.version in spring: 4.2.1 2024-10-24 05:15:39.892 INFO 5323 --- [main,,] c.o.o.b.spring.BootstrapRunListener : contextLoaded 2024-10-24 05:15:41.778 INFO 5323 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : begin AfterDataSourceCreationHook 2024-10-24 05:15:41.782 INFO 5323 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : end AfterDataSourceCreationHook 2024-10-24 05:15:43.108 INFO 5323 --- [main,,] c.o.o.b.spring.BootstrapRunListener : ready. time taken: PT15.000202082S 2024-10-24 05:15:43.299 INFO 5323 --- [main,,] c.o.o.b.spring.BootstrapRunListener : environmentPrepared 2024-10-24 05:15:43.490 INFO 5323 --- [main,,] o.s.c.c.s.e.NativeEnvironmentRepository : Adding property source: Config resource 'class path resource [application.properties]' via location 'classpath:/' 2024-10-24 05:15:43.571 INFO 5323 --- [main,,] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource {name='bootstrapProperties-classpath:/application.properties'}, BootstrapPropertySource {name='bootstrapProperties-ocp-default'}] 2024-10-24 05:15:43.653 INFO 5323 --- [main,,] c.o.o.b.spring.BootstrapRunListener : contextPrepared 2024-10-24 05:15:43.653 INFO 5323 --- [main,,] c.o.o.b.spring.BootstrapRunListener : set internal properties as the first PropertySource 2024-10-24 05:15:43.754 INFO 5323 --- [main,,] c.o.o.b.spring.BootstrapRunListener : register bean ProgressHandler 2024-10-24 05:15:43.755 INFO 5323 --- [main,,] c.o.o.b.spring.BootstrapRunListener : set internal property ocp.version to 4.2.1 2024-10-24 05:15:43.755 INFO 5323 --- [main,,] c.o.o.b.spring.BootstrapRunListener : ocp.version in spring: 4.2.1 2024-10-24 05:15:43.757 INFO 5323 --- [main,,] c.oceanbase.ocp.OcpCeServerApplication : The following 1 profile is active: "composite" 2024-10-24 05:15:43.768 INFO 5323 --- [main,,] c.o.o.b.spring.BootstrapRunListener : contextLoaded 2024-10-24 05:15:51.654 INFO 5323 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-10-24 05:15:51.655 INFO 5323 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-10-24 05:15:51.920 INFO 5323 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 230 ms. Found 4 JPA repository interfaces. 2024-10-24 05:15:51.943 INFO 5323 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-10-24 05:15:51.943 INFO 5323 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-10-24 05:15:53.850 INFO 5323 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 1907 ms. Found 143 JPA repository interfaces. 2024-10-24 05:15:53.855 INFO 5323 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-10-24 05:15:53.855 INFO 5323 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-10-24 05:15:54.098 INFO 5323 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 242 ms. Found 18 JPA repository interfaces. 2024-10-24 05:15:59.745 INFO 5323 --- [main,,] o.s.cloud.context.scope.GenericScope : BeanFactory id=d2780684-3708-3d79-943f-fbd36bf2c570 2024-10-24 05:16:02.027 INFO 5323 --- [main,,] trationDelegate$BeanPostProcessorChecker : Bean 'commonSecurityConfiguration.MethodSecurityConfiguration' of type [com.oceanbase.ocp.server.common.config.security.conf.CommonSecurityConfiguration$MethodSecurityConfiguration$$EnhancerBySpringCGLIB$$22387f9e] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2024-10-24 05:16:02.065 INFO 5323 --- [main,,] .o.s.c.c.s.c.CommonSecurityConfiguration : Method-level access control enabled. 2024-10-24 05:16:03.427 INFO 5323 --- [main,,] c.o.o.s.c.c.w.MetadbDataSourceWrapper : [metadb] driver class=com.oceanbase.jdbc.Driver 2024-10-24 05:16:03.428 INFO 5323 --- [main,,] c.o.o.s.c.c.w.MetadbDataSourceWrapper : [metadb] username=root@ocp_meta 2024-10-24 05:16:03.428 INFO 5323 --- [main,,] c.o.o.s.c.c.w.MetadbDataSourceWrapper : [metadb] jdbc url=jdbc:oceanbase://192.168.87.200:2883/meta_database?useUnicode=true&characterEncoding=UTF8&connectTimeout=2000&socketTimeout=30000&rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull 2024-10-24 05:16:03.428 INFO 5323 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : begin AfterDataSourceCreationHook 2024-10-24 05:16:03.428 INFO 5323 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : end AfterDataSourceCreationHook 2024-10-24 05:16:04.337 INFO 5323 --- [main,,] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-10-24 05:16:04.893 INFO 5323 --- [main,,] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.6.15.Final 2024-10-24 05:16:05.989 INFO 5323 --- [main,,] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2024-10-24 05:16:10.928 INFO 5323 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-7,metadb-connect-pool} inited 2024-10-24 05:16:11.007 INFO 5323 --- [main,,] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2024-10-24 05:16:12.798 WARN 5323 --- [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-10-24 05:16:14.384 WARN 5323 --- [main,,] org.hibernate.mapping.RootClass : HHH000038: Composite-id class does not override equals(): com.oceanbase.ocp.core.metadb.repo.iam.jdbcsession.SpringJdbcSessionAttributeKey 2024-10-24 05:16:14.384 WARN 5323 --- [main,,] org.hibernate.mapping.RootClass : HHH000039: Composite-id class does not override hashCode(): com.oceanbase.ocp.core.metadb.repo.iam.jdbcsession.SpringJdbcSessionAttributeKey 2024-10-24 05:16:21.681 INFO 5323 --- [main,,] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2024-10-24 05:16:21.780 INFO 5323 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-10-24 05:16:28.364 INFO 5323 --- [main,,] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2024-10-24 05:16:28.405 INFO 5323 --- [main,,] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-10-24 05:16:28.406 INFO 5323 --- [main,,] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.73] 2024-10-24 05:16:29.050 INFO 5323 --- [main,,] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-10-24 05:16:29.050 INFO 5323 --- [main,,] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 45281 ms 2024-10-24 05:16:31.849 INFO 5323 --- [main,,] c.o.ocp.ha.maz.OcpMultiAzoneServiceImpl : OCP multi-azone not enabled 2024-10-24 05:16:31.872 INFO 5323 --- [main,,] c.o.o.s.c.c.w.MonitordbDataSourceWrapper : [monitordb] driver class=com.oceanbase.jdbc.Driver 2024-10-24 05:16:31.872 INFO 5323 --- [main,,] c.o.o.s.c.c.w.MonitordbDataSourceWrapper : [monitordb] username=root@ocp_monitor 2024-10-24 05:16:31.872 INFO 5323 --- [main,,] c.o.o.s.c.c.w.MonitordbDataSourceWrapper : [monitordb] jdbc url=jdbc:oceanbase://192.168.87.200:2883/monitor_database?useUnicode=true&characterEncoding=utf-8&connectTimeout=2000&socketTimeout=120000&rewriteBatchedStatements=true&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull 2024-10-24 05:16:31.908 INFO 5323 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : begin AfterDataSourceCreationHook 2024-10-24 05:16:31.909 INFO 5323 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : end AfterDataSourceCreationHook 2024-10-24 05:16:31.971 INFO 5323 --- [main,,] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-10-24 05:16:36.417 INFO 5323 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-8,monitordb-connect-pool} inited 2024-10-24 05:16:36.421 INFO 5323 --- [main,,] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2024-10-24 05:16:37.711 INFO 5323 --- [main,,] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2024-10-24 05:16:37.712 INFO 5323 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-10-24 05:16:40.478 WARN 5323 --- [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-10-23T17:16:40.377-04:00, server time = 2024-10-24T05:16:40.475-04:00, max difference allowed is 1000 ms 2024-10-24 05:16:40.482 INFO 5323 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-10-24 05:16:40.486 INFO 5323 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-8} closing ... 2024-10-24 05:16:40.495 INFO 5323 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-8} closed 2024-10-24 05:16:40.499 INFO 5323 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-10-24 05:16:40.500 INFO 5323 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-7} closing ... 2024-10-24 05:16:40.511 INFO 5323 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-7} closed 2024-10-24 05:16:40.519 INFO 5323 --- [main,,] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2024-10-24 05:16:40.609 INFO 5323 --- [main,,] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2024-10-24 05:16:40.615 INFO 5323 --- [main,,] c.o.o.b.spring.BootstrapRunListener : failed 2024-10-24 05:16:40.921 WARN 5323 --- [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-10-23T17:16:40.377-04:00, server time = 2024-10-24T05:16:40.475-04: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 = 2024-10-23T17:16:40.377-04:00, server time = 2024-10-24T05:16:40.475-04: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 = 2024-10-23T17:16:40.377-04:00, server time = 2024-10-24T05:16:40.475-04: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 2024-10-24 05:16:40.932 ERROR 5323 --- [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-10-24 22:36:43.487 INFO 3916 --- [main,,] c.o.o.b.spring.BootstrapRunListener : environmentPrepared 2024-10-24 22:36:59.913 INFO 3916 --- [main,,] c.o.o.b.spring.BootstrapRunListener : contextPrepared 2024-10-24 22:36:59.913 INFO 3916 --- [main,,] c.o.o.b.spring.BootstrapRunListener : set internal properties as the first PropertySource 2024-10-24 22:37:00.085 INFO 3916 --- [main,,] c.o.o.b.spring.BootstrapRunListener : register bean ProgressHandler 2024-10-24 22:37:00.086 INFO 3916 --- [main,,] c.o.o.b.spring.BootstrapRunListener : set internal property ocp.version to 4.2.1 2024-10-24 22:37:00.087 INFO 3916 --- [main,,] c.o.o.b.spring.BootstrapRunListener : ocp.version in spring: 4.2.1 2024-10-24 22:37:00.415 INFO 3916 --- [main,,] c.o.o.b.spring.BootstrapRunListener : contextLoaded 2024-10-24 22:37:03.546 INFO 3916 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : begin AfterDataSourceCreationHook 2024-10-24 22:37:03.554 INFO 3916 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : end AfterDataSourceCreationHook 2024-10-24 22:37:05.382 INFO 3916 --- [main,,] c.o.o.b.spring.BootstrapRunListener : ready. time taken: PT23.520760285S 2024-10-24 22:37:05.618 INFO 3916 --- [main,,] c.o.o.b.spring.BootstrapRunListener : environmentPrepared 2024-10-24 22:37:05.957 INFO 3916 --- [main,,] o.s.c.c.s.e.NativeEnvironmentRepository : Adding property source: Config resource 'class path resource [application.properties]' via location 'classpath:/' 2024-10-24 22:37:06.103 INFO 3916 --- [main,,] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource {name='bootstrapProperties-classpath:/application.properties'}, BootstrapPropertySource {name='bootstrapProperties-ocp-default'}] 2024-10-24 22:37:06.377 INFO 3916 --- [main,,] c.o.o.b.spring.BootstrapRunListener : contextPrepared 2024-10-24 22:37:06.378 INFO 3916 --- [main,,] c.o.o.b.spring.BootstrapRunListener : set internal properties as the first PropertySource 2024-10-24 22:37:06.539 INFO 3916 --- [main,,] c.o.o.b.spring.BootstrapRunListener : register bean ProgressHandler 2024-10-24 22:37:06.540 INFO 3916 --- [main,,] c.o.o.b.spring.BootstrapRunListener : set internal property ocp.version to 4.2.1 2024-10-24 22:37:06.541 INFO 3916 --- [main,,] c.o.o.b.spring.BootstrapRunListener : ocp.version in spring: 4.2.1 2024-10-24 22:37:06.545 INFO 3916 --- [main,,] c.oceanbase.ocp.OcpCeServerApplication : The following 1 profile is active: "composite" 2024-10-24 22:37:06.569 INFO 3916 --- [main,,] c.o.o.b.spring.BootstrapRunListener : contextLoaded 2024-10-24 22:37:21.492 INFO 3916 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-10-24 22:37:21.493 INFO 3916 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-10-24 22:37:21.962 INFO 3916 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 382 ms. Found 4 JPA repository interfaces. 2024-10-24 22:37:21.994 INFO 3916 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-10-24 22:37:21.994 INFO 3916 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-10-24 22:37:24.498 INFO 3916 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 2503 ms. Found 143 JPA repository interfaces. 2024-10-24 22:37:24.509 INFO 3916 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-10-24 22:37:24.509 INFO 3916 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-10-24 22:37:25.131 INFO 3916 --- [main,,] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 621 ms. Found 18 JPA repository interfaces. 2024-10-24 22:37:33.287 INFO 3916 --- [main,,] o.s.cloud.context.scope.GenericScope : BeanFactory id=d2780684-3708-3d79-943f-fbd36bf2c570 2024-10-24 22:37:36.218 INFO 3916 --- [main,,] trationDelegate$BeanPostProcessorChecker : Bean 'commonSecurityConfiguration.MethodSecurityConfiguration' of type [com.oceanbase.ocp.server.common.config.security.conf.CommonSecurityConfiguration$MethodSecurityConfiguration$$EnhancerBySpringCGLIB$$eeeec495] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2024-10-24 22:37:36.331 INFO 3916 --- [main,,] .o.s.c.c.s.c.CommonSecurityConfiguration : Method-level access control enabled. 2024-10-24 22:37:39.904 INFO 3916 --- [main,,] c.o.o.s.c.c.w.MetadbDataSourceWrapper : [metadb] driver class=com.oceanbase.jdbc.Driver 2024-10-24 22:37:39.905 INFO 3916 --- [main,,] c.o.o.s.c.c.w.MetadbDataSourceWrapper : [metadb] username=root@ocp_meta 2024-10-24 22:37:39.905 INFO 3916 --- [main,,] c.o.o.s.c.c.w.MetadbDataSourceWrapper : [metadb] jdbc url=jdbc:oceanbase://192.168.87.200:2883/meta_database?useUnicode=true&characterEncoding=UTF8&connectTimeout=2000&socketTimeout=30000&rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull 2024-10-24 22:37:39.906 INFO 3916 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : begin AfterDataSourceCreationHook 2024-10-24 22:37:39.906 INFO 3916 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : end AfterDataSourceCreationHook 2024-10-24 22:37:41.512 INFO 3916 --- [main,,] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-10-24 22:37:42.506 INFO 3916 --- [main,,] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.6.15.Final 2024-10-24 22:37:45.189 INFO 3916 --- [main,,] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2024-10-24 22:37:52.703 INFO 3916 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-7,metadb-connect-pool} inited 2024-10-24 22:37:52.838 INFO 3916 --- [main,,] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2024-10-24 22:37:56.188 WARN 3916 --- [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-10-24 22:37:58.961 WARN 3916 --- [main,,] org.hibernate.mapping.RootClass : HHH000038: Composite-id class does not override equals(): com.oceanbase.ocp.core.metadb.repo.iam.jdbcsession.SpringJdbcSessionAttributeKey 2024-10-24 22:37:58.961 WARN 3916 --- [main,,] org.hibernate.mapping.RootClass : HHH000039: Composite-id class does not override hashCode(): com.oceanbase.ocp.core.metadb.repo.iam.jdbcsession.SpringJdbcSessionAttributeKey 2024-10-24 22:38:10.044 INFO 3916 --- [main,,] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2024-10-24 22:38:10.148 INFO 3916 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-10-24 22:38:21.000 INFO 3916 --- [main,,] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2024-10-24 22:38:21.045 INFO 3916 --- [main,,] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-10-24 22:38:21.046 INFO 3916 --- [main,,] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.73] 2024-10-24 22:38:21.903 INFO 3916 --- [main,,] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-10-24 22:38:21.905 INFO 3916 --- [main,,] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 75334 ms 2024-10-24 22:38:27.435 INFO 3916 --- [main,,] c.o.ocp.ha.maz.OcpMultiAzoneServiceImpl : OCP multi-azone not enabled 2024-10-24 22:38:27.465 INFO 3916 --- [main,,] c.o.o.s.c.c.w.MonitordbDataSourceWrapper : [monitordb] driver class=com.oceanbase.jdbc.Driver 2024-10-24 22:38:27.465 INFO 3916 --- [main,,] c.o.o.s.c.c.w.MonitordbDataSourceWrapper : [monitordb] username=root@ocp_monitor 2024-10-24 22:38:27.465 INFO 3916 --- [main,,] c.o.o.s.c.c.w.MonitordbDataSourceWrapper : [monitordb] jdbc url=jdbc:oceanbase://192.168.87.200:2883/monitor_database?useUnicode=true&characterEncoding=utf-8&connectTimeout=2000&socketTimeout=120000&rewriteBatchedStatements=true&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull 2024-10-24 22:38:27.503 INFO 3916 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : begin AfterDataSourceCreationHook 2024-10-24 22:38:27.504 INFO 3916 --- [main,,] c.o.o.b.spring.DataSourceInterceptor : end AfterDataSourceCreationHook 2024-10-24 22:38:27.590 INFO 3916 --- [main,,] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-10-24 22:38:32.517 INFO 3916 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-8,monitordb-connect-pool} inited 2024-10-24 22:38:32.521 INFO 3916 --- [main,,] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2024-10-24 22:38:33.991 INFO 3916 --- [main,,] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2024-10-24 22:38:33.992 INFO 3916 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-10-24 22:38:36.898 WARN 3916 --- [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-10-24T10:38:36.871-04:00, server time = 2024-10-24T22:38:36.896-04:00, max difference allowed is 1000 ms 2024-10-24 22:38:36.899 INFO 3916 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-10-24 22:38:36.902 INFO 3916 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-8} closing ... 2024-10-24 22:38:36.920 INFO 3916 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-8} closed 2024-10-24 22:38:36.928 INFO 3916 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-10-24 22:38:36.929 INFO 3916 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-7} closing ... 2024-10-24 22:38:36.941 INFO 3916 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-7} closed 2024-10-24 22:38:36.947 INFO 3916 --- [main,,] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2024-10-24 22:38:36.998 INFO 3916 --- [main,,] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2024-10-24 22:38:37.002 INFO 3916 --- [main,,] c.o.o.b.spring.BootstrapRunListener : failed 2024-10-24 22:38:37.176 WARN 3916 --- [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-10-24T10:38:36.871-04:00, server time = 2024-10-24T22:38:36.896-04: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 = 2024-10-24T10:38:36.871-04:00, server time = 2024-10-24T22:38:36.896-04: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 = 2024-10-24T10:38:36.871-04:00, server time = 2024-10-24T22:38:36.896-04: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 2024-10-24 22:38:37.183 ERROR 3916 --- [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.