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/07/01 06:44:58 UTC

[GitHub] [dubbo] caohenghui opened a new issue #8193: dubbo2.7.8升级到dubbo3.0后自定义Filter失效,无法启动

caohenghui opened a new issue #8193:
URL: https://github.com/apache/dubbo/issues/8193


   - [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
   - [ ] I have checked the [FAQ](https://github.com/apache/dubbo/blob/master/FAQ.md) of this repository and believe that this is not a duplicate.
   
   ### Environment
   
   * Dubbo version: 3.0.0
   * Operating System version: centos7.0
   * Java version: 1.8
   
   ### Steps to reproduce this issue
   
   dubbo2.7.8升级到dubbo3.0后自定义Filter失效,无法启动
   
   
   ### Expected Result
   
   What do you expected from the above steps?
   
   ### Actual Result
   
   What actually happens?
   
   If there is an exception, please attach the exception trace:
   
   
   ```
   java.lang.IllegalStateException: No such extension logSessionFilter for file/org.apache.dubbo.rpc.Filter
   	at org.apache.dubbo.config.utils.ConfigValidationUtils.checkMultiExtension(ConfigValidationUtils.java:615)
   	at org.apache.dubbo.config.utils.ConfigValidationUtils.validateAbstractInterfaceConfig(ConfigValidationUtils.java:378)
   	at org.apache.dubbo.config.utils.ConfigValidationUtils.validateServiceConfig(ConfigValidationUtils.java:395)
   	at org.apache.dubbo.config.ServiceConfig.checkAndUpdateSubConfigs(ServiceConfig.java:298)
   	at org.apache.dubbo.config.ServiceConfig.postProcessRefresh(ServiceConfig.java:305)
   	at org.apache.dubbo.config.AbstractConfig.refresh(AbstractConfig.java:545)
   	at org.apache.dubbo.config.bootstrap.DubboBootstrap.checkGlobalConfigs(DubboBootstrap.java:606)
   	at org.apache.dubbo.config.bootstrap.DubboBootstrap.initialize(DubboBootstrap.java:556)
   	at org.apache.dubbo.config.bootstrap.DubboBootstrap.start(DubboBootstrap.java:1085)
   	at org.apache.dubbo.config.spring.context.DubboBootstrapApplicationListener.onContextRefreshedEvent(DubboBootstrapApplicationListener.java:70)
   	at org.apache.dubbo.config.spring.context.DubboBootstrapApplicationListener.onApplicationContextEvent(DubboBootstrapApplicationListener.java:63)
   	at com.alibaba.spring.context.OnceApplicationContextEventListener.onApplicationEvent(OnceApplicationContextEventListener.java:52)
   	at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
   	at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
   	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
   	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:404)
   	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:361)
   	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:898)
   	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:554)
   	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:755)
   	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747)
   	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:402)
   	at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
   	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1247)
   	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1236)
   	at com.ecommerce.spider.engine.Application.main(Application.java:15)
   ```
   


-- 
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] MrLiuFang removed a comment on issue #8193: dubbo2.7.8升级到dubbo3.0后自定义Filter失效,无法启动

Posted by GitBox <gi...@apache.org>.
MrLiuFang removed a comment on issue #8193:
URL: https://github.com/apache/dubbo/issues/8193#issuecomment-920541467


   ![1](https://user-images.githubusercontent.com/25580414/133542905-7fd0614a-1b7c-409a-be0f-17a4c9acdfd3.png)
   经过N个小时的问题排查,追踪到源码,发现无法找到自定义的org.apache.dubbo.rpc.Filter(jar中的文件)
   但是其它第三方的org.apache.dubbo.rpc.Filter(jar中的文件)能找得到 比如sentinel(sentinel-apache-dubbo-adapter-1.8.1.jar)自定义的org.apache.dubbo.rpc.Filter(jar中的文件)就能找的到
   奇了怪了.继续找原因


-- 
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 #8193: dubbo2.7.8升级到dubbo3.0后自定义Filter失效,无法启动

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


   Please try use Dubbo 3.0.1.


-- 
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] MrLiuFang commented on issue #8193: dubbo2.7.8升级到dubbo3.0后自定义Filter失效,无法启动

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


   ![1](https://user-images.githubusercontent.com/25580414/133542905-7fd0614a-1b7c-409a-be0f-17a4c9acdfd3.png)
   经过N个小时的问题排查,追踪到源码,发现无法找到自定义的org.apache.dubbo.rpc.Filter(jar中的文件)
   但是其它第三方的org.apache.dubbo.rpc.Filter(jar中的文件)能找得到 比如sentinel(sentinel-apache-dubbo-adapter-1.8.1.jar)自定义的org.apache.dubbo.rpc.Filter(jar中的文件)就能找的到
   奇了怪了.继续找原因


-- 
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 #8193: dubbo2.7.8升级到dubbo3.0后自定义Filter失效,无法启动

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


   3.0.0 版本无法自定义 Filter,升级版本解决


-- 
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] MrLiuFang commented on issue #8193: dubbo2.7.8升级到dubbo3.0后自定义Filter失效,无法启动

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


   哥们我和你一样的问题  你解决了没


-- 
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 #8193: dubbo2.7.8升级到dubbo3.0后自定义Filter失效,无法启动

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


   Try to upgrade to solve the problem, temporarily close the issue, if there are other issues, you can reopen the issue.
   @caohenghui 


-- 
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 #8193: dubbo2.7.8升级到dubbo3.0后自定义Filter失效,无法启动

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


   


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