Closed zondacker closed 1 year ago
@zondacker 目前还不支持 1.8+ 以上的 jdk ;第二个问题看起来是 JMX 配置问题,应该和 ark 关系不大,FYI https://stackoverflow.com/questions/63069433/spring-boot-how-to-configure-jmx-default-domain
JDK11 的支持正在开发,目前计划是 5 月份 Release。
JDK11 的支持正在开发,目前计划是 5 月份 Release。
需要将 sofa-ark 的 roadmap 对社区开放,给出迭代计划;也要同步社区 commiter 进行沟通和讨论
@glmapper 等时间明确了,我们再对外同步一下。
@zondacker 你好,第二个问题可以在运行Springboot Application时,修改Spring Boot配置,取消勾选Enable JMX agent。
时间过久,暂时关闭,有需要可以再开启
2022-05-18 16:40:16.469 INFO 37661 --- [et-command-1-T1] c.a.s.s.SpringBootArkBizApplication : Starting SpringBootArkBizApplication using Java 1.8.0_321 on zhujunli with PID 37661 (/var/folders/ch/df9x3c_s1hs7zryqphs768k80000gn/T/sofa-ark/null-null-20220518164016051-unpack started by zhujunli in /Users/zhujunli/Documents/GitWorkSpaceOpenSource/sofa-ark-spring-guides) 2022-05-18 16:40:16.471 INFO 37661 --- [et-command-1-T1] c.a.s.s.SpringBootArkBizApplication : No active profile set, falling back to default profiles: default 2022-05-18 16:40:16.850 WARN 37661 --- [et-command-1-T1] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to register LiveBeansView MBean; nested exception is javax.management.InstanceAlreadyExistsException: DefaultDomain:application= 2022-05-18 16:40:16.854 INFO 37661 --- [et-command-1-T1] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2022-05-18 16:40:16.876 ERROR 37661 --- [et-command-1-T1] o.s.boot.SpringApplication : Application run failed
org.springframework.context.ApplicationContextException: Failed to register LiveBeansView MBean; nested exception is javax.management.InstanceAlreadyExistsException: DefaultDomain:application= at org.springframework.context.support.LiveBeansView.registerApplicationContext(LiveBeansView.java:83) ~[spring-context-5.3.7.jar:5.3.7] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:942) ~[spring-context-5.3.7.jar:5.3.7] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:586) ~[spring-context-5.3.7.jar:5.3.7] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758) ~[spring-boot-2.5.0.jar:2.5.0] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:438) ~[spring-boot-2.5.0.jar:2.5.0] at org.springframework.boot.SpringApplication.run(SpringApplication.java:337) ~[spring-boot-2.5.0.jar:2.5.0] at com.alipay.sofa.springbootarkbiz.SpringBootArkBizApplication.main(SpringBootArkBizApplication.java:16) [null-null-20220518164016051-unpack/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_321] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_321] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_321] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_321] at com.alipay.sofa.ark.bootstrap.MainMethodRunner.run(MainMethodRunner.java:48) [sofa-ark-archive-2.0.0.jar!/:na] at com.alipay.sofa.ark.container.model.BizModel.start(BizModel.java:277) [sofa-ark-container-2.0.0.jar!/:na] at com.alipay.sofa.ark.api.ArkClient.installBiz(ArkClient.java:172) [sofa-ark-api-2.0.0.jar:na] at com.alipay.sofa.ark.api.ArkClient.installOperation(ArkClient.java:348) [sofa-ark-api-2.0.0.jar:na] at com.alipay.sofa.ark.api.ArkClient.installOperation(ArkClient.java:333) [sofa-ark-api-2.0.0.jar:na] at com.alipay.sofa.ark.container.service.biz.BizCommandProvider$BizCommand$1.run(BizCommandProvider.java:249) [sofa-ark-container-2.0.0.jar!/:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_321] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_321] at java.lang.Thread.run(Thread.java:750) [na:1.8.0_321] Caused by: javax.management.InstanceAlreadyExistsException: DefaultDomain:application= at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437) ~[na:1.8.0_321] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898) ~[na:1.8.0_321] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966) ~[na:1.8.0_321] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900) ~[na:1.8.0_321] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324) ~[na:1.8.0_321] at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522) ~[na:1.8.0_321] at org.springframework.context.support.LiveBeansView.registerApplicationContext(LiveBeansView.java:79) ~[spring-context-5.3.7.jar:5.3.7] ... 19 common frames omitted