a408665321 opened a new issue, #12024:
URL: https://github.com/apache/dubbo/issues/12024

   版本: dubbo 2.7.9
   问题: 应用A中 包含@DubboService的provider类(暂时命名未ServiceA),通过springboot初始化。 
应用A应用了模块B。模块B的某个类的init方法中,通过ClassPathXmlApplicationContext 加载了其他的dubbo 
reference 和provider。
   目前由于初始化顺序的问题,模块B中的dubbo 
privider被通过单例对象DubboBootstrap先注册到注册中心,org.apache.dubbo.config.bootstrap.DubboBootstrap#started被设置未true。
   当应用A中的dubbo 
provider需要被初始化时,org.apache.dubbo.config.bootstrap.DubboBootstrap#started已经为true了,跳过了初始化,导致ServcieA无法被注册到注册中心。
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to