AutoDeploy a WAR file found in a subfolder of appBase

前端 未结 2 565
甜味超标
甜味超标 2021-01-14 19:39

I have a third party web application which I would like to deploy to a Tomcat 5.0 server via an installer. AutoDeploy is set to true. However, the application consists of mo

2条回答
  •  死守一世寂寞
    2021-01-14 20:21

    As this page suggests, you can place two XML files into $CATALINA_HOME/conf/[engine_name]/[host_name] directory (e.g. $CATALINA_HOME/conf/Catalina/localhost) each defining a Context for one of two WARs.

    First one (e.g. app1context.xml):

    
    
     
    

    And the second one (e.g. app2context.xml):

    
    
     
    

提交回复
热议问题