Thursday, November 10, 2011

Changing Weblogic Admin Console Password

Hi Friends,
                Today I am going to write on the issue that I have got today on weblogic. Actually by mistake I have forgot weblogic admin console password. So for this I have done some R&D and will be able to change the password. Below are the following steps to be followed...
Weblogic Version: 10.3.


    # set environment variables
[root@server199 ~]# export MWHOME=/data2/wlserver10.3/
[root@server199 ~]# export DOMAIN_HOME=/data2/wlserver10.3/xalted/domains/base_domain/
[root@server199 ~]# export CLASSPATH=$CLASSPATH:/data2/wlserver10.3/wlserver/server/lib/weblogic.jar
[root@server199 ~]# cd $DOMAIN_HOME/bin
[root@server199 bin]# . ./setDomainEnv.sh

            # creating a new default authenticator
[root@server199 base_domain]# cd security/
[root@server199 security]# mv DefaultAuthenticatorInit.ldift oldDefaultAuthenticator
[root@server199 security]# java weblogic.security.utils.AdminAccount weblogic mynewpass .
       
            # removing boot.properties if exists
[root@server199 security]# cd ../servers/AdminServer
[root@server199 AdminServer]# mv data data_old
[root@server199 AdminServer]# cd security/
[root@server199 security]# mv boot.properties oldboot.properties

            # restart the admin server with the new password
[root@server199 security]# cd $DOMAIN_HOME
[root@server199 base_domain]# ./startWebLogic.श



Hope It will help you
Regards 

No comments:

Post a Comment