当我使用postgres数据库在linux上运行tomcat的start.bat文件时。在postgres_hba.conf文件中更改后,它会出现以下错误。
C3P0PooledConnectionPoolManager[identityToken->2u13c99u1fd86im176rze7|779becbd]-HelperThread-#1--WARN -com.mchange.v2.resourcepool.BasicResourcePool:com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@1de8b573 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:
org.postgresql.util.PSQLException:致命:剩余的连接插槽是为非复制超级用户连接保留的
答案 0 :(得分:0)
错误信息非常清楚。您尝试打开的数据库连接数比postgresql.conf
中配置的数据库连接数多。即使是对日志和手册进行最短的搜索,也可以明确这一点。