java.sql.SQLException:Connections could not be acquired from the underlying database!

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/hoho_12/article/details/84964784

问题出现场景:

切换数据库数据源以后,启动一直报:java.sql.SQLExceptionConnections could not be acquired from the underlying database!

解决思路:

依次使用配置的账户登录pl/sql时,发现其中一个账户被锁。

于是使用sys用户登录解锁:alter user account unlock;--account 为用户名

再次启动server后,未报错。

参考文章:http://doc.primeton.com/pages/viewpage.action?pageId=786954

猜你喜欢

转载自blog.csdn.net/hoho_12/article/details/84964784