阅读更多

2顶
1踩

开源软件
阿里巴巴开源服务框架Dubbo2.0.10版本发布了,该版本只修复BUG,没有增加新功能。

Dubbo首页:
http://code.alibabatech.com/wiki/display/dubbo/Home

Dubbo 2.0.10下载地址:
http://code.alibabatech.com/wiki/display/dubbo/Download#Download-Releases

Dubbo 2.0.10发布记录:
http://code.alibabatech.com/wiki/display/dubbo/Release+Notes#ReleaseNotes-2.0.10%2820111228%29

BUG修复:

[DUBBO-70] - 修复Cluster层传递RpcException的ErrorCode
[DUBBO-101] - 增加init属性确定是否在afterpropertiesSet时饥饿初始化
[DUBBO-124] - telnet 向上键失效
[DUBBO-131] - telnet 缓存问题,历史记录没有设置上限。
[DUBBO-132] - bytecode包的Wrapper的反射方法调用,提供方没有重载的方法时,当提供多余的参数时,多余参数会被忽略(应该报错)
[DUBBO-141] - 共享连接后,不能使用连接上保存的服务信息,否则多服务时会有问题
[DUBBO-142] - DubboCodec在获取函数时没有判断$invoke和$echo等特殊函数
[DUBBO-144] - 扩展点加载失败(如依赖的三方库运行时没有),如扩展点没有用到,则加载不要报错(在使用到时报错)
[DUBBO-146] - 调用的返回值在Provider端序列化失败(如传输对象没有实现Serialiable接口),Provider端也没有异常输出,Consumer端超时出错
[DUBBO-148] - telnet请求没有终结,死循环发送消息
[DUBBO-152] - RegistryDirectory在unsubscribe之后再标记为destroyed,否则unsubscribe会失败
[DUBBO-155] - zookeeper注册的时候抛ConnectionLoss异常
[DUBBO-157] - 配置加载时对${user.home}等占位符没有替换
[DUBBO-158] - Config类的toString方法显示的标签名不对

功能改进:

[DUBBO-113] - registry客户端缓存采用ip作为key
[DUBBO-145] - 服务方法调用重试过程中输出引起重试异常的日志
[DUBBO-147] - 通过RpcContext可以获得所有尝试过的Invoker
[DUBBO-149] - <dubbo:protocol>未配name时,生成的缺省id也应为dubbo,便于-D参数覆盖
[DUBBO-153] - telnet增加--no-prompt参数,用于nc获取信息时不显示提示符
[DUBBO-159] - URL基于host自动添加anyhost和localhost参数
[DUBBO-160] - 给Multicast和Zookeeper注册中心URL增加缺省端口
2
1
评论 共 58 条 请登录后发表评论
58 楼 297434791 2015-06-19 17:53
敢问这个问题最后怎么解决的?
57 楼 赵晓帅 2015-03-06 13:16
ERROR 10:16:41,178 AbstractClient:<init> -  [DUBBO] Failed to start NettyClient caedmon-PC/192.168.0.234 connect to the server /60.191.124.236:21890 (check == false, ignore and retry later!), cause: client(url: dubbo://60.191.124.236:21890/com.sendinfo.ebiz3.account.server.UserServer?anyhost=true&application=wuzhen-b2c-provider&check=false&codec=dubbo&default.check=false&default.retries=0&default.timeout=20000&dubbo=2.5.3&heartbeat=60000&interface=com.sendinfo.ebiz3.account.server.UserServer&methods=queryConsumerPointVo,updateAccount,queryConsumer,updateLogin,loginOut,getLogin,regConsumer,getAccount,queryLogin,updateConsumer&pid=6212&side=consumer&timeout=5000&timestamp=1425544252633) failed to connect to server /60.191.124.236:21890 client-side timeout 3000ms (elapsed: 3003ms) from netty client 192.168.0.234 using dubbo version 2.5.3, dubbo version: 2.5.3, current host: 192.168.0.234
com.alibaba.dubbo.remoting.RemotingException: client(url: dubbo://60.191.124.236:21890/com.sendinfo.ebiz3.account.server.UserServer?anyhost=true&application=wuzhen-b2c-provider&check=false&codec=dubbo&default.check=false&default.retries=0&default.timeout=20000&dubbo=2.5.3&heartbeat=60000&interface=com.sendinfo.ebiz3.account.server.UserServer&methods=queryConsumerPointVo,updateAccount,queryConsumer,updateLogin,loginOut,getLogin,regConsumer,getAccount,queryLogin,updateConsumer&pid=6212&side=consumer&timeout=5000&timestamp=1425544252633) failed to connect to server /60.191.124.236:21890 client-side timeout 3000ms (elapsed: 3003ms) from netty client 192.168.0.234 using dubbo version 2.5.3
at com.alibaba.dubbo.remoting.transport.netty.NettyClient.doConnect(NettyClient.java:127)
at com.alibaba.dubbo.remoting.transport.AbstractClient.connect(AbstractClient.java:280)
at com.alibaba.dubbo.remoting.transport.AbstractClient.<init>(AbstractClient.java:103)
at com.alibaba.dubbo.remoting.transport.netty.NettyClient.<init>(NettyClient.java:61)
at com.alibaba.dubbo.remoting.transport.netty.NettyTransporter.connect(NettyTransporter.java:37)
at com.alibaba.dubbo.remoting.Transporter$Adpative.connect(Transporter$Adpative.java)
at com.alibaba.dubbo.remoting.Transporters.connect(Transporters.java:67)
at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchanger.connect(HeaderExchanger.java:37)
at com.alibaba.dubbo.remoting.exchange.Exchangers.connect(Exchangers.java:102)
at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.initClient(DubboProtocol.java:378)
at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.getSharedClient(DubboProtocol.java:344)
at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.getClients(DubboProtocol.java:321)
at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.refer(DubboProtocol.java:303)
at com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:65)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:62)
at com.alibaba.dubbo.rpc.Protocol$Adpative.refer(Protocol$Adpative.java)
at com.alibaba.dubbo.registry.integration.RegistryDirectory.toInvokers(RegistryDirectory.java:395)
at com.alibaba.dubbo.registry.integration.RegistryDirectory.refreshInvoker(RegistryDirectory.java:224)
at com.alibaba.dubbo.registry.integration.RegistryDirectory.notify(RegistryDirectory.java:195)
at com.alibaba.dubbo.registry.support.AbstractRegistry.notify(AbstractRegistry.java:449)
at com.alibaba.dubbo.registry.support.FailbackRegistry.doNotify(FailbackRegistry.java:273)
at com.alibaba.dubbo.registry.support.FailbackRegistry.notify(FailbackRegistry.java:259)
at com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.access$400(ZookeeperRegistry.java:45)
at com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry$3.childChanged(ZookeeperRegistry.java:159)
at com.alibaba.dubbo.remoting.zookeeper.zkclient.ZkclientZookeeperClient$2.handleChildChange(ZkclientZookeeperClient.java:82)
at org.I0Itec.zkclient.ZkClient$8.run(ZkClient.java:583)
at org.I0Itec.zkclient.ZkEventThread.run(ZkEventThread.java:71)
56 楼 sinaboy 2013-08-15 16:49
先确定一下 redis://172.16.21.177:6379/com.alibaba.dubbo.registry.RegistryService?application=fireballclient&dubbo=2.1.8&interface=com.hundsun.gildata.udep.module.main.service.sysmanage.interfaces.IUserExternalService&methods=getFireBallInfo&pid=3416&side=consumer&timestamp=1338257778402 to the consumer 172.16.53.239 use dubbo version 2.1.8
的IP是否是你本机IP,可能是因为找错IP了;
如果是这个原因的话将host绑定本机IP就OK
55 楼 zhizhesky 2012-07-16 14:53
王_辉 写道
redis 127.0.0.1:6379> HGETALL "/dubbo/com.hundsun.gildata.udep.module.main.service.sysmanage.interfaces.IUserExternalService/providers"
1) "rmi://172.16.21.177:2911/com.hundsun.gildata.udep.module.main.service.sysmanage.interfaces.IUserExternalService?anyhost=true&application=udep3DubboServer&dubbo=2.1.1&interface=com.hundsun.gildata.udep.module.main.service.sysmanage.interfaces.IUserExternalService&loadbalance=roundrobin&methods=getFireBallInfo"
2) "1338256801881"

Caused by: java.lang.IllegalStateException: Failed to check the status of the service com.hundsun.gildata.udep.module.main.service.sysmanage.interfaces.IUserExternalService. No provider available for the service com.hundsun.gildata.udep.module.main.service.sysmanage.interfaces.IUserExternalService from the url redis://172.16.21.177:6379/com.alibaba.dubbo.registry.RegistryService?application=fireballclient&dubbo=2.1.8&interface=com.hundsun.gildata.udep.module.main.service.sysmanage.interfaces.IUserExternalService&methods=getFireBallInfo&pid=3416&side=consumer&timestamp=1338257778402 to the consumer 172.16.53.239 use dubbo version 2.1.8
	at com.alibaba.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:359)
	at com.alibaba.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:252)
	at com.alibaba.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:107)
	at com.alibaba.dubbo.config.spring.ReferenceBean.getObject(ReferenceBean.java:52)
	at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:121)

从redis里边看到服务已经注册,但是客户端调用的失败,是不是和dubbo的版本有关系呢?

请问这个问题解决了吗?
54 楼 王_辉 2012-05-29 10:17
redis 127.0.0.1:6379> HGETALL "/dubbo/com.hundsun.gildata.udep.module.main.service.sysmanage.interfaces.IUserExternalService/providers"
1) "rmi://172.16.21.177:2911/com.hundsun.gildata.udep.module.main.service.sysmanage.interfaces.IUserExternalService?anyhost=true&application=udep3DubboServer&dubbo=2.1.1&interface=com.hundsun.gildata.udep.module.main.service.sysmanage.interfaces.IUserExternalService&loadbalance=roundrobin&methods=getFireBallInfo"
2) "1338256801881"

Caused by: java.lang.IllegalStateException: Failed to check the status of the service com.hundsun.gildata.udep.module.main.service.sysmanage.interfaces.IUserExternalService. No provider available for the service com.hundsun.gildata.udep.module.main.service.sysmanage.interfaces.IUserExternalService from the url redis://172.16.21.177:6379/com.alibaba.dubbo.registry.RegistryService?application=fireballclient&dubbo=2.1.8&interface=com.hundsun.gildata.udep.module.main.service.sysmanage.interfaces.IUserExternalService&methods=getFireBallInfo&pid=3416&side=consumer&timestamp=1338257778402 to the consumer 172.16.53.239 use dubbo version 2.1.8
	at com.alibaba.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:359)
	at com.alibaba.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:252)
	at com.alibaba.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:107)
	at com.alibaba.dubbo.config.spring.ReferenceBean.getObject(ReferenceBean.java:52)
	at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:121)

从redis里边看到服务已经注册,但是客户端调用的失败,是不是和dubbo的版本有关系呢?
53 楼 王_辉 2012-05-23 16:54
javatar 写道
王_辉 写道
亲:dubbo:service配置了token="true"
客户端dubbo:reference配置或者怎么样连接服务呢,“在注册中心控制权限,以决定要不要下发令牌给消费者”这句何解?

在内部的注册中心上会有一个授权模块,负责服务权限的管理,然后由注册中心基于服务权限决定是否推送token信息给消费方,开源的注册中心暂不支持。

那是否有替代方案,或者什么时候在redis或者kp上支持呢
52 楼 javatar 2012-05-23 10:27
王_辉 写道
亲:dubbo:service配置了token="true"
客户端dubbo:reference配置或者怎么样连接服务呢,“在注册中心控制权限,以决定要不要下发令牌给消费者”这句何解?

在内部的注册中心上会有一个授权模块,负责服务权限的管理,然后由注册中心基于服务权限决定是否推送token信息给消费方,开源的注册中心暂不支持。
51 楼 王_辉 2012-05-23 09:31
亲:dubbo:service配置了token="true"
客户端dubbo:reference配置或者怎么样连接服务呢,“在注册中心控制权限,以决定要不要下发令牌给消费者”这句何解?
50 楼 javatar 2012-05-14 22:17
王_辉 写道
redis注册中心,windows正常,服务放到linux可以注册成功,客户端调用的时候就会抛异常
No provider available for the service com.fireball.service.BaseDataService from 

亲  着急啊,给点思路


找不到服务提供方,你确定提供者已注册到redis上?有没有用redis命令行查看一下数据?
49 楼 王_辉 2012-05-14 16:28
redis注册中心,windows正常,服务放到linux可以注册成功,客户端调用的时候就会抛异常
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'basedataservice': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.fireball.service.BaseDataService. No provider available for the service com.fireball.service.BaseDataService from the url redis://172.16.53.239:6379/com.alibaba.dubbo.registry.RegistryService?application=fireballclient&cluster=failsafe&dubbo=2.1.2&interface=com.fireball.service.BaseDataService&loadbalance=roundrobin&methods=test,query&pid=4696&retries=0&timestamp=1336973901630 to the consumer 172.16.53.239 use dubbo version 2.1.2
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:127)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:116)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:91)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1288)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:217)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:880)
at com.fireball.SpringContext.getHsqlDBService(SpringContext.java:57)
at com.fireball.TestMain.<clinit>(TestMain.java:19)
Caused by: java.lang.IllegalStateException: Failed to check the status of the service com.fireball.service.BaseDataService. No provider available for the service com.fireball.service.BaseDataService from the url redis://172.16.53.239:6379/com.alibaba.dubbo.registry.RegistryService?application=fireballclient&cluster=failsafe&dubbo=2.1.2&interface=com.fireball.service.BaseDataService&loadbalance=roundrobin&methods=test,query&pid=4696&retries=0&timestamp=1336973901630 to the consumer 172.16.53.239 use dubbo version 2.1.2
at com.alibaba.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:357)
at com.alibaba.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:250)
at com.alibaba.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:107)
at com.alibaba.dubbo.config.spring.ReferenceBean.getObject(ReferenceBean.java:52)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:121)
... 10 more

亲  着急啊,给点思路
48 楼 javatar 2012-05-07 12:58
王_辉 写道
...

有问题,建议你发邮件到Dubbo的邮件组,在这里不一定会及时回复。
邮件组地址:
http://code.alibabatech.com/wiki/display/dubbo/Community#Community-MailingList
47 楼 javatar 2012-05-07 12:55
王_辉 写道
服务端会抛异常,能帮我看看什么原因
No provider available for the service com.alibaba.dubbo.monitor.MonitorService


这是因为没有启动监控中心,却配了监控地址,把监控中心启动,或者把xml配置中的<dubbo:monitor protocol="registry">或properties配置中的dubbo.monitor.protocol=registry去掉。
46 楼 王_辉 2012-05-07 11:25
javatar 写道
王_辉 写道
linux部署dubbo-demo-provider,dubbo.protocol.name=dubbo配置是没问题的,但是改成rmi就会抛异常
java.net.ConnectException: Connection refused: connect

连接拒绝,可以用telnet 172.16.22.82 20880测一下,可能是服务提供者没启动,或者防火墙阻挡。

linux的hostname是127.0.0.1改了host就好了。
服务端会抛异常,能帮我看看什么原因
com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method count in the service com.alibaba.dubbo.monitor.MonitorService. No provider available for the service com.alibaba.dubbo.monitor.MonitorService from registry 172.16.53.172:2186 on the consumer 172.16.22.82 using the dubbo version 2.1.2. Please check if the providers have been started and registered.
	at com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.checkInvokers(AbstractClusterInvoker.java:245)
	at com.alibaba.dubbo.rpc.cluster.support.FailsafeClusterInvoker.doInvoke(FailsafeClusterInvoker.java:46)
	at com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:226)
	at com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:72)
	at com.alibaba.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:52)
	at com.alibaba.dubbo.common.bytecode.proxy2.count(proxy2.java)
	at com.alibaba.dubbo.monitor.dubbo.DubboMonitor.send(DubboMonitor.java:112)
	at com.alibaba.dubbo.monitor.dubbo.DubboMonitor$1.run(DubboMonitor.java:69)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
45 楼 javatar 2012-05-04 16:53
王_辉 写道
linux部署dubbo-demo-provider,dubbo.protocol.name=dubbo配置是没问题的,但是改成rmi就会抛异常
java.net.ConnectException: Connection refused: connect

连接拒绝,可以用telnet 172.16.22.82 20880测一下,可能是服务提供者没启动,或者防火墙阻挡。
44 楼 王_辉 2012-05-04 14:32
linux部署dubbo-demo-provider,dubbo.protocol.name=dubbo配置是没问题的,但是改成rmi就会抛异常
com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method sayHello in the service com.fireball.service.DemoService. Tried 3 times of the providers [172.16.22.82:20880] (1/1) from the registry 172.16.22.82:2181 on the consumer 172.16.53.239 using the dubbo version 2.1.2. Last error is: Failed to invoke remote service: interface com.fireball.service.DemoService, method: sayHello, url: rmi://172.16.22.82:20880/com.fireball.service.DemoService?anyhost=true&application=fireballclient&check=false&dubbo=2.1.2&interface=com.fireball.service.DemoService&loadbalance=roundrobin&methods=sayHello&pid=4840&revision=test&timestamp=1336113095012, cause: Connection refused to host: 127.0.0.1; nested exception is: 
	java.net.ConnectException: Connection refused: connect
	at com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:91)
	at com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:226)
	at com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:72)
	at com.alibaba.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:52)
	at com.alibaba.dubbo.common.bytecode.proxy0.sayHello(proxy0.java)
	at com.TEst.main(TEst.java:20)
Caused by: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: 
	java.net.ConnectException: Connection refused: connect
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
	at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
	at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:110)
	at org.springframework.remoting.rmi.RmiInvocationWrapper_Stub.invoke(Unknown Source)
	at org.springframework.remoting.rmi.RmiClientInterceptor.doInvoke(RmiClientInterceptor.java:397)
	at org.springframework.remoting.rmi.RmiClientInterceptor.doInvoke(RmiClientInterceptor.java:343)
	at org.springframework.remoting.rmi.RmiClientInterceptor.refreshAndRetry(RmiClientInterceptor.java:329)
	at org.springframework.remoting.rmi.RmiClientInterceptor.handleRemoteConnectFailure(RmiClientInterceptor.java:305)
	at org.springframework.remoting.rmi.RmiClientInterceptor.invoke(RmiClientInterceptor.java:261)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
	at $Proxy7.sayHello(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.alibaba.dubbo.rpc.protocol.rmi.RmiProtocol$2.invoke(RmiProtocol.java:211)
	at com.alibaba.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:74)
	at com.alibaba.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:73)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91)
	at com.alibaba.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:50)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91)
	at com.alibaba.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:47)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91)
	at com.alibaba.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:53)
	at com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:67)
	... 5 more
Caused by: java.net.ConnectException: Connection refused: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
	at java.net.Socket.connect(Socket.java:529)
	at java.net.Socket.connect(Socket.java:478)
	at java.net.Socket.<init>(Socket.java:375)
	at java.net.Socket.<init>(Socket.java:189)
	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
	... 31 more

43 楼 王_辉 2012-05-04 13:19
2012-05-04 13:12:36,828 [myid:] - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2
86:NIOServerCnxn@349] - caught end of stream exception
EndOfStreamException: Unable to read additional data from client sessionid 0x0,
likely client has closed socket
        at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:22
)
        at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFa
tory.java:224)
        at java.lang.Thread.run(Unknown Source)

linux连接zookeeper提示
42 楼 javatar 2012-04-26 10:44
王_辉 写道
2.1.2是不是把http协议去掉了?
com.alibaba.dubbo.rpc.http.ServiceDispatcherServlet在jar里边也没有

HTTP协议还没有加到开源版本中,因为实现的不通用,只是针对公司内部场景实现的,正在调整,会在5月份的2.3.0版本发布。
41 楼 王_辉 2012-04-26 10:12
2.1.2是不是把http协议去掉了?
com.alibaba.dubbo.rpc.http.ServiceDispatcherServlet在jar里边也没有
40 楼 javatar 2012-03-21 23:18
王_辉 写道
现在遇到一个问题,不知道dubbo支不支持服务器端推送消息到各客户端?或者可以推荐目前成熟的java应用

参见:http://code.alibabatech.com/wiki/display/dubbo/User+Guide#UserGuide-ParameterCallback
39 楼 王_辉 2012-03-20 16:19
现在遇到一个问题,不知道dubbo支不支持服务器端推送消息到各客户端?或者可以推荐目前成熟的java应用

发表评论

您还没有登录,请您登录后再发表评论

相关推荐

  • Dubbo教程

    DUBBO是一个分布式服务框架,致力于提供高性能和透明化的RPC远程服务调用方案,是阿里巴巴SOA服务化治理方案的核心框架,每天为2,000+个服务提供3,000,000,000+次访问量支持,并被广泛应用于阿里巴巴集团的各成员...

  • dubbo教程

     简介 DUBBO是一个分布式服务框架,致力于提供高性能和透明化的RPC远程服务调用方案,是阿里巴巴SOA服务化治理方案的核心框架,每天为2,000+个服务提供3,000,000,000+次访问量支持,并被广泛应用于阿里巴巴集团的各...

  • Dubbo 原理与部署

    微服务架构在企业开发中应用越来越广泛,而 Alibaba Dubbo 代表国内微服务框架的最高成就,在国内有广泛的应用。本文讲述了 Dubbo 要解决的问题、现状和架构原理,注册中心/提供者/消费者的实现方法,以及服务治理...

  • Dubbo

    1、 了解什么是dubbo 2、 我们使用dubbo能做什么 3、 Dubbo快速入门案例 4、 Dubbo监控、admin控制台 参考资料: http://dubbo.io/ https://www.gitbook.com/@dubbo Dubbo项目GitHub主页: ...

  • dubbo入门教程

    1. 学习大纲 ...DUBBO是一个分布式服务框架,致力于提供高性能和透明化的RPC远程服务调用方案,是阿里巴巴SOA服务化治理方案的核心框架,每天为2,000+个服务提供3,000,000,000+次访问量支持,并被广泛应用于阿

  • dubbo学习

    2015-10-12 http://www.cnblogs.com/Javame/p/3632473.html dubbo框架学习 http://www.oschina.net/question/113994_126551 dubbo注册多个服务Provider,后注册的显示警告信息 ...

  • Dubbo学习入门教程

    2.1. 简介DUBBO是一个分布式服务框架,致力于提供高性能和透明化的RPC远程服务调用方案,是阿里巴巴SOA服务化治理方案的核心框架,每天为2,000+个服务提供3,000,000,000+次访问量支持,并被广泛应用于阿里巴巴集团...

  • dubbo入门学习教程

    1. 学习大纲 ...DUBBO是一个分布式服务框架,致力于提供高性能和透明化的RPC远程服务调用方案,是阿里巴巴SOA服务化治理方案的核心框架,每天为2,000+个服务提供3,000,000,000+次访问量支持,并被...

  • dubbo入门

    1. 学习大纲 1、 了解什么是dubbo?...DUBBO是一个分布式服务框架,致力于提供高性能和透明化的RPC远程服务调用方案,是阿里巴巴SOA服务化治理方案的核心框架,每天为2,000+个服务提供3,000,000,000+次访问量支持...

  • DUBBO使用指南

    DUBBO用户指南 标签:dubbo| 发表时间:2014-04-28 06:08 | 作者:jy02718805 分享到: 出处:http://www.iteye.com 入门 (+) (#) 背景 (#) 随着互联网的发展,网站应用的规模...

  • DUBBO用户指南

    入门 (+) (#) 背景 (#) 随着互联网的发展,网站应用的规模不断扩大,常规的垂直应用架构已无法应对,分布式服务架构以及流动计算架构势在必行,亟需一个治理系统确保架构有条不紊的演进。 单一应用架构 当网站...

  • 第一章 SpringCloud Alibaba简介——学习笔记

    1、SpringCloud版本发布时间统计 springcloud官方网站:https://spring.io/ 1.1、SpringCloud的版本更新发布时间(统计时间2020.04.28) Angel版本:2015年3月 Brixton版本:2016年5月 Camden版本:2016年9月 ...

  • 如何上传第三方jar包至Maven私服让maven项目可以使用第三方jar包

    版权声明:本文欢迎转载! https://blog.csdn.net/zpcandzhj/article/details/78575773 ... 1. 教程大纲 1、 了解什么是dubbo 2、 我们使用dubbo能做什么 3、 Dubbo快速入门案例 4、 Dub...

  • 关于组织参加“第八届‘泰迪杯’数据挖掘挑战赛”的通知-4页

    关于组织参加“第八届‘泰迪杯’数据挖掘挑战赛”的通知-4页

  • PyMySQL-1.1.0rc1.tar.gz

    PyMySQL-1.1.0rc1.tar.gz

  • 技术资料分享CC2530中文数据手册完全版非常好的技术资料.zip

    技术资料分享CC2530中文数据手册完全版非常好的技术资料.zip

  • docker构建php开发环境

    docker构建php开发环境

  • VB程序实例59_系统信息_显示分辨率.zip

    VB程序实例,可供参考学习使用,希望对你有所帮助

  • pytz-2016.7-py2.6.egg

    pytz库的主要功能 时区转换:pytz库允许用户将时间从一个时区转换到另一个时区,这对于处理跨国业务或需要处理多地时间的数据分析尤为重要。 历史时区数据支持:pytz库不仅提供了当前的时区数据,还包含了历史上不同时期的时区信息,这使得它在处理历史数据时具有无与伦比的优势。 夏令时处理:pytz库能够自动处理夏令时的变化,当获取某个时区的时间时,它会自动考虑是否处于夏令时期间。 与datetime模块集成:pytz库可以与Python标准库中的datetime模块一起使用,以确保在涉及不同时区的场景中时间的准确性。

  • VB程序实例-为程序添加快捷键.zip

    VB程序实例-为程序添加快捷键.zip

Global site tag (gtag.js) - Google Analytics