The following text is carried out as an example of Tomcat 5.0.30. [Nicktai Posted on 2005-3-16 15:04:27]
Tomcat Server Server.xml Key Parameter Configuration Description: The following text is carried out as Tomcat 5.0.30 as an example. 1. Configure the TOMCAT server to access the port and simply configure the Connector's Port port. Tomcat defaults to 8080, now modifying the port parameter value of 80. 2, configuring Tomcat Support URL Chinese parameters, just add the connector's uriencoding parameter, default This parameter is not configured. To support the URL parameter to support Chinese, plus uriencoding = "GBK" (see 1 in the last line of the code). 3, configure new webapp: find the Host tail mark host>, insert a new context.
Such as: (1) To support the database (take SQL Server as an example),: (2) factory name> org.apache.commons.dbcp.BasicDataSourceFactory value> parameter> <-! Maximum number of dB connections in pool Make sure you configure your mysqld max_connections large enough to handle all of. Your DB Connections. set to 0 for no limit .--> maxactive name> 50 value> parameter> maxidle name> 20 value> parameter> maxwait name> 500 value> parameter> username name> sa value> <