server.xml 2.0 KB

12345678910111213141516171819202122232425262728
  1. <Server port="8005" shutdown="SHUTDOWN">
  2. <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on"/>
  3. <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener"/>
  4. <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
  5. <Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener"/>
  6. <Service name="web-laboratory">
  7. <Connector port="8090" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8453" compression="on" compressionMinSize="2048" noCompressionUserAgents="gozilla, traviata" compressableMimeType="text/html,text/xml,application/xml,text/javascript,text/css"/>
  8. <Engine name="web-laboratory" defaultHost="localhost">
  9. <Host name="localhost" appBase="exploded/web-laboratory">
  10. <!--<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster" channelSendOptions="8">
  11. <Manager className="org.apache.catalina.ha.session.DeltaManager" expireSessionsOnShutdown="false" notifyListenersOnReplication="true"/>
  12. <Channel className="org.apache.catalina.tribes.group.GroupChannel">
  13. <Membership className="org.apache.catalina.tribes.membership.McastService" address="228.0.0.4" port="45565" frequency="500" dropTime="3000"/>
  14. <Sender className="org.apache.catalina.tribes.transport.ReplicationTransmitter">
  15. <Transport className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/>
  16. </Sender>
  17. <Receiver className="org.apache.catalina.tribes.transport.nio.NioReceiver" address="auto" port="5001" autoBind="100" selectorTimeout="5000" maxThreads="6"/>
  18. <Interceptor className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/>
  19. <Interceptor className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"/>
  20. </Channel>
  21. <ClusterListener className="org.apache.catalina.ha.session.ClusterSessionListener"/>
  22. </Cluster>-->
  23. </Host>
  24. </Engine>
  25. </Service>
  26. </Server>