Weblogic Basic - WlST
-
How to find out AdminServer 's URL? How to reset password ? How to find out admin user and password?
-
How to find out AdminServer 's URL?
basiclly track the start log for url and port we can find it
-
How to find out admin user and password?
- check
boot.properties
get the encrypted password and username then try crypt it - if we got the domain create script , wen can find there
- check
-
How to reset username and password ?
- backup
${DOMAIN_HOME}/security/DefaultAuthenticatorInit.ldift
- java -classpath ${Oracle_home}/wlserver/server/lib/weblogic.jar weblogic.security.utils.AdminAccount <NEW_username> <New_password> ${DOMAIN_HOME}/security
- backup
${DOMAIN_HOME}/server/AdminServer/data
- fill the
new username
andnew password
intoboot.properties
restart
weblogic server and relogin
- backup
-
-
How to find out domain home? Oracle_Home?
-
How to find out domain home?
check
${Oracle_Home}/domain-registry.xml
and this file will show you<?xml version="1.0" encoding="UTF-8"?> <domain-registry xmlns="http://xmlns.oracle.com/weblogic/domain-registry"> <domain location="/Users/bohu/Oracle/Middleware/Oracle_Home/domains/lab"/> <domain location="/Users/bohu/Oracle/Middleware/Oracle_Home/domains/lab2"/> </domain-registry>%
-
How to Find Oracle_Home?
use
ps -ef | grep wlserver
check andwlserver
upper directory is what we are looking for
-
-
How to stop/start WebLogic?
# Start WebLogic cd ${DOMAIN_HOME} && nohup ./startWebLogic.sh 2>&1 & ./startWebLogic.sh 2>&1 | tee start.log & # How you start basiclly depend on what do you want # Stop WebLogic # Make Sure All Applications Are Down , Be Careful With This cd. ${DOMAIN_HOME}/bin && ./stopWebLogic.sh
-
How to create a new managed server?
- access the admin console and create a managed server with
LogicName
and definedlisten port
- Establish connection between managed server and AdminServer
./startManagedWebLogic.sh <Managed Server Logicname> <AdminServer URL>
- check the managed server status on Admin console
- access the admin console and create a managed server with
-
Basic use of WLST(How to invoke wlst? How to run some basic commands?)
-
Some Useful links In Our Support
本文来自博客园,作者:Jas0n0ss,转载请注明原文链接:https://www.cnblogs.com/Jas0n0ss/p/13964499.html