You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/09/08 03:02:09 UTC

[GitHub] [dubbo] EarthChen opened a new issue #8722: [3.0] the same service export multi protocol error

EarthChen opened a new issue #8722:
URL: https://github.com/apache/dubbo/issues/8722


   - [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
   - [ ] I have checked the [FAQ](https://github.com/apache/dubbo/blob/master/FAQ.md) of this repository and believe that this is not a duplicate.
   
   ### Environment
   
   * Dubbo version: 3.0.3-SNAPSHOT
   * Operating System version: macos
   * Java version: 1.8
   
   ### Steps to reproduce this issue
   
   1.  provider export multi protocol 
   ```java
   class ApiMigrationBothProvider {
   
       public static void main(String[] args) {
   
           ServiceConfig<IWrapperGreeter> service = new ServiceConfig<>();
           service.setInterface(IWrapperGreeter.class);
           service.setRef(new IGreeter2Impl());
   
           DubboBootstrap bootstrap = DubboBootstrap.getInstance();
           bootstrap.application(new ApplicationConfig("demo-migration-both-provider"))
                   .registry(new RegistryConfig(TriSampleConstants.ZK_ADDRESS))
                   .protocol(new ProtocolConfig(CommonConstants.TRIPLE, TriSampleConstants.SERVER_PORT))
                   .protocol(new ProtocolConfig(CommonConstants.DUBBO, TriSampleConstants.DEFAULT_DUBBO_PORT))
                   .service(service)
                   .start()
                   .await();
   
       }
   }
   ```
   
   
   
   Pls. provide [GitHub address] to reproduce this issue.
   
   ### Expected Result
   
   What do you expected from the above steps?
   
   ### Actual Result
   
   What actually happens?
   
   If there is an exception, please attach the exception trace:
   
   ```
   Just put your stack trace here!
   ```
   


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] guohao closed issue #8722: [3.0] the same service export multi protocol error

Posted by GitBox <gi...@apache.org>.
guohao closed issue #8722:
URL: https://github.com/apache/dubbo/issues/8722


   


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org