2017-04-14 92 views
1

所以我有一個ORDS Tomcat上安裝應用3.0 8/BonCode AJP連接器/ IIS 8.5設置。我啓用了SSO和SSL,一切正常。現在,突然間,沒有任何更改,我開始在Tomcat上訪問任何應用程序時收到Generic Connector Communication Error錯誤,而不僅僅是ords。通用連接器通信錯誤Tomcat中8.5,BonCode AJP連接器

我在瀏覽器中得到的錯誤是:

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

我看着在Tomcat的目錄服務器上logs文件夾下,發現如下警告:

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.

這是我唯一可以看到。我到處搜索並嘗試不同的調整,但無法找出解決方案。

+0

您正在使用什麼版本BonCode的redirectPort?請發表您的BonCodeAJP13.settings文件 - 有可能是培訓相關如MaxConnections最大等 –

回答

0

通過更改位於Tomcat主目錄下的conf目錄下的server.xml文件解決了該問題。 pot 8080的<Connector>只需要4個屬性:端口,redirectPort,connectionTimeout和協議。所有其他被刪除。同樣在8009端口的AJP連接標籤只需要3個屬性:端口,協議,以及

+0

改變什麼其他參數?答案不可能幫助有類似問題的人。 – jfrobishow

+1

你是對的。我添加了必要的屬性 – ElenaDBA

+0

請發表你的Tomcat server.xml文件 - 有可能是培訓相關例如分組大小,maxThreads其他參數 –