在一个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>

posted @ 2019-08-28 18:04  那些年的代码  阅读(177)  评论(0编辑  收藏  举报