You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "goodliukai (GitHub)" <gi...@apache.org> on 2020/02/04 14:50:18 UTC

[GitHub] [dubbo] goodliukai opened issue #5711: tomcat9 is Incompatible with dubbo 2.7

### Environment

* Dubbo version: 2.7.*
* Operating System version: xxx
* Java version: 8
* springboot: 2.2.4

### Steps to reproduce this issue

1.  I want to use dubbo with springboot 
2. Need two protocol - rest and dubbo
3. Rest server is tomcat, and I use tomcat9 in my project

### Exception
```
An attempt was made to call a method that does not exist. The attempt was made from the following location:
    org.apache.dubbo.remoting.http.tomcat.TomcatHttpServer.<init>(TomcatHttpServer.java:66)
```
### What`s wrong

The code is "tomcat.getConnector().setProtocol("org.apache.coyote.http11.Http11NioProtocol");"




[ Full content available at: https://github.com/apache/dubbo/issues/5711 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [dubbo] htynkn commented on issue #5711: tomcat9 is Incompatible with dubbo 2.7

Posted by "htynkn (GitHub)" <gi...@apache.org>.
related doc link: https://tomcat.apache.org/tomcat-8.5-doc/api/org/apache/catalina/connector/Connector.html#setProtocol(java.lang.String)

[ Full content available at: https://github.com/apache/dubbo/issues/5711 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [dubbo] goodliukai commented on issue #5711: tomcat9 is Incompatible with dubbo 2.7

Posted by "goodliukai (GitHub)" <gi...@apache.org>.
tomcat8.5.31 is ok. but the function setProtocl is Deprecated. 

[ Full content available at: https://github.com/apache/dubbo/issues/5711 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org