dubbo的正确配置,注意端口号
dubbo正确的配置文件为:dubbo.spring.config=classpath*:spring-*.xmldubbo.registry.address=zookeeper://127.0.0.1:2181dubbo.application.name=fd-interface-serverdubbo.protocol.name=dubbodubbo.protocol.port=2...
·
dubbo正确的配置文件为:
dubbo.spring.config=classpath*:spring-*.xml
dubbo.registry.address=zookeeper://127.0.0.1:2181
dubbo.application.name=fd-interface-server
dubbo.protocol.name=dubbo
dubbo.protocol.port=20880
dubbo.protocol.accesslog=D://dubbo/logs/provider_access.log
dubbo.provider.timeout=60
dubbo.provider.delay=-1
dubbo.provider.retries=0
另外的启动tomcat的时候,需要把server.xml总 countent 标签中的reload属性设置为false
更多推荐
已为社区贡献1条内容
所有评论(0)