Thursday, November 5, 2015

Resetting weblogic OBIEE admin password (creating new OBIEE admin user (forgot weblogic admin password



During the installation of OBIEE 11g on my humble 6 year old Thinkpad laptop, I came across this error where the admin user namely weblogic was not able to login after the installation even though the password was correctly typed.


Tried shutting down the service and restarting it from command line but Admin server (weblogic) refused to start citing authentication problem for the admin “weblogic” user.

The best way to resolve this is to create another admin user and then login with this new user in the Fusion Middleware console and then change the password for the old admin user “weblogic”.


open a cmd prompt and cd to $DOMAIN_HOME\bin e.g. D:\OBIEE11g\user_projects\domains\bifoundation_domain\binand execute setDomainEnv.cmd

in the directory D:\OBIEE11g\user_projects\domains\bifoundation_domain\security rename DefaultAuthenticatorInit.ldift file to DefaultAuthenticatorInit.ldift.org
generate a new admin user and password by

cd D:\OBIEE11g\user_projects\domains\bifoundation_domain\security
java weblogic.security.utils.AdminAccount rtadmin rtpass .note:
rtadmin is the new admin user
rtpass is the password for the new admin user
.(dot) after password will create a new default authenticator file “DefaultAuthenticatorInit.ldift” in the current directory (which is the “security” directory).

rename boot.properties located in D:\OBIEE11g\user_projects\domains\bifoundation_domain\servers\AdminServer\security to boot.properties.bak
rename DefaultAuthenticatormyrealmInit.initialized located in D:\OBIEE11g\user_projects\domains\bifoundation_domain\servers\AdminServer\data\ldap to DefaultAuthenticatormyrealmInit.initialized.bak
note: it’s a good idea to backup the entire D:\OBIEE11g\user_projects\domains\bifoundation_domain\servers\AdminServer\data directory
open a cmd prompt and start the Admin server

D:\OBIEE11g\user_projects\domains\bifoundation_domain\bin>startWebLogic.cmdprovide the new admin username and password: rtadmin/rtpass
the weblogic server should start and you should have access to the weblogic console http://localhost:7001/console/
Login to weblogic console with the new admin user and go to Security Realms –> myrealm. select the users and Groups tab




change the password fro the old admin user “weblogic”
save and logout. Test things work fine by logging in as “weblogic” use with the new password.


in the directory D:\OBIEE11g\user_projects\domains\bifoundation_domain\servers\AdminServer\security create the boot.properties. This file contains the username and password of the admin user. when you start the services, the username and password will be encrypted.Note: if you delete or rename the data directory located in D:\OBIEE11g\user_projects\domains\bifoundation_domain\servers\AdminServer\data, weblogic will create a new data/ldap directory BUT important users like BISystemUser and OracleSystemUser will no longer be available and your service will not start properly.