数据库 No operations allowed after connection closed

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[2022-07-15 08:00:56.762] WARN  [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@7b0e60a4 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 08:29:43.442] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@3c779a5e (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 08:29:43.443] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@489851f0 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 08:29:43.445] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@4b2dbf5e (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 08:29:43.449] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@5a6713b7 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 08:29:43.449] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@5ac2d7cf (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 08:29:43.450] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@505f1ab6 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 08:29:43.452] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@76ae98ac (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 08:29:43.452] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@1436d765 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 08:29:43.454] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@70a42d9f (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 08:59:40.057] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@3b89a47f (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 09:28:46.461] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@f2974d3 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 09:28:46.464] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@3adf60ef (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 09:28:46.465] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@37c368e1 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 09:28:46.465] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@374b3703 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 09:28:46.468] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@730042d5 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 09:28:46.469] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@32198c42 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 09:28:46.470] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@1eb17e80 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 09:28:46.471] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@70acb17a (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 09:58:32.614] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@6d4c4b3d (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 10:27:33.978] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@626e7c48 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 10:27:33.980] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@61ae3b5e (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 10:27:33.998] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@197e1169 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 10:27:34.001] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@73b0938 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 10:27:34.005] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@16a6a9ab (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 10:27:34.007] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@6c204ea (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 10:27:34.008] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@6f5eb802 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 10:27:34.009] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@30731e18 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 10:56:55.513] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@29ecf18f (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 10:56:55.513] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@496af3e6 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 10:56:55.516] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@c446943 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 10:56:55.517] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@451b69 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 10:56:55.518] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@4eebf267 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 10:56:55.521] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@5000dd9f (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 10:56:55.522] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@57976a73 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184
[2022-07-15 10:56:55.523] WARN [DatartViewCache] [] HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@467ec22c (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. - com.zaxxer.hikari.pool.PoolBase#isConnectionAlive:184

在这里插入图片描述
运维把这两个参数都设置成了 600,后来又去除了,改为了默认又好了。
(改600,是因为之前连接数不够用,他把连接数改大了,顺便把这两个参数改为 600s=10分钟了。)