STEP 1:
Ensure that your have shutdown all servers -- Admin
STEP 2:
From the command line, run the script setDomainEnv.sh, located in
$DOMAIN_HOME/bin/setDomainEnv.sh
STEP 3:
Cd to $DOMAIN_HOME/security
Rename the file 'DefaultAuthenticatorInit.ldift'
STEP 4:
Create a new initialization file for the default authenticator in the same directory as above
($DOMAIN_HOME/security) by running command:
java –cp
/WebLogic/utils/bea922/weblogic92/server/lib/weblogic.jar:$CLASSPATH
weblogic.security.utils.AdminAccount .
This should produce a new 'DefaultAuthenticatorInit.ldift'
(Can be verified with the timestamp of that file)
STEP 5:
Rename the files 'DefaultAuthenticatormyrealmInit.initialized' and 'boot.properties'.
$DOMAIN_HOME/servers/AdminServer/data/ldap/DefaultAuthenticatormyrealmInit.initialized
$DOMAIN_HOME/servers/AdminServer/security/boot.properties
STEP 6:
Start the Admin server
At start time, use the newUser and newPassword values when prompted for user and
Password.
Ensure that your have shutdown all servers -- Admin
STEP 2:
From the command line, run the script setDomainEnv.sh, located in
$DOMAIN_HOME/bin/setDomainEnv.sh
STEP 3:
Cd to $DOMAIN_HOME/security
Rename the file 'DefaultAuthenticatorInit.ldift'
STEP 4:
Create a new initialization file for the default authenticator in the same directory as above
($DOMAIN_HOME/security) by running command:
java –cp
/WebLogic/utils/bea922/weblogic92/server/lib/weblogic.jar:$CLASSPATH
weblogic.security.utils.AdminAccount
This should produce a new 'DefaultAuthenticatorInit.ldift'
(Can be verified with the timestamp of that file)
STEP 5:
Rename the files 'DefaultAuthenticatormyrealmInit.initialized' and 'boot.properties'.
$DOMAIN_HOME/servers/AdminServer/data/ldap/DefaultAuthenticatormyrealmInit.initialized
$DOMAIN_HOME/servers/AdminServer/security/boot.properties
STEP 6:
Start the Admin server
At start time, use the newUser and newPassword values when prompted for user and
Password.
it worrkksss thank you man -from chile
ReplyDeleteOne tip , for step 4 you put the username and password as entrance parameters
ReplyDeleteweblogic.security.utils.AdminAccount .
And you must put the end dot
The . indicates the current location of the path.
Delete