Tomcat's configuration of the database connection pool

xiaoxiao2021-03-06  111

Tomcat database connection pool configuration, add to in Server.xml maxwait 10000 < Parameter> Maxactive 100 password SWT URL jdbc: mysql: // localhost: 3306 / smsgroup? autoreconnect = true driverclassname org.gjt. mm.mysql.driver maxidle 30 Username SWT Add DB in Web.xml Connection jdbc / smsgroup javax.sql.datasource <

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

New Post(0)