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 2021/09/06 07:29:48 UTC

[GitHub] [dubbo] startjava opened a new issue #8691: 我又贡献bug来了!!!所有的check=true使用方式全部失效!

startjava opened a new issue #8691:
URL: https://github.com/apache/dubbo/issues/8691


   ```
   spring:
     application:
       name: my-check1
   
   # 配置dubbo
   dubbo:
     registry:
       # 注册中心地址
       address: zookeeper://127.0.0.1
       port: 2181
     reference:
       com.ghy.www.api.IService1.check: true
   
   server:
     port: 8085
   ```
   
   
   ```
   @Configuration
   public class JavaConfigDubbo {
       @DubboReference(check = true)
       private IService1 service1;
   }
   ```
   
   
   ```
   spring:
     application:
       name: my-check3
   
   # 配置dubbo
   dubbo:
     registry:
       # 注册中心地址
       address: zookeeper://127.0.0.1
       port: 2181
     consumer:
       check: true
   
   server:
     port: 8085
   ```
   
   
   ```
   spring:
     application:
       name: my-check4
   
   # 配置dubbo
   dubbo:
     registry:
       # 注册中心地址
       address: zookeeper://127.0.0.1
       port: 2181
       check: true
   
   server:
     port: 8085
   ```
   
   
   这四种使用方式,,在没有提供者时,,消费者能正常的启动,并且启动时控制台不出现异常,这是错误的,有bug的!
   


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] startjava commented on issue #8691: 我又贡献bug来了!!!所有的check=true使用方式全部失效!

Posted by GitBox <gi...@apache.org>.
startjava commented on issue #8691:
URL: https://github.com/apache/dubbo/issues/8691#issuecomment-913416505


   zookeeper3.4.13


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] startjava commented on issue #8691: 我又贡献bug来了!!!所有的check=true使用方式全部失效!

Posted by GitBox <gi...@apache.org>.
startjava commented on issue #8691:
URL: https://github.com/apache/dubbo/issues/8691#issuecomment-913458926


   我找找,其它的地方有可能还有log4j的依赖,,,


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] startjava commented on issue #8691: 我又贡献bug来了!!!所有的check=true使用方式全部失效!

Posted by GitBox <gi...@apache.org>.
startjava commented on issue #8691:
URL: https://github.com/apache/dubbo/issues/8691#issuecomment-913458259


               <!-- Apache Dubbo  -->
               <dependency>
                   <groupId>org.apache.dubbo</groupId>
                   <artifactId>dubbo</artifactId>
                   <version>${dubbo.version}</version>
                   <exclusions>
                       <exclusion>
                           <groupId>org.springframework</groupId>
                           <artifactId>spring</artifactId>
                       </exclusion>
                       <exclusion>
                           <groupId>javax.servlet</groupId>
                           <artifactId>servlet-api</artifactId>
                       </exclusion>
                       <exclusion>
                           <groupId>log4j</groupId>
                           <artifactId>log4j</artifactId>
                       </exclusion>
                   </exclusions>
               </dependency>
   
   @zrlw 我已经排除了


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] startjava commented on issue #8691: 我又贡献bug来了!!!所有的check=true使用方式全部失效!

Posted by GitBox <gi...@apache.org>.
startjava commented on issue #8691:
URL: https://github.com/apache/dubbo/issues/8691#issuecomment-913478563


   https://github.com/apache/dubbo/issues/8694
   
   @a364176773 @zrlw 


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] zrlw commented on issue #8691: 我又贡献bug来了!!!所有的check=true使用方式全部失效!

Posted by GitBox <gi...@apache.org>.
zrlw commented on issue #8691:
URL: https://github.com/apache/dubbo/issues/8691#issuecomment-913447320


   你是不是用的log4j2,如果是需要修改你的pom文件exclude掉dubbo自己用的log4j,否则你是看不到dubbo日志的


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] startjava commented on issue #8691: 我又贡献bug来了!!!所有的check=true使用方式全部失效!

Posted by GitBox <gi...@apache.org>.
startjava commented on issue #8691:
URL: https://github.com/apache/dubbo/issues/8691#issuecomment-913429493


   https://dubbo.apache.org/zh/docs/advanced/preflight-check/
   
   
   @a364176773 
   
   但在官方文档上并没有写非要加一个配置才可以看到异常,我认为这个东西就应该是啥配置也不加,默认配置就会出现异常的,希望官方改改代码。
   
   这个肯定是"BUG"。


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] CrazyHZM closed issue #8691: 我又贡献bug来了!!!所有的check=true使用方式全部失效!

Posted by GitBox <gi...@apache.org>.
CrazyHZM closed issue #8691:
URL: https://github.com/apache/dubbo/issues/8691


   


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] a364176773 commented on issue #8691: 我又贡献bug来了!!!所有的check=true使用方式全部失效!

Posted by GitBox <gi...@apache.org>.
a364176773 commented on issue #8691:
URL: https://github.com/apache/dubbo/issues/8691#issuecomment-913426460


   dubbo.application.logger进行配置即可看到异常


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] startjava commented on issue #8691: 我又贡献bug来了!!!所有的check=true使用方式全部失效!

Posted by GitBox <gi...@apache.org>.
startjava commented on issue #8691:
URL: https://github.com/apache/dubbo/issues/8691#issuecomment-913413633


   3.0.3-snapshot版本


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] CrazyHZM commented on issue #8691: 我又贡献bug来了!!!所有的check=true使用方式全部失效!

Posted by GitBox <gi...@apache.org>.
CrazyHZM commented on issue #8691:
URL: https://github.com/apache/dubbo/issues/8691#issuecomment-923510911


   Has been fixed in https://github.com/apache/dubbo/pull/8483


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org