Getting the following error: ORA-28002: the password will expire within x days
OR
java.sql.SQLWarning: ORA-28002: the password will expire within x days

The error shows up when sqlplus into database or in the application error log.