-
Notifications
You must be signed in to change notification settings - Fork 26.6k
Closed
Labels
type/discussionEverything related with code discussion or questionEverything related with code discussion or question
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Environment
- Dubbo version: 2.7.7
- Operating System version: windows
- Java version: jdk8
Steps to reproduce this issue
- find 10 server
- create 10 client in XML:DubboReference
- start client Applicaion
Pls. provide [GitHub address] to reproduce this issue.
Expected Behaviort
The Client will be started and run will.
Actual Behavior
It take too much time to start application.
private void prepareDubboConfigBeans() {
beansOfTypeIncludingAncestors(applicationContext, ApplicationConfig.class);
beansOfTypeIncludingAncestors(applicationContext, ModuleConfig.class);
beansOfTypeIncludingAncestors(applicationContext, RegistryConfig.class);
beansOfTypeIncludingAncestors(applicationContext, ProtocolConfig.class);
beansOfTypeIncludingAncestors(applicationContext, MonitorConfig.class);
beansOfTypeIncludingAncestors(applicationContext, ProviderConfig.class);
beansOfTypeIncludingAncestors(applicationContext, ConsumerConfig.class);
beansOfTypeIncludingAncestors(applicationContext, ConfigCenterBean.class);
beansOfTypeIncludingAncestors(applicationContext, MetadataReportConfig.class);
beansOfTypeIncludingAncestors(applicationContext, MetricsConfig.class);
beansOfTypeIncludingAncestors(applicationContext, SslConfig.class);
}org.apache.dubbo.config.spring.ReferenceBean#prepareDubboConfigBeans
every ReferenceBean is a factoryBean,before It start it will
find all ApplicationConfig in SpringContext ,wich will init all factoryBean
then other ReferenceBean will be init and try to get applicationConfig again.
the application just stop
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type/discussionEverything related with code discussion or questionEverything related with code discussion or question