Thursday, November 28, 2013

Changing Weblogic Admin Console Password

[orapsoft@box1 bin]$ MW_HOME=/data/Oracle/product/11.1.2.2.0/ses/seshome;export MW_HOME

 DOMAIN_HOME=/data/Oracle/product/11.1.2.2.0/ses/seshome/search/base_domain;export DOMAIN_HOME

  ./stopWebLogic.sh

 mv /data/Oracle/product/11.1.2.2.0/ses/seshome/search/base_domain/servers/AdminServer/data /data/Oracle/product/11.1.2.2.0/ses/seshome/search/base_domain/servers/AdminServer/data_old

 ./setDomainEnv.sh

 cd $DOMAIN_HOME/security

 java weblogic.security.utils.AdminAccount epsys Password1
 failed with Error: Could not find or load main class weblogic.security.utils.AdminAccount

  java -cp /data/Oracle/product/11.1.2.2.0/ses/wlserver/server/lib/weblogic.jar:$CLASSPATH weblogic.security.utils.AdminAccount epsys Passw0rd .

cd /data/Oracle/product/11.1.2.2.0/ses/seshome/search/base_domain/servers/AdminServer/security

edited boot.properities
username=xyz
password=abc

cd $DOMAIN_HOME/bin and startweblogic.sh
 nohup ./startWebLogic.sh >/dev/null 2>&1 &