The Tomcat server used is a zip version, a non-installed version. Take two examples:
After installing the second Tomcat, open the server.xml file in the conf subdirectory under the installation directory and look for the following three places:
(1) Modify Http access port (default is 8080 port)
minProcessors="5"maxProcessors="75"
enableLookups="true"redirectPort="8443"
acceptCount="100"debug="0"connectionTimeout="20000"
useURIValidationHack="false"disableUploadTimeout="true"/>
(probably at 86 Modify the 8080 to the port number that the first tomcat is not using. The port number set here is the port number used when accessing the web in the future.
(2) Modify the Shutdown port (the default is 8005 port)
(about 13 lines or so) Modify 8005 to a port number that is not in use, for example, 8095
(3) Modify port 8009
port="8009"minProcessors="5"maxProcessors="75"
enableLookups="true"redirectPort="8443"
acceptCount="10"debug="0"connectionTimeout="20000"
useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk. server.JkCoyoteHandler"/>
(about 107 lines or so) Modify 8009 to a port number that is not in use, for example, 8099
This is fine.
It is easy to implement multiple Tomcat servers at the same time, so you can refer to the method of the above tutorial. It is best to carefully complete the steps to avoid errors, because it involves some aspects of modifying the port. I hope these methods are correct. Everyone is helpful.
setlocal command is used to initiate localization of environment variables in a batch file. Localiza
According to friends, files are often downloaded online. Sometimes these files require a password to
Recently, some users have reflected that the computer has inserted the USB flash drive and the right
The daily home computer is basically a dual-core CPU. The Windows7 operating system has good support
Solve the CPU fan error problem
VNC Remote Desktop solves three server failures
360 browser home page can not be modified how to solve?
How to solve the problem of network failure?
Troubleshoot the "Disk Boot Failure" when booting up.
How to set up the Shift key in Windows 7 instead of the Capslock key in the system tutorial
How to solve the page script error when the computer is turned on?
u disk loading system boot black screen can not load file how to solve?
Teach you how to detect ARP virus in your computer
Three strokes teach you quickly Win2003 registry can not use the problem
How to make u start win7PE system maintenance toolbox into u disk boot disk?
Linux uses vim for multiple file lookup and replacement methods
How does the XP system set the folder background? XP system settings folder background method
Win10 Mobile update will bring a new experience to Edge browser
How to delete the excess optical drive letter in the win8 system?
Fences desktop installation error in win7
How to add common program shortcuts to Win8.1 in Win8.1
How to open and disable the system administrator account under Win7 system?