에러 및 오류

[에러] Could not open JDBC Connection for transaction; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data source rejected establishment of connection, message from server: "Too many connections"

유호야 2021. 11. 24. 16:26
반응형

Could not open JDBC Connection for transaction; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data source rejected establishment of connection,  message from server: "Too many connections"

 

<Resource auth="Container" driverClassName="core.log.jdbc.driver.MysqlDriver" maxActive="50" name="jdbc/enview" password="pw" type="javax.sql.DataSource" url="url" username="username"/>

maxActive = "20" 에서 50으로 변경

반응형