cd $EBS_DOMAIN_HOME/bin
. ./setDomainEnv.sh
echo $EBS_DOMAIN_HOME ---------- Note you have to replace below path with your instance path
java weblogic.WLST
from weblogic.security.internal import BootProperties
BootProperties.load("/u01/app/EBS/fs2/FMW_Home/user_projects/domains/EBS_domain/servers/AdminServer/security/boot.properties", false)
prop = BootProperties.getBootProperties()
print "username: " + prop.getOneClient()
print "password: " + prop.getTwoClient()
No comments:
Post a Comment