Create multiple instance Tomcat

 

Copy folder tomcat1 to tomcat2
Empty logs and temp
Edit startup.bat and add lines

set CATALINA_BASE=/path/tomcat2
set CATALINA_HOME=/path/tomcat2

Edit server.xml and modify all listen ports

launch bin/startup.bat for test
launch bin/shutdown.bat for stop

Comments

Popular posts from this blog

Install Gitea on NAS Netgear

Send mail with from on Linux