You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "sinelu (GitHub)" <gi...@apache.org> on 2018/11/26 09:06:54 UTC
[GitHub] [incubator-dubbo-spring-boot-project] sinelu opened issue #312: 现阶段是否支持hessian等其他协议?
尝试如下修改了配置:
dubbo:
protocol:
id: hessian
name: hessian
port: 22426
status: server
启动时候可以看见日志:[DUBBO] Register dubbo service com.demo.service.IService url hessian://xxxxxxx
似乎是成功通过hessian协议注册暴露了服务
但后续日志即为:
[DUBBO] Run shutdown hook now., dubbo version: 2.6.2, current host: 172.16.1.195 [DubboShutdownHook] (com.alibaba.dubbo.config.AbstractConfig) (AbstractConfig.java:81)
[DUBBO] Close all registries [], dubbo version: 2.6.2, current host: 172.16.1.195 [DubboShutdownHook] (com.alibaba.dubbo.registry.support.AbstractRegistryFactory) (AbstractRegistryFactory.java:64)
[DUBBO] Unexport service: injvm://127.0.0.1/com.demo.service.IService?anyhost=true&application=object-storage-engine-provider&bind.ip=172.16.1.195&bind.port=22426&dubbo=2.6.2&generic=false&interface=com.jxzj.storage.service.IAPISaveService&methods=saveFileManual,saveFile,saveFileToPath,saveImage&pid=5008&side=provider&status=server×tamp=1543221290955, dubbo version: 2.6.2, current host: 172.16.1.195 [DubboShutdownHook] (com.alibaba.dubbo.rpc.protocol.injvm.InjvmProtocol) (AbstractProtocol.java:76)
随后spring boot项目停止运行,无报错无warning
[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/312 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-spring-boot-project] mercyblitz commented on issue #312: 现阶段是否支持hessian等其他协议?
Posted by "mercyblitz (GitHub)" <gi...@apache.org>.
Please add Dubbo 2.6.5 in order to override indirectly dependencies.
[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/312 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-spring-boot-project] mercyblitz commented on issue #312: 现阶段是否支持hessian等其他协议?
Posted by "mercyblitz (GitHub)" <gi...@apache.org>.
Please add Dubbo 2.6.5 in order to override indirectly dependencies.
There was a issue about YAML format support in lagacy Dubbo
[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/312 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-spring-boot-project] mercyblitz closed issue #312: 现阶段是否支持hessian等其他协议?
Posted by "mercyblitz (GitHub)" <gi...@apache.org>.
[ issue closed by mercyblitz ]
[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/312 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-spring-boot-project] mercyblitz commented on issue #312: 现阶段是否支持hessian等其他协议?
Posted by "mercyblitz (GitHub)" <gi...@apache.org>.
Please add Dubbo 2.6.5 in order to override indirectly dependencies:
```xml
<dependency>
<groupId>com.alibaba.boot</groupId>
<artifactId>dubbo-spring-boot-starter</artifactId>
<version>0.2.0</version>
</dependency>
<!-- Dubbo -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dubbo</artifactId>
<version>2.6.5</version>
</dependency>
<!-- Spring Context Extras -->
<dependency>
<groupId>com.alibaba.spring</groupId>
<artifactId>spring-context-support</artifactId>
<version>1.0.2</version>
</dependency>
```
There was an issue about YAML format support in lagacy Dubbo.
[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/312 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-spring-boot-project] mercyblitz commented on issue #312: 现阶段是否支持hessian等其他协议?
Posted by "mercyblitz (GitHub)" <gi...@apache.org>.
Please add Dubbo 2.6.5 in order to override indirectly dependencies:
```xml
<dependency>
<groupId>com.alibaba.boot</groupId>
<artifactId>dubbo-spring-boot-starter</artifactId>
<version>0.2.0</version>
</dependency>
<!-- Dubbo -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dubbo</artifactId>
<version>2.6.5</version>
</dependency>
<!-- Spring Context Extras -->
<dependency>
<groupId>com.alibaba.spring</groupId>
<artifactId>spring-context-support</artifactId>
<version>1.0.2</version>
</dependency>
```
There was a issue about YAML format support in lagacy Dubbo.
[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/312 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-spring-boot-project] mercyblitz commented on issue #312: 现阶段是否支持hessian等其他协议?
Posted by "mercyblitz (GitHub)" <gi...@apache.org>.
Please add Dubbo 2.6.5 in order to override indirectly dependencies:
```xml
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dubbo</artifactId>
<version>2.6.5</version>
</dependency>
```
There was a issue about YAML format support in lagacy Dubbo.
[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/312 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org