Sunday, November 18, 2018

WebLogic Admin Server Startup Failed


 Oracle WebLogic Admin Server startup failed


Last Week when I’m starting server, stuck by an issue that database credential password failed.
This is the new issue for me, so I goggle it but there was also not satisfying blog related to it thus I decided to write about it.
Issue:  When you start weblogic.cmd file for starting server then oracle.security.jps. service.policystore.PolicyStoreException : cannot connect with you database “URL”.
This Issue arises because “passwords for few schemas related to Admin Server Repository have been expired”.
For cross checking you can run query: SELECT username, account_status FROM dba_users”.
Solutions:  
Now the problem is how we can get which schema's name which is related to WebLogic Server, if you are new to WebLogic server then it will difficult to understand the which schema related to weblogic,For getting schemas name we have to run the config.cmd file in %ORACLEHOME%.When we execute the file then chose update for existing server go to JDBC Test File there we can Schema name which password is expired.

Now we have the Schemas Name, just we have to alter the password and provide the unlimited validity for it.

Note:  You have the System Admin Privilege for performing these operations.

  • Query for changing the Password of the Schema: Alter user_name identified by password 
  • Query for providing the unlimited validity for password: ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
Now when you perform check operations then
Welcome your valuable feedback and suggestions
Thanks for viewing, Hope it will helpful for you.