群集会话未复制到组节点

时间:2012-05-03 10:35:59

标签: tomcat cluster-computing session-replication

我有两个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].
[

1 个答案:

答案 0 :(得分:1)

这只是警告,配置没有错。 当您关闭一个tomcat实例时,会出现此警告。

大多数情况下,您尚未将应用程序标记为可分发。

在给定应用程序的web.xml中添加<distributable />标记。