1. Configure the virtual path:
Add a node to/tomcat 5.5/CONF/server. xml
<Context Path = "/access name of the project in the browser" docbase = "E:/workplace/qznew1_devlib/webroot (physical path of the project)" reloadable = "false"
Displayname = "Access name of the project in the browser"/>
2. Configure the corresponding JDK in Tomcat, and then configure the virtual memory-xms256m-xms256m-xmx512m.
3. Modify the nodes in your server. xml file.
<Server port = "8006" shutdown = "shutdown"> ------- change the default value to a port that is not occupied by the system.
<Connection Port = "8082"
Maxthreads = "150" minsparethreads = "25" maxsparethreads = "75"
Enablelookups = "false" acceptcount = "100" connectiontimeout = "20000"
Proxyport = "80" disableuploadtimeout = "true"/>
-->
<Connection Port = "8008"
Enablelookups = "false" redirectport = "8443" protocol = "AJP/1.3"/>
<Connector Port = "8070" maxhttpheadersize = "8192"
Maxthreads = "150" minsparethreads = "25" maxsparethreads = "75"
Enablelookups = "false" disableuploadtimeout = "true"
Acceptcount = "100" Scheme = "HTTPS" secure = "true"
Clientauth = "false" sslprotocol = "TLS"/>
-->
Note that the first one is the most important, and others can be modified as appropriate. OK!