Could not create pool connection. The DBMS driver exception was: ORA-28001: the password has expired

weblogic启动时报错
SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [null]; error code [0];
— The error occurred in com/xxx/xx/xxx/xxx/xxx.xml.
— The error occurred while executing query.
— Check the select to_char(sysdate,?) from dual .
— Check the SQL Statement (preparation failed).
— Cause: weblogic.jdbc.extensions.PoolDisabledSQLException: weblogic.common.resourcepool.ResourceDisabledException: Pool db_xxx is suspended. Cannot allocate resources to applications. It was suspended at Sat Nov 20 16:31:18 CST 2021 because of 2 consecutive connect failures. Last connect attempt failed at Sun Nov 21 16:16:15 CST 2021 because of weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: ORA-28001: the password has expired

the password has expired是密码过期的意思,一开始第一反应是应该是其他原因引起报密码过期的问题。在weblogc对数据源的目标端口随便增加或减少一下,点击激活配置之后,发现还是提示
the password has expired。于是去数据库查看密码过期天数

SELECT * FROM dba_profiles WHERE profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME';
发现limit是180,则断定是密码过期造成的问题。联系集成修改密码成和上一次密码一样的,这样weblogic和其他数据库的db link就不用再次配置了!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值