<context path= "" docbase= "D:\web\ftp\fgame-1.0" reloadable= "true" crosscontext= "true" privileged= "true " unpackwar=" true " cachingallowed=" true " cachemaxsize=" "1024x768" />
Change to:
<engine name= "Catalina" defaulthost= "shop.finwod.com" >
Or
<engine name= "Catalina" defaulthost= "localhost" >
Place the context file in the shop.finwod.com and fgame.finwod.com folders under%tomcat%\conf\catalina<context path= "" docbase= "D:\web\ftp\fgame-1.0" reloadable= "true" crosscontext= "true" privileged= "true " unpackwar=" true " cachingallowed=" true " cachemaxsize=" "1024x768" />
<connector port= "8080" maxhttpheadersize= "8192" maxthreads= "minsparethreads=" 75 "maxsparethreads=" Enablelookups= "false" redirectport= "8443" acceptcount= "connectiontimeout=" 20000 "
Maxthreads:tomcat uses threads to process each request that is received. This value represents the maximum number of threads that Tomcat can create.
Acceptcount: Specifies the number of requests that can be placed in the processing queue when all the threads that can be used to process the request are used, and requests that exceed this number will not be processed.
Connnectiontimeout: Network connection time-out, unit: milliseconds. Set to 0 to never time out, so the setting is hidden. It can usually be set to 30000 milliseconds.
Minsparethreads:tomcat the number of threads created when initializing.
Maxsparethreads: Once a thread is created that exceeds this value, Tomcat shuts down the socket thread that is no longer needed
Multi-domain Configuration tomcat