下面是启动命令和java日志输出:
[root@zone1 ~]# java -jar -Xms436m -Xmx436m -DJDBC_URL=jdbc:oceanbase://10.20.1.13:2883/ocp_express -DJDBC_USERNAME=root -DJDBC_PASSWORD=Pwd2022# -DPUBLIC_KEY= -DOCP_EXPRESS_ADMIN_PASSWD=‘Pwd@#2022#’ /data/myodb/ocpexpress/lib/ocp-express-server.jar --port=8180 --bootstrap --progress-log=/data/myodb/ocpexpress/log/bootstrap.log --with-property=logging.file.max-size:100MB --with-property=logging.file.total-size-cap:1GB --with-property=logging.file.name:/data/myodb/ocpexpress/log/ocp-express.log
09:57:35.054 [main] INFO com.oceanbase.ocp.bootstrap.spring.BootstrapRunListener - new: [–port=8180, --bootstrap, --progress-log=/data/myodb/ocpexpress/log/bootstrap.log, --with-property=logging.file.max-size:100MB, --with-property=logging.file.total-size-cap:1GB, --with-property=logging.file.name:/data/myodb/ocpexpress/log/ocp-express.log]
09:57:35.321 [main] INFO com.oceanbase.ocp.bootstrap.db.MetaPropertyInitializer - MetaDB properties notified
09:57:35.347 [main] INFO com.oceanbase.ocp.bootstrap.db.MetaPropertyInitializer - use existed properties
2023-06-25 09:57:38.614 INFO 1183198 — [ main] c.o.o.b.spring.BootstrapRunListener : environmentPrepared
2023-06-25 09:57:39.034 INFO 1183198 — [ main] c.o.o.b.spring.BootstrapRunListener : contextPrepared
2023-06-25 09:57:39.035 INFO 1183198 — [ main] c.o.o.b.spring.BootstrapRunListener : register bean ProgressHandler
2023-06-25 09:57:39.187 INFO 1183198 — [ main] c.o.o.b.spring.BootstrapRunListener : contextLoaded
2023-06-25 09:57:41.166 INFO 1183198 — [ main] c.o.o.b.spring.DataSourceInterceptor : begin AfterDataSourceCreationHook
2023-06-25 09:57:41.175 INFO 1183198 — [ main] c.o.o.b.spring.DBInitInterceptor : DBInitInterceptor created. action: UNKNOWN
2023-06-25 09:57:41.176 INFO 1183198 — [ main] c.o.o.b.spring.DataSourceInterceptor : call AfterDataSourceCreationHook com.oceanbase.ocp.bootstrap.spring.DBInitInterceptor
2023-06-25 09:57:41.176 INFO 1183198 — [ main] c.o.o.b.spring.DBInitInterceptor : dataSource dataSource created
2023-06-25 09:57:42.314 INFO 1183198 — [ main] c.o.o.b.spring.DBInitInterceptor : automatically choosing bootstrap action. old null → new 1.0.1-20230511
2023-06-25 09:57:42.315 INFO 1183198 — [ main] c.o.o.b.spring.DBInitInterceptor : meta db is empty, choose INSTALL
2023-06-25 09:57:42.320 INFO 1183198 — [ main] c.o.ocp.bootstrap.spring.BootstrapLock : BootstrapLock client id: 10.20.1.13:8180
2023-06-25 09:57:42.369 INFO 1183198 — [ main] c.o.ocp.bootstrap.spring.BootstrapLock : distributed_lock table created
2023-06-25 09:57:42.495 INFO 1183198 — [ main] c.o.ocp.bootstrap.spring.BootstrapLock : BootstrapLock locked
2023-06-25 09:57:42.586 INFO 1183198 — [ main] c.o.ocp.bootstrap.config.ConfigLoader : load config from host/host_tables.yaml
2023-06-25 09:57:42.588 INFO 1183198 — [onPool-worker-6] c.o.ocp.bootstrap.config.ConfigLoader : load config from common/common_tables.yaml
2023-06-25 09:57:42.588 INFO 1183198 — [onPool-worker-3] c.o.ocp.bootstrap.config.ConfigLoader : load config from user/user_tables.yaml
2023-06-25 09:57:42.583 INFO 1183198 — [onPool-worker-1] c.o.ocp.bootstrap.config.ConfigLoader : load config from core/core_tables.yaml
2023-06-25 09:57:42.586 INFO 1183198 — [onPool-worker-7] c.o.ocp.bootstrap.config.ConfigLoader : load config from ob/ob_tables.yaml
2023-06-25 09:57:42.585 INFO 1183198 — [onPool-worker-5] c.o.ocp.bootstrap.config.ConfigLoader : load config from common/task_data.yaml
2023-06-25 09:57:42.584 INFO 1183198 — [onPool-worker-2] c.o.ocp.bootstrap.config.ConfigLoader : load config from user/user_data.yaml
2023-06-25 09:57:42.584 INFO 1183198 — [onPool-worker-4] c.o.ocp.bootstrap.config.ConfigLoader : load config from monitor/ocp_metric_expr_config.yaml
2023-06-25 09:57:42.792 INFO 1183198 — [onPool-worker-2] c.o.ocp.bootstrap.config.ConfigLoader : load config from vault/vault_tables.yaml
2023-06-25 09:57:42.811 INFO 1183198 — [onPool-worker-5] c.o.ocp.bootstrap.config.ConfigLoader : load config from core/config_properties.yaml
2023-06-25 09:57:42.812 INFO 1183198 — [onPool-worker-2] c.o.ocp.bootstrap.config.ConfigLoader : load config from monitor/monitor_metadb_tables.yaml
2023-06-25 09:57:42.818 INFO 1183198 — [ main] c.o.ocp.bootstrap.config.ConfigLoader : load config from monitor/monitor_monitordb_tables.yaml
2023-06-25 09:57:42.827 INFO 1183198 — [onPool-worker-7] c.o.ocp.bootstrap.config.ConfigLoader : load config from monitor/metric_diagram.yaml
2023-06-25 09:57:44.673 INFO 1183198 — [ main] c.o.ocp.bootstrap.db.DbInitializer : sleep 100ms between DDL and DML
2023-06-25 09:57:44.774 INFO 1183198 — [ main] c.o.ocp.bootstrap.db.DbInitializer : run AfterNecessaryTableInitializationHook
2023-06-25 09:57:50.806 INFO 1183198 — [ main] c.o.ocp.bootstrap.db.DbInitializer : run AfterDataInitializationHook
2023-06-25 09:57:50.821 INFO 1183198 — [ main] c.o.o.b.d.p.ConfigPropertyInitializer : set config properties from bootstrap params
2023-06-25 09:57:51.002 INFO 1183198 — [ main] c.o.o.b.d.p.ConfigPropertyInitializer : set server.port to 8180
2023-06-25 09:57:51.224 WARN 1183198 — [ main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dataSource’ defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Generic.class]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: Password from environment variables or VM properties is not valid.
2023-06-25 09:57:51.260 INFO 1183198 — [ main] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
2023-06-25 09:57:51.260 INFO 1183198 — [ main] c.o.o.b.spring.BootstrapRunListener : BootstrapRunListener failed
2023-06-25 09:57:51.535 ERROR 1183198 — [ main] c.o.ocp.analyzer.OcpFailureAnalyzer : OCP startup check failed with cause:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dataSource’ defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Generic.class]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: Password from environment variables or VM properties is not valid.
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:628) ~[spring-beans-5.3.27.jar!/:5.3.27]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.27.jar!/:5.3.27]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.27.jar!/:5.3.27]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.27.jar!/:5.3.27]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.27.jar!/:5.3.27]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.27.jar!/:5.3.27]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) ~[spring-beans-5.3.27.jar!/:5.3.27]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920) ~[spring-context-5.3.27.jar!/:5.3.27]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.27.jar!/:5.3.27]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) ~[spring-boot-2.7.11.jar!/:2.7.11]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) ~[spring-boot-2.7.11.jar!/:2.7.11]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) ~[spring-boot-2.7.11.jar!/:2.7.11]
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:164) [spring-boot-2.7.11.jar!/:2.7.11]
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.bootstrapServiceContext(BootstrapApplicationListener.java:195) [spring-cloud-context-3.1.6.jar!/:3.1.6]
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:114) [spring-cloud-context-3.1.6.jar!/:3.1.6]
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:77) [spring-cloud-context-3.1.6.jar!/:3.1.6]
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176) [spring-context-5.3.27.jar!/:5.3.27]
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169) [spring-context-5.3.27.jar!/:5.3.27]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143) [spring-context-5.3.27.jar!/:5.3.27]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:131) [spring-context-5.3.27.jar!/:5.3.27]
at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:85) [spring-boot-2.7.11.jar!/:2.7.11]
at org.springframework.boot.SpringApplicationRunListeners.lambda$environmentPrepared$2(SpringApplicationRunListeners.java:66) [spring-boot-2.7.11.jar!/:2.7.11]
at java.util.ArrayList.forEach(ArrayList.java:1259) ~[na:1.8.0_342]
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:120) [spring-boot-2.7.11.jar!/:2.7.11]
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:114) [spring-boot-2.7.11.jar!/:2.7.11]
at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:65) [spring-boot-2.7.11.jar!/:2.7.11]
at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:343) ~[spring-boot-2.7.11.jar!/:2.7.11]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:301) ~[spring-boot-2.7.11.jar!/:2.7.11]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303) ~[spring-boot-2.7.11.jar!/:2.7.11]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292) ~[spring-boot-2.7.11.jar!/:2.7.11]
at com.oceanbase.ocp.OcpExpressApplication.main(OcpExpressApplication.java:18) ~[classes!/:1.0.1-20230511]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_342]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_342]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_342]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_342]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) ~[ocp-express-server.jar:1.0.1-20230511]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:107) ~[ocp-express-server.jar:1.0.1-20230511]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) ~[ocp-express-server.jar:1.0.1-20230511]
at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:467) ~[ocp-express-server.jar:1.0.1-20230511]
Caused by: java.lang.IllegalArgumentException: Password from environment variables or VM properties is not valid.
at org.apache.commons.lang3.Validate.isTrue(Validate.java:158) ~[commons-lang3-3.12.0.jar!/:3.12.0]
at com.oceanbase.ocp.bootstrap.hooks.PasswordInitializer.validateAndSetPassword(PasswordInitializer.java:79) ~[ocp-express-bootstrap-service-1.0.1-20230511.jar!/:1.0.1-20230511]
at com.oceanbase.ocp.bootstrap.hooks.PasswordInitializer.initialized(PasswordInitializer.java:64) ~[ocp-express-bootstrap-service-1.0.1-20230511.jar!/:1.0.1-20230511]
at com.oceanbase.ocp.bootstrap.db.DbInitializer.lambda$install$3(DbInitializer.java:124) ~[ocp-express-bootstrap-service-1.0.1-20230511.jar!/:1.0.1-20230511]
at java.util.ArrayList.forEach(ArrayList.java:1259) ~[na:1.8.0_342]
at com.oceanbase.ocp.bootstrap.db.DbInitializer.install(DbInitializer.java:124) ~[ocp-express-bootstrap-service-1.0.1-20230511.jar!/:1.0.1-20230511]
at com.oceanbase.ocp.bootstrap.db.DbInitializer.initialize(DbInitializer.java:101) ~[ocp-express-bootstrap-service-1.0.1-20230511.jar!/:1.0.1-20230511]
at com.oceanbase.ocp.bootstrap.spring.DBInitInterceptor.afterDataSourceCreation(DBInitInterceptor.java:70) ~[ocp-express-bootstrap-service-1.0.1-20230511.jar!/:1.0.1-20230511]
at com.oceanbase.ocp.bootstrap.spring.DataSourceInterceptor.lambda$afterDataSourceCreationHook$0(DataSourceInterceptor.java:43) ~[ocp-express-bootstrap-service-1.0.1-20230511.jar!/:1.0.1-20230511]
at java.util.ArrayList.forEach(ArrayList.java:1259) ~[na:1.8.0_342]
at com.oceanbase.ocp.bootstrap.spring.DataSourceInterceptor.afterDataSourceCreationHook(DataSourceInterceptor.java:41) ~[ocp-express-bootstrap-service-1.0.1-20230511.jar!/:1.0.1-20230511]
at com.oceanbase.ocp.bootstrap.spring.DataSourceInterceptor.postProcessAfterInitialization(DataSourceInterceptor.java:34) ~[ocp-express-bootstrap-service-1.0.1-20230511.jar!/:1.0.1-20230511]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:455) ~[spring-beans-5.3.27.jar!/:5.3.27]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1808) ~[spring-beans-5.3.27.jar!/:5.3.27]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620) ~[spring-beans-5.3.27.jar!/:5.3.27]
… 38 common frames omitted
2023-06-25 09:57:51.545 ERROR 1183198 — [ 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.
2023-06-25 09:57:51.550 INFO 1183198 — [ main] c.o.o.b.spring.BootstrapRunListener : BootstrapRunListener failed
2023-06-25 09:57:51.574 ERROR 1183198 — [ main] c.o.ocp.analyzer.OcpFailureAnalyzer : OCP startup check failed with cause:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dataSource’ defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Generic.class]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: Password from environment variables or VM properties is not valid.
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:628) ~[spring-beans-5.3.27.jar!/:5.3.27]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.27.jar!/:5.3.27]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.27.jar!/:5.3.27]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.27.jar!/:5.3.27]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.27.jar!/:5.3.27]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.27.jar!/:5.3.27]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) ~[spring-beans-5.3.27.jar!/:5.3.27]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920) ~[spring-context-5.3.27.jar!/:5.3.27]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.27.jar!/:5.3.27]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) [spring-boot-2.7.11.jar!/:2.7.11]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) [spring-boot-2.7.11.jar!/:2.7.11]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) [spring-boot-2.7.11.jar!/:2.7.11]
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:164) ~[spring-boot-2.7.11.jar!/:2.7.11]
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.bootstrapServiceContext(BootstrapApplicationListener.java:195) ~[spring-cloud-context-3.1.6.jar!/:3.1.6]
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:114) ~[spring-cloud-context-3.1.6.jar!/:3.1.6]
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:77) ~[spring-cloud-context-3.1.6.jar!/:3.1.6]
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176) ~[spring-context-5.3.27.jar!/:5.3.27]
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169) ~[spring-context-5.3.27.jar!/:5.3.27]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143) ~[spring-context-5.3.27.jar!/:5.3.27]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:131) ~[spring-context-5.3.27.jar!/:5.3.27]
at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:85) ~[spring-boot-2.7.11.jar!/:2.7.11]
at org.springframework.boot.SpringApplicationRunListeners.lambda$environmentPrepared$2(SpringApplicationRunListeners.java:66) ~[spring-boot-2.7.11.jar!/:2.7.11]
at java.util.ArrayList.forEach(ArrayList.java:1259) ~[na:1.8.0_342]
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:120) ~[spring-boot-2.7.11.jar!/:2.7.11]
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:114) ~[spring-boot-2.7.11.jar!/:2.7.11]
at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:65) ~[spring-boot-2.7.11.jar!/:2.7.11]
at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:343) [spring-boot-2.7.11.jar!/:2.7.11]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:301) [spring-boot-2.7.11.jar!/:2.7.11]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303) [spring-boot-2.7.11.jar!/:2.7.11]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292) [spring-boot-2.7.11.jar!/:2.7.11]
at com.oceanbase.ocp.OcpExpressApplication.main(OcpExpressApplication.java:18) [classes!/:1.0.1-20230511]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_342]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_342]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_342]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_342]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) [ocp-express-server.jar:1.0.1-20230511]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:107) [ocp-express-server.jar:1.0.1-20230511]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) [ocp-express-server.jar:1.0.1-20230511]
at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:467) [ocp-express-server.jar:1.0.1-20230511]
Caused by: java.lang.IllegalArgumentException: Password from environment variables or VM properties is not valid.
at org.apache.commons.lang3.Validate.isTrue(Validate.java:158) ~[commons-lang3-3.12.0.jar!/:3.12.0]
at com.oceanbase.ocp.bootstrap.hooks.PasswordInitializer.validateAndSetPassword(PasswordInitializer.java:79) ~[ocp-express-bootstrap-service-1.0.1-20230511.jar!/:1.0.1-20230511]
at com.oceanbase.ocp.bootstrap.hooks.PasswordInitializer.initialized(PasswordInitializer.java:64) ~[ocp-express-bootstrap-service-1.0.1-20230511.jar!/:1.0.1-20230511]
at com.oceanbase.ocp.bootstrap.db.DbInitializer.lambda$install$3(DbInitializer.java:124) ~[ocp-express-bootstrap-service-1.0.1-20230511.jar!/:1.0.1-20230511]
at java.util.ArrayList.forEach(ArrayList.java:1259) ~[na:1.8.0_342]
at com.oceanbase.ocp.bootstrap.db.DbInitializer.install(DbInitializer.java:124) ~[ocp-express-bootstrap-service-1.0.1-20230511.jar!/:1.0.1-20230511]
at com.oceanbase.ocp.bootstrap.db.DbInitializer.initialize(DbInitializer.java:101) ~[ocp-express-bootstrap-service-1.0.1-20230511.jar!/:1.0.1-20230511]
at com.oceanbase.ocp.bootstrap.spring.DBInitInterceptor.afterDataSourceCreation(DBInitInterceptor.java:70) ~[ocp-express-bootstrap-service-1.0.1-20230511.jar!/:1.0.1-20230511]
at com.oceanbase.ocp.bootstrap.spring.DataSourceInterceptor.lambda$afterDataSourceCreationHook$0(DataSourceInterceptor.java:43) ~[ocp-express-bootstrap-service-1.0.1-20230511.jar!/:1.0.1-20230511]
at java.util.ArrayList.forEach(ArrayList.java:1259) ~[na:1.8.0_342]
at com.oceanbase.ocp.bootstrap.spring.DataSourceInterceptor.afterDataSourceCreationHook(DataSourceInterceptor.java:41) ~[ocp-express-bootstrap-service-1.0.1-20230511.jar!/:1.0.1-20230511]
at com.oceanbase.ocp.bootstrap.spring.DataSourceInterceptor.postProcessAfterInitialization(DataSourceInterceptor.java:34) ~[ocp-express-bootstrap-service-1.0.1-20230511.jar!/:1.0.1-20230511]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:455) ~[spring-beans-5.3.27.jar!/:5.3.27]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1808) ~[spring-beans-5.3.27.jar!/:5.3.27]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620) ~[spring-beans-5.3.27.jar!/:5.3.27]
… 38 common frames omitted
2023-06-25 09:57:51.576 ERROR 1183198 — [ 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.
2023-06-25 09:57:51.696 INFO 1183198 — [k BootstrapLock] c.o.ocp.bootstrap.spring.BootstrapLock : BootstrapLock unlocked
[root@zone1 ~]# obd display-trace 3b09bf58-12fb-11ee-8c9d-00505697dd9e