I have been configuring WebLogic domains (version 9.2) and came across the situation where I had made a mistake in entering the initial weblogic user password. This was preventing me from starting up my weblogic instance, as I couldn’t get the password right. To reset the password, do the following (courtesy of JavaRanch):
Change directory into your domain directory.
Create a new boot.properties file with the contents:
Run the reset command for the admin account (the period at the end is required… you may have to include the full path to the jvm and to to the weblogic.jar):
java -cp weblogic.jar weblogic.security.utils.AdminAccount weblogic weblogic .
Move the ldap directory to ldap.old (this directory is at <domain>/data/ldap)