dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From qinliujie (GitHub) <git...@apache.org>
Subject [GitHub] [incubator-dubbo] qinliujie opened issue #3056: org.apache.dubbo.config.AbstractInterfaceConfig#setRegistry(java.lang.String) does't work
Date Tue, 25 Dec 2018 07:38:00 GMT
- [x] I have searched the [issues](https://github.com/apache/incubator-dubbo/issues) of this
repository and believe that this is not a duplicate.
- [x] I have checked the [FAQ](https://github.com/apache/incubator-dubbo/blob/master/FAQ.md)
of this repository and believe that this is not a duplicate.

### Environment

* Dubbo version: 2.7.0

### Steps to reproduce this issue

        ReferenceConfig  referenceConfig = new ReferenceConfig();

        String appName = AppInfoUtils.getAppName();
        ApplicationConfig applicationConfig = new ApplicationConfig();


### Expected Result

it can use zookeeper registry

### Actual Result

it does't work

java.lang.IllegalStateException: No registry config found or it's not a valid config! The
registry config is: <dubbo:registry zookeeperProtocol="false" valid="false" id="zookeeper://"
prefix="dubbo.registries." />

	at org.apache.dubbo.config.AbstractInterfaceConfig.checkRegistry(AbstractInterfaceConfig.java:129)
	at org.apache.dubbo.config.AbstractInterfaceConfig.loadRegistries(AbstractInterfaceConfig.java:198)
	at org.apache.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:358)
	at org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:314)
	at org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:232)

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3056 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

View raw message