CHSHJ 发表于 2018-11-11 14:29:27

nginx+tomcat session 共享

##添加如下内容,         注意更换   address="192.168.10.154"为本机IP  vim /usr/local/tomcat/conf/server.xml

    channelSendOptions="8">

    expireSessionsOnShutdown="false"
  notifyListenersOnReplication="true"/>

  
    address="228.0.0.4"
  port="45564"
  frequency="500"
  dropTime="3000"/>

    address="192.168.10.154"
  port="4000"
  autoBind="100"
  selectorTimeout="5000"
  maxThreads="6"/>

  
    

  
    

    filter=""/>

  
    tempDir="/tmp/war-temp/"
  deployDir="/tmp/war-deploy/"
  watchDir="/tmp/war-listen/"
  watchEnabled="false"/>

    

页: [1]
查看完整版本: nginx+tomcat session 共享