NamedNodeMap attributes = element.getAttributes();
int len = attributes.getLength();
for (int i = 0; i < len; i++) {
Node node = attributes.item(i);
String name = node.getLocalName();
if (! props.contains(name)) {
if (parameters == null) {
parameters = new ManagedMap();
}
String value = node.getNodeValue();
parameters.put(name, new TypedStringValue(value, String.class));
}
}
if (parameters != null) {
beanDefinition.getPropertyValues().addPropertyValue("parameters", parameters);
}
因此, 系统会报无法注入parameters参数.
Error creating bean with name 'soa-providor': Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'parameters' of bean class : Bean property 'parameters' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
你好,请问一下。<dubbo:consumer filter="">和<dubbo:refrence filter=""/>配置的filter有什么差别吗?为什么后者可以用RequestContextHolder.getRequestAttributes()获取到request而前者不行呢?我用的是dubbo的2.5.3版本
想问下 lua 能调用dubbo吗 如果能有现成的框架或者包吗 或者能否给了思路
进入管控台消费者报错,请问怎样解决
Failed to invoke Valve: com.alibaba.citrus.turbine.pipeline.valve.PerformTemplateScreenValve#5d751bf0:PerformTemplateScreenValve: 系统内部错误,请联系管理员!
您好:我在使用的过程中,没有设置过任何的黑白名单服务,但是zookeeper 经常性的会抛出这个异常信息 ,我使用的zookeeper 3.4.6 ,dubbo 2.5.3 希望您回复下,谢谢! com.alibaba.dubbo.rpc.RpcException: Forbid consumer 10.0.53.69 access service com.kuaidadi.op.api.pay.service.PayChannelConfigRemoteService from registry 10.0.50.150:2181 use dubbo version 2.5.3, Please check registry access list (whitelist/blacklist)
梁飞大哥,您好!有个问题请教下,telnet dubbo服务的端口,进去后ls显示null,但确实是有服务的,zk上能看到,且消费方能正常调用,使用spring或者api发布服务都出现过这问题,有时间请不吝赐教,多谢多谢!
梁飞,你好 我想问一下到目前为止,dubbo还有更新吗?还是已经开辟了其他项目。 2016.7.4
梁飞,你好,我在new ExtensionLoader时,一步一步跟进去的,但是到构造函数里执行this.type=type这个之后,cachedClasses就会发现已经被赋值了,应该是扫描META-INF/dubbo下的文件找到的,但是我没发现调用loadfile这个方法的地方,还请指教一下。
你好,最近项目中在用到dubbo, 很想和大家一起探讨,222162989 这个群加满了 还有其他的群吗?
使用dubbo之后,发现我们银行必须使用tcp报文进行通讯,现在不知道如何实现tcp的报文传输。
你好,梁飞: 最近在研究使用dubbo2.5.4时,我在测试服务时成功执行了。但是在使用管理控制台页面时,我使用控制台的管理功能禁用掉该服务,为什么消费者还能正常执行呢。有点不理解,不知道是不是我理解错了“禁用服务”这个功能,还是bug来的。
Hi william.liangf: 我现在就是想用它做三件事: 1,和设备建立基于TCP协议的Socket通信 2,与各子系统之间实现Hessian方式的远程接口调用 3,对各子系统实现订阅服务的消息分发
第1,2两种都可以,第3种情况可以实现吗?请指教
你好, 请教一个问题:
使用Spring4的Groovy DSL配置dubbo, 代码如下:
Groovy解析配置文件时会将xmlns解析为dubbo.application的一个属性 即
在dubbo的DubboBeanDefinitionParser.parse方法最后一段中, 对标签的自定义属性进行解析,如果存在自定义属性, 将参数注入至parameters中
由于Groovy将xmlns作为会将xmlns作为application的属性, element.getAttributes()得到的属性包括xmlns 上述代码会认为xmlns是自定以参数, 将xmlns注入至ApplicationConfig的parameters中. 而ApplicationConfig中没有parameters参数
因此, 系统会报无法注入parameters参数. Error creating bean with name 'soa-providor': Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'parameters' of bean class : Bean property 'parameters' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
请问上述问题可以在不修改源码的情况下可以解决吗?
可以下载源码https://github.com/alibaba/dubbo/tree/master,然后再打包
梁飞, http://alibaba.github.io/dubbo-doc-static/Home-zh.htm 上的资源都不能下载呀,比如那个管理控制台和控制中心 http://code.alibabatech.com/mvn/releases/com/alibaba/dubbo-demo-provider/2.4.1/dubbo-demo-provider-2.4.1-assembly.tar.gz。 有没其他的地方可以下载呢,谢谢
梁飞,您好,据说淘宝内部已经抛弃dubbo,开始使用hsf2.0,是真的吗?据说hsf2.0经得起双11的考验,而dubbo不行?
小帅哥, Dubbo 非常的不错,似乎现在不维护了,不知道我是否可以fork 一个分支 叫 dubbo2
你好,我们使用了dubbo以后,从日志系统传map或者实体类都不能过来,有没有更好的数据传输办法
下完源码后,都无法编译。
现在dubbo还在维护吗? 感觉好久没更新了
我测试dubbo 负载均衡配置 loadbalance="consistenthash" 测试结果: 客户端不重启的话,相同参数的请求都访问同一个服务端。 重启客户端后,服务端未重启,相同参数请求和重启前访问的服务端不一致。 我是在同一个机器上,启动了三个服务端实例,一个客户端实例做的测试。 我的理解: 不管客户端是否重启,相同参数都应该访问同一个服务端实例,麻烦给说说是什么原因引起的,还是我测试结果有问题。多谢!