86083

在一个tomcat中配置多个tomcat服务器 111

   <Service name="Tomcat_1"> 
    <Connector port="8888" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="gbk"/>      
    <Engine name="Tomcat_1" defaultHost="localhost"> 
      <Host name="localhost"  appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> 
            <Context path="" docBase="D:\Workspaces\A\WebRoot" reloadable="true" debug="0"/> 
          </Host> 
    </Engine> 
  </Service>

来源:博客园

作者:那些年的代码

链接:https://www.cnblogs.com/zhuyeshen/p/11425594.html

Recommend