Tomcat5.0.30 is carried out for example

xiaoxiao2021-03-06  20

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 , insert a new context.

Such as: (1) To support the database (take SQL Server as an example),: (2) factory org.apache.commons.dbcp.BasicDataSourceFactory <-! 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 50 maxidle 20 maxwait 500 username sa <

转载请注明原文地址:https://www.9cbs.com/read-43328.html

New Post(0)