genvyday commented on issue #9583: URL: https://github.com/apache/dubbo/issues/9583#issuecomment-1034549804
我也很困惑,测试的配置如下: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:p="http://www.springframework.org/schema/p" xmlns:dubbo="http://dubbo.apache.org/schema/dubbo" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd http://dubbo.apache.org/schema/dubbo http://dubbo.apache.org/schema/dubbo/dubbo.xsd"> <dubbo:application id="dubapp" name="dubtest"> <dubbo:parameter key="qos.enable" value="false"/> <dubbo:parameter key="qos.accept.foreign.ip" value="false"/> <dubbo:parameter key="qos.port" value="25678"/> <dubbo:parameter key="threadname" value="da"/> </dubbo:application> <dubbo:registry id="dubzkregistry" simplified="true" protocol="zookeeper" file="false" address="172.16.2.132:2181?timeout=60000&blockUntilConnectedWait=60" extra-keys="retries,ppwd,rtaddr" client="curator" group="dubbo" /> <dubbo:consumer check="false" p:threadname="dc" loadbalance="leastactive" retries="0"/> <dubbo:provider id="dubprvdcfg" p:threadname="dp" loadbalance="leastactive" p:ppwd="${user.dir}" timeout="40000" retries="0" dynamic="true" /> <dubbo:protocol name="dubbo" p:threadname="dr" server="netty" port="-1" serialization="kryo" threads="300"/> <bean id="acct.dumb" class="com.aip.acct.ipo.AcctDumbImp"/> <dubbo:service interface="com.aip.acct.ipo.AcctDumbInf" ref="acct.dumb"/> </beans> 结果如下:  -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
