& Nbsp; The Tomcat servers used are both zip and non-installed. Take two examples: after installing the second Tomcat, go to the conf subdirectory under the installation directory to open the server. xml File: (1) modify the http access port (Port 8080 by default) minProcessors5maxProcesso
The Tomcat servers used are both zip and non-installed. Take two examples:
After installing the second Tomcat, go to the conf subdirectory under the installation directory to open the server. xml file and find the following three places:
(1) modify the http access port (default: Port 8080)
MinProcessors = "5" maxProcessors = "75"
EnableLookups = "true" redirectPort = "8443"
AcceptCount = "100" debug = "0" connectionTimeout = "20000"
UseURIValidationHack = "false" disableUploadTimeout = "true"/>
(About 86 lines) change 8080 to the port number that is not used by the first tomcat. The port number is used to access the web.
(2) modify the Shutdown port (default: Port 8005)
(About 13 rows) change 8005 to a port number that is not in use, for example, 8095
(3) modify Port 8009
< Connector className ="org.apache.coyote.tomcat4.CoyoteConnector"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 rows) change 8009 to a port number that is not in use, such as 8099
So there is no problem.