所以我在 Tomcat 8/BonCode AJP 连接器/IIS 8.5 安装程序上安装了一个 ORDS 3.0 应用程序。我启用了 SSO 和 SSL,一切正常。现在,突然间,在没有任何更改的情况下,我在访问 Tomcat 上的任何应用程序时开始收到 Generic Connector Communication Error
错误,而不仅仅是命令。
我在浏览器中得到的错误是:
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.
这是我唯一能看到的。我到处搜索并尝试了不同的调整,但无法找到解决方案。
最佳答案
通过更改 server.xml
解决了问题文件位于 conf
Tomcat 主目录下的目录。 <Connector>
对于 pot 8080 只需要 4 个属性:port、redirectPort、connectionTimeout 和 protocol。所有其他的都被删除。此外,端口 8009 上的 AJP 连接器标签只需要 3 个属性:端口、协议(protocol)和重定向端口
关于tomcat - Tomcat 8.5、BonCode AJP 连接器中的一般连接器通信错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43415252/