2012-05-03 38 views
0

我有兩個服務器的兩個tomcat節點。羣集會話不復制到組節點

當我關閉一臺服務器時出現以下異常,並且不會複製會話。我必須再次登錄,我錯過了一些步驟?

WARNING: IOException in replication worker, unable to drain channel. Probable cause: Keep alive socket closed[An existing connection was forcibly closed by the remote host]. 
May 3, 2012 2:15:02 PM org.apache.catalina.tribes.transport.nio.NioReplicationTask run 
WARNING: IOException in replication worker, unable to drain channel. Probable cause: Keep alive socket closed[An existing connection was forcibly closed by the remote host]. 
[ 
+0

不知道你採取了哪些步驟,除了「是的,因爲集羣適用於我」,你的問題幾乎是不可能回答的。 –

+0

我遵循以下鏈接提到的步驟http://www.jee-bpel -soa.blogspot.com/2009/07/apache-tomcat-clustering-load-balancing.html我在複製工作者中收到IOException –

回答

1

這只是警告,配置沒有錯。 當您關閉一個tomcat實例時,會出現此警告。

大多數情況下,您沒有將應用程序標記爲可分發。

在給定應用程序的web.xml中添加<distributable />標記。