Tomcat 8.5 中的通用连接器通信错误,BonCode AJP 连接器

Generic Connector Communication Error in Tomcat 8.5, BonCode AJP Connector

所以我在 Tomcat 8/BonCode AJP connector/IIS 8.5 安装程序上安装了一个 ORDS 3.0 应用程序。我启用了 SSO 和 SSL,一切正常。现在,突然间,在没有任何更改的情况下,我在 Tomcat 上访问任何应用程序时开始收到 Generic Connector Communication Error 错误,而不仅仅是 ords.

我在浏览器中得到的错误是:

Generic Connector Communication Error: Please check and adjust your setup: Ensure that Tomcat is running on given host and port. If this is a timeout error consider adjusting IIS timeout by changing executionTimeout attribute in web.config (see manual).

我在 logs 文件夹下的 Tomcat 目录中查看服务器,发现以下警告:

The web application [ords] appears to have started a thread named [oracle.jdbc.driver.BlockSource.ThreadedCachingBlockSource.BlockReleaser] but has failed to stop it. This is very likely to create a memory leak.

这是我唯一能看到的。我到处搜索并尝试了不同的调整,但无法找到解决方案。

通过更改 Tomcat 主目录下 conf 目录中的 server.xml 文件解决了该问题。 pot 8080 的 <Connector> 只需要 4 个属性:port、redirectPort、connectionTimeout 和 protocol。所有其他的都被删除。此外,端口 8009 上的 AJP 连接器标签只需要 3 个属性:端口、协议和重定向端口