tomcat配置共享主要就三步:
1、server.xml文件修改如下内容:
点击(此处)折叠或打开
点击(此处)折叠或打开
-
- channelSendOptions="6">
- expireSessionsOnShutdown="false"
- notifyListenersOnReplication="true"/>
- address="228.0.0.7" =====>组播地址
- port="45550"
- frequency="500"
- dropTime="3000"/>
- address="192.168.168.22" =====>本机IP地址
- autoBind="100"
- port="4000"
- selectorTimeout="100"
- maxThreads="6"/>
点击(此处)折叠或打开
点击(此处)折叠或打开
- route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0