You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "zhouyu00 (via GitHub)" <gi...@apache.org> on 2023/04/26 07:33:55 UTC

[GitHub] [dubbo] zhouyu00 opened a new issue, #12194: 如何使用自定义HTTPBinder 配置内嵌的tomcat

zhouyu00 opened a new issue, #12194:
URL: https://github.com/apache/dubbo/issues/12194

   <!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy -->
   
   - [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
   
   dubbo 3.1.7 rest 使用 tomcat 作为HTTP Binder ,但是由于是直接创建tomcat 无法对它进行配置,该tomcat 没有配置ErrorReportValve,导致可能会打印系统堆栈信息。目前考虑自定义HttpBinder,通过SPI机制来替换使用自定义的tomcat实例。但是,目前遇到启动时,会报错。
   Duplicate extension org.apache.dubbo.remoting.http.HttpBinder name tomcat 
   


-- 
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] zhouyu00 commented on issue #12194: 如何使用自定义HTTPBinder 配置内嵌的tomcat

Posted by "zhouyu00 (via GitHub)" <gi...@apache.org>.
zhouyu00 commented on issue #12194:
URL: https://github.com/apache/dubbo/issues/12194#issuecomment-1523037908

   额 原来 加上 @Adaptive注解就好了


-- 
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] zhouyu00 commented on issue #12194: 如何使用自定义HTTPBinder 配置内嵌的tomcat

Posted by "zhouyu00 (via GitHub)" <gi...@apache.org>.
zhouyu00 commented on issue #12194:
URL: https://github.com/apache/dubbo/issues/12194#issuecomment-1522937181

   自定义META-INF/dubbo/internal/org.apache.dubbo.remoting.http.HttpBinder 内容如下
   `
   servlet=org.apache.dubbo.remoting.http.servlet.ServletHttpBinder
   jetty=org.apache.dubbo.remoting.http.jetty.JettyHttpBinder
   tomcat=com.xxx.CustomDubboTomcatHttpBinder
   `


-- 
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] zhouyu00 closed issue #12194: 如何使用自定义HTTPBinder 配置内嵌的tomcat

Posted by "zhouyu00 (via GitHub)" <gi...@apache.org>.
zhouyu00 closed issue #12194: 如何使用自定义HTTPBinder 配置内嵌的tomcat
URL: https://github.com/apache/dubbo/issues/12194


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