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 2018/11/26 09:06:54 UTC
[GitHub] sinelu opened a new issue #312: 现阶段是否支持hessian等其他协议?
sinelu opened a new issue #312: 现阶段是否支持hessian等其他协议?
URL: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/312
尝试如下修改了配置:
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
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org