Under a Tomcat deploy two test

The first step: first in the tomcat directory, a copy webapps named webapps1
below:
Here Insert Picture Description
Step two: Delete webapps1 in the original war, put packaged second war package;
Figure:
Here Insert Picture Description
The third step: change conf the configuration files: server.xml
do: copy service tag content; modify the following points:
Here Insert Picture Description
revised as follows

Here Insert Picture Description
Step four:
Restart Tomcat,
HTTPS: // localhost: 8082 / WAR1
HTTPS: // localhost: 8083 / WAR2
success

Released eight original articles · won praise 3 · Views 3956

Guess you like

Origin blog.csdn.net/kang1011/article/details/104560488