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 2022/07/15 02:57:08 UTC

[GitHub] [dubbo] sq-young2 opened a new issue, #10322: 您好,最近升级到2.7.15,发现tomcat启动异常时会触发ReferenceAnnotationBeanPostProcessor was destroying

sq-young2 opened a new issue, #10322:
URL: https://github.com/apache/dubbo/issues/10322

   此时提供者为无法使用的状态,如果此时启动消费者,消费者无法消费服务,哪怕后续提供者完全恢复后,还是报错om.alibaba.dubbo.rpc.RpcException: Rpc cluster invoker for interface xxx on consumer 10.2.4.63 use dubbo version 2.6.0.2 is now destroyed! Can not invoke any more.
   暂时未排查出原因


-- 
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.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] sq-young2 commented on issue #10322: 您好,最近升级到2.7.15,发现tomcat启动异常时会触发ReferenceAnnotationBeanPostProcessor was destroying

Posted by GitBox <gi...@apache.org>.
sq-young2 commented on issue #10322:
URL: https://github.com/apache/dubbo/issues/10322#issuecomment-1185210292

   2.6.0.2 是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] sq-young2 commented on issue #10322: 您好,最近升级到2.7.15,发现tomcat启动异常时会触发ReferenceAnnotationBeanPostProcessor was destroying

Posted by GitBox <gi...@apache.org>.
sq-young2 commented on issue #10322:
URL: https://github.com/apache/dubbo/issues/10322#issuecomment-1185240696

   因为项目比较复杂,框架基础上面做的,能提供写排查思路吗,从现象看,应该是提供者没有通知到消费者


-- 
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] AlbumenJ commented on issue #10322: 您好,最近升级到2.7.15,发现tomcat启动异常时会触发ReferenceAnnotationBeanPostProcessor was destroying

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

   排查下是不是消费端启动的时候服务端还没启动,或者注册中心有没有对应推送


-- 
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] AlbumenJ commented on issue #10322: 您好,最近升级到2.7.15,发现tomcat启动异常时会触发ReferenceAnnotationBeanPostProcessor was destroying

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

   > 理论上 check=true时候,提供方不在线,消费方不是直接就起不来吗。
   
   是的,check 就是为了检查服务端是否已经发布了


-- 
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] sq-young2 commented on issue #10322: 您好,最近升级到2.7.15,发现tomcat启动异常时会触发ReferenceAnnotationBeanPostProcessor was destroying

Posted by GitBox <gi...@apache.org>.
sq-young2 commented on issue #10322:
URL: https://github.com/apache/dubbo/issues/10322#issuecomment-1185211174

   我刚刚测试了把ReferenceAnnotationBeanPostProcessor 的destroy注释,还是一样的情况


-- 
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] sq-young2 commented on issue #10322: 您好,最近升级到2.7.15,发现tomcat启动异常时会触发ReferenceAnnotationBeanPostProcessor was destroying

Posted by GitBox <gi...@apache.org>.
sq-young2 commented on issue #10322:
URL: https://github.com/apache/dubbo/issues/10322#issuecomment-1185210145

   应该不会,因为其他功能都是正常的


-- 
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] neighbor-uncleWang commented on issue #10322: 您好,最近升级到2.7.15,发现tomcat启动异常时会触发ReferenceAnnotationBeanPostProcessor was destroying

Posted by GitBox <gi...@apache.org>.
neighbor-uncleWang commented on issue #10322:
URL: https://github.com/apache/dubbo/issues/10322#issuecomment-1185208908

   版本号:2.6.0.2;是不是有个地方的包没有升级成功呢


-- 
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] neighbor-uncleWang commented on issue #10322: 您好,最近升级到2.7.15,发现tomcat启动异常时会触发ReferenceAnnotationBeanPostProcessor was destroying

Posted by GitBox <gi...@apache.org>.
neighbor-uncleWang commented on issue #10322:
URL: https://github.com/apache/dubbo/issues/10322#issuecomment-1185238953

   可以提供一个简易的demo,以供测试吗?


-- 
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] sq-young2 commented on issue #10322: 您好,最近升级到2.7.15,发现tomcat启动异常时会触发ReferenceAnnotationBeanPostProcessor was destroying

Posted by GitBox <gi...@apache.org>.
sq-young2 commented on issue #10322:
URL: https://github.com/apache/dubbo/issues/10322#issuecomment-1191088305

   或许是因为在custom:check=true 的情况下,初始化时候,已经标记提供者为destroy状态,并不会再进行更新状态,表现是强依赖的;然后check=false情况下,会根据后续提供者状态进行刷新变更


-- 
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] sq-young2 commented on issue #10322: 您好,最近升级到2.7.15,发现tomcat启动异常时会触发ReferenceAnnotationBeanPostProcessor was destroying

Posted by GitBox <gi...@apache.org>.
sq-young2 commented on issue #10322:
URL: https://github.com/apache/dubbo/issues/10322#issuecomment-1191086273

   您好, 有关之前的问题,我大致说明一下,底层初始化时候会触发getBean的操作,并且做了异常捕获,所以check=true的情况虽然获取不到消费者bean,还是不影响应用启动的。但是为何check设置为fasle我的问题解决暂时未查明原因,不管怎么样目前已经解决我的问题,有时间再继续研究下,感谢各位大佬的回复。


-- 
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] sq-young2 commented on issue #10322: 您好,最近升级到2.7.15,发现tomcat启动异常时会触发ReferenceAnnotationBeanPostProcessor was destroying

Posted by GitBox <gi...@apache.org>.
sq-young2 commented on issue #10322:
URL: https://github.com/apache/dubbo/issues/10322#issuecomment-1185274674

   我在消费者dubbo配置里面,设置了<dubbo:consumer check="false" > 貌似问题解决了,提供者恢复后,消费者会刷新服务,是不是新版本的启动检查做了什么严格性的校验,我以前的版本是当当的2.8.4,版本比较老


-- 
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] mz0113 commented on issue #10322: 您好,最近升级到2.7.15,发现tomcat启动异常时会触发ReferenceAnnotationBeanPostProcessor was destroying

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

   理论上 check=true时候,提供方不在线,消费方不是直接就起不来吗。


-- 
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] sq-young2 commented on issue #10322: 您好,最近升级到2.7.15,发现tomcat启动异常时会触发ReferenceAnnotationBeanPostProcessor was destroying

Posted by GitBox <gi...@apache.org>.
sq-young2 commented on issue #10322:
URL: https://github.com/apache/dubbo/issues/10322#issuecomment-1192139280

   您好,有关之前的问题,今天看了源码,已经查明,跟大家说明一下:
   1.我的容器启动的调用链路是:框架init-》触发getBean-》dubbo的refereneConfig,其中在此步骤会校验check=true和服务提供者是否正常,不正常会抛出异常IllegalStateException ,但是因为框架init进行了异常捕获,导致并没有影响容易的启动
   2.设置了check=false,虽然启动时候服务无法使用,但是服务恢复后会自动重新连接


-- 
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] sq-young2 closed issue #10322: 您好,最近升级到2.7.15,发现tomcat启动异常时会触发ReferenceAnnotationBeanPostProcessor was destroying

Posted by GitBox <gi...@apache.org>.
sq-young2 closed issue #10322: 您好,最近升级到2.7.15,发现tomcat启动异常时会触发ReferenceAnnotationBeanPostProcessor  was destroying 
URL: https://github.com/apache/dubbo/issues/10322


-- 
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] sq-young2 commented on issue #10322: 您好,最近升级到2.7.15,发现tomcat启动异常时会触发ReferenceAnnotationBeanPostProcessor was destroying

Posted by GitBox <gi...@apache.org>.
sq-young2 commented on issue #10322:
URL: https://github.com/apache/dubbo/issues/10322#issuecomment-1185170607

   问题比较棘手,大佬看到后指导一下哦,谢谢了


-- 
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] sq-young2 commented on issue #10322: 您好,最近升级到2.7.15,发现tomcat启动异常时会触发ReferenceAnnotationBeanPostProcessor was destroying

Posted by GitBox <gi...@apache.org>.
sq-young2 commented on issue #10322:
URL: https://github.com/apache/dubbo/issues/10322#issuecomment-1185212758

   不好意思,因为代码在内网,问题描述是拷贝的,版本没有修改,已经修改正常


-- 
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