Welcome to Salem Houali ‘s Oracle Developer Notes

Unable to Start the Admin Server in Forms 12c, due to ORA-28001

Unable to Start the Admin Server in Forms 12c, due to ORA-28001

In the previous post, we have seen how to fix the issue :
Unable to Start the Admin Server in Forms 12c, due to ORA-28000 in case of DEV_OPSS schema is locked.
We will now look at ORA-28001 error caused by password expired.
For the purpose of the current post, i will set the DEV_OPSS password expired in our pluggable database.


Reset the password to expired
ALTER USER DEV_OPSS PASSWORD EXPIRE;
Let’s display the user :
SELECT username, account_status, authentication_type
FROM dba_users
WHERE username LIKE ‘DEV_%’;

DEV_WLS_RUNTIME             OPEN     PASSWORD
DEV_IAU_APPEND              OPEN     PASSWORD
DEVPLG                      OPEN     PASSWORD
DEV_OPSS                                         EXPIRED   PASSWORD
DEV_IAU                     OPEN     PASSWORD

DEV_STB                     OPEN     PASSWORD
DEV_IAU_VIEWER              OPEN     PASSWORD
DEV_WLS                     OPEN     PASSWORD

After starting the weblogic server, using the startWeblogic.cmd command on windows, we will get the following error:

Error Code: 28001
…………………………………………….
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.existsTable

(JpsDBDataManager.java:1669)
… 84 more
Caused by: java.sql.SQLException: ORA-28001: the password has expired

♦ Solution:

modifyBootStrapCredential(jpsConfigFile='<Oracle_Home>/user_projects/domains/base_domain/config/fmwconfig/jps-config.xml’,username=’DEV_OPSS’,password=’xxx_n_pass’)

weblogic.application.ModuleException: weblogic.common.resourcepool.ResourceSystemException:
Could not create connection for datasource ‘opss-data-source’.

6 Responses to “Unable to Start the Admin Server in Forms 12c, due to ORA-28001”

  • Binger says:

    I have not checked in here for some time because I thought it was getting boring, but the last several posts are good quality so I guess I will add you back to my everyday bloglist. You deserve it my friend :)

  • Muell74161 says:

    wow ………… Thanks For Sharing

  • Noegel says:

    Your place is valueble for me. Thanks!…

  • Paul says:

    I know this is an old post but to avoid all the work above you can just reset the password to the exiting value with:

    select u.username
    ,’alter user ‘||u.username||’ identified by values ”’||s.spare4||”’;’ cmd
    from dba_users u
    join sys.user$ s
    on u.user_id = s.user#
    where u.username = upper(‘&username’);

    you also need to update the default profile before running the alter user with:

    alter profile default limit
    PASSWORD_REUSE_TIME UNLIMITED
    PASSWORD_REUSE_MAX UNLIMITED;

    This allows the password to be reused.

    • Malay says:

      I am getting this error as ‘SyntaxError’,can you please help on this

      wls:/offline> modifyBootStrapCredential(jpsConfigFile=’/opt/uim/data/UIM_domain/config/fmwconfig/jps-config.xml’,username=’PROD_OPSS’,password=’********’)
      Traceback (innermost last):
      (no code object) at line 0
      File “”, line 2
      SyntaxError: Lexical error at line 2, column 0. Encountered: after : “”
      wls:/offline>

  • Ziaulh Hoque says:

    Hi ,

    This content help me alot. its clear and thanks alot.

    Zia

Leave a Reply