willa666
asked on
weblogic password
We have had some new BEA weblogic 8.1.4 servers installed on linux.
when they where instaklke dthe domains where created and the installer used the weblogic username as the account used to start admin server.
now i changed the password for the weblogic acount and i am having problems when i try to restart the admin server becase the encrypted password in the boot.properties is incorrect.
how cant i modify this password that is used?
Will
when they where instaklke dthe domains where created and the installer used the weblogic username as the account used to start admin server.
now i changed the password for the weblogic acount and i am having problems when i try to restart the admin server becase the encrypted password in the boot.properties is incorrect.
how cant i modify this password that is used?
Will
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
You can use the
$>> java weblogic.security.utils.Ad minAccount username password <domain-path>
command to create a new admin account in weblogic domain
read more on this at http://dev2dev.bea.com/pub/a/2004/07/WLSAdmin_bpr.html
$>> java weblogic.security.utils.Ad
command to create a new admin account in weblogic domain
read more on this at http://dev2dev.bea.com/pub/a/2004/07/WLSAdmin_bpr.html
Or you may delete boot.properties file. Next time you're starting server, it will ask you for username and password.
Just another choice.
Sompol
Just another choice.
Sompol
boot.properties file only stores credentials to start weblogic in dev mode
hi,
i don't agree with Ajar on boot.properties. It works in both mode.
Emmanuel
i don't agree with Ajar on boot.properties. It works in both mode.
Emmanuel
Hi,
To recover the administrator password in a WebLogic domain:
* At the command line, change directory to the domain and run the setEnv script to set the PATH and CLASSPATH.
* Create a new DefaultAuthenticatorInit.l dift: run java weblogic.security.utils.Ad minAccount <tempadmin> <temppassword> ./
* Remove the initialized status file, DefaultAuthenticatormyreal mInit.init ialized from the <Domain>/<Server>/ldap subdirectory.
* Restart the server, using the new user identity.
* To change the old admin user identity, log into the admin console. (Optional)
http://edocs.bea.com/wli/docs70/config/samplcfg.htm
R.K
To recover the administrator password in a WebLogic domain:
* At the command line, change directory to the domain and run the setEnv script to set the PATH and CLASSPATH.
* Create a new DefaultAuthenticatorInit.l
* Remove the initialized status file, DefaultAuthenticatormyreal
* Restart the server, using the new user identity.
* To change the old admin user identity, log into the admin console. (Optional)
http://edocs.bea.com/wli/docs70/config/samplcfg.htm
R.K
It really doesn't have to be that complicated. Like I said (and I think this is a dead question because we've had no response):
replace the old encrypted password in boot.properties with your new password in plain text. The next time Weblogic starts it will encrypt your new password for you in boot.properties.
It's just that simple.
replace the old encrypted password in boot.properties with your new password in plain text. The next time Weblogic starts it will encrypt your new password for you in boot.properties.
It's just that simple.
1. Compile following code in server root.
2. Copy & rename startWeblogic.cmd
3. Edit it to call following class & run it.
Following code worked for
import weblogic.security.internal .BootPrope rties;
public class RecoverPassword {
public static void main(String[] args) {
BootProperties.load(null, false);
BootProperties bootp = BootProperties.getBootProp erties();
System.out.println(bootp.g etOne() + "/" + bootp.getTwo());
}
}
2. Copy & rename startWeblogic.cmd
3. Edit it to call following class & run it.
Following code worked for
import weblogic.security.internal
public class RecoverPassword {
public static void main(String[] args) {
BootProperties.load(null, false);
BootProperties bootp = BootProperties.getBootProp
System.out.println(bootp.g
}
}
ASKER
"Unable to instantiate GUI, defaulting to console mode."