tomcat 重定向Web应用程序的目录

1.新建文件夹E:\tomcat_instance1

2.将tomcat目录向的conf,logs,temp,webapps,work复制到E:\tomcat_instance1

3.新建startup.bat

set "CATALINA_BASE=%cd%"  
set "CATALINA_HOME=D:\apache-tomcat-7.0.75"  
set "EXECUTABLE=%CATALINA_HOME%\bin\catalina.bat"  
  
  
call "%EXECUTABLE%" start

评论

h
hw_7864

⭐️ Admin快速开发: https://show.cool-admin.com/

赞 0
h
hw_7864

⭐️ 官方文档: https://cool-js.com

赞 0
h
hw_7864

⭐️ chatgpt在线体验: https://cool-js.com/ai/chat-vip/index.html?r=helloworld

赞 0