source: https://www.youtube.com/watch?v=eJjzD8tCwFI
<html lang="en">
<head>
<meta charset="UTF-8">
<title>tomcat instance 1</title>
</head>
<body>
<h1>Hello from tomcat 1</h1>
</body>
</html>
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<user username="johan" password="troposphere" roles="manager-gui,manager-script"/>
</tomcat-users>
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<user username="david" password="oriental" roles="manager-gui,manager-script"/>
</tomcat-users>
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<user username="max" password="voyager" roles="manager-gui,manager-script"/>
</tomcat-users>
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<user username="elliot" password="feedom" roles="manager-gui,manager-script"/>
</tomcat-users>
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<user username="elliot" password="feedom" roles="manager-gui,manager-script"/>
</tomcat-users>
@echo off
SET CATALINA_BASE=C:\tools\tomcat_webservice_d
cd "%CATALINA_HOME%\bin"
SET TITLE=Tomcat 01
CALL startup.bat %TITLE%
@echo off
SET CATALINA_BASE=C:\tools\tomcat_webservice_d
cd "%CATALINA_HOME%\bin"
CALL shutdown.bat %TITLE%
<servers>
<!-- Development environment Tomcat instance for the webservices -->
<server>
<id>WebServiceDevelop</id>
<username>johan</username>
<password>troposphere</password>
</server>
<!-- Test environment Tomcat instance for the webservices -->
<server>
<id>WebServiceTest</id>
<username>david</username>
<password>oriental</password>
</server>
<!-- Development environment Tomcat instance for the webapplication -->
<server>
<id>WebAppDevelop</id>
<username>max</username>
<password>voyager</password>
</server>
<!-- Test environment Tomcat instance for the webapplication -->
<server>
<id>WebAppTest</id>
<username>elliot</username>
<password>feedom</password>
</server>
</servers>