1.tomcat server.수정
<Engine name="Catalina" defaultHost="localhost" jvmRoute="tomcat1">
....
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster">
<Manager className="org.apache.catalina.ha.session.DeltaManager" expireSessionsOnShutdown="false" notifyListenersOnReplication="true"/>
<Channel className="org.apache.catalina.tribes.group.GroupChannel">
<Membership className="org.apache.catalina.tribes.membership.McastService"
address="228.0.0.4" port="XXXXXX" frequency="500" dropTime="3000"/>
<Receiver className="org.apache.catalina.tribes.transport.nio.NioReceiver"
address="XXX.XXX.XXX.XXX" port="XXXX" autoBind="100" selectorTimeout="5000" maxThreads="6"/>
<Sender className="org.apache.catalina.tribes.transport.ReplicationTransmitter">
<Transport className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/>
</Sender>
<Interceptor className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/>
<Interceptor className="org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor"/>
</Channel>
<Valve className="org.apache.catalina.ha.tcp.ReplicationValve" filter=""/>
<Valve className="org.apache.catalina.ha.session.JvmRouteBinderValve"/>
<Deployer className="org.apache.catalina.ha.deploy.FarmWarDeployer"
tempDir="/tmp/war-temp/" deployDir="/tmp/war-deploy/" watchDir="/tmp/war-listen/" watchEnabled="false"/>
<ClusterListener className="org.apache.catalina.ha.session.ClusterSessionListener"/>
</Cluster>
2. web.xml 수정
<distributable/>
'개발개발' 카테고리의 다른 글
CentOS 6.9 최소 설치후 네트워크 작업 (0) | 2018.08.13 |
---|---|
npm 에서 --save 의미는 (0) | 2018.08.02 |
centos7 rabbitmq-server 설치 (0) | 2018.05.29 |
userid is not in the sudoers file. This incident will be reported. (0) | 2018.05.28 |
Putty 에서 한글이 깨진다 (0) | 2018.04.19 |