it4alla / scalog

🔥 simple communal automatic log comonent 🔥
Apache License 2.0
10 stars 7 forks source link

DruidDataSource - create connection SQLException #43

Open striver619 opened 4 years ago

striver619 commented 4 years ago

2020-08-24 20:03:43:701 [] [Druid-ConnectionPool-Create-1248013468] ERROR c.a.d.p.DruidDataSource - create connection SQLException, url: jdbc:postgresql://ip:port/middleground?stringtype=unspecified, errorCode 0, state 53300 org.postgresql.util.PSQLException: FATAL: remaining connection slots are reserved for non-replication superuser connections at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2468) at org.postgresql.core.v3.QueryExecutorImpl.readStartupMessages(QueryExecutorImpl.java:2587) at org.postgresql.core.v3.QueryExecutorImpl.(QueryExecutorImpl.java:134) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:250) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49) at org.postgresql.jdbc.PgConnection.(PgConnection.java:195) at org.postgresql.Driver.makeConnection(Driver.java:458) at org.postgresql.Driver.connect(Driver.java:260) at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1596) at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1662) at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2601)