Orcale Weblogic Server Sharing Session II

Sharing Session II

  1. 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 ( Jim last sharing mentioned)

      • if we got the domain create script , wen can find there

    • How to reset username and password ?

      1. backup ${DOMAIN_HOME}/security/DefaultAuthenticatorInit.ldift
      2. java -classpath ${Oracle_home}/wlserver/server/lib/weblogic.jar weblogic.security.utils.AdminAccount <NEW_username> <New_password> ${DOMAIN_HOME}/security
      3. backup ${DOMAIN_HOME}/server/AdminServer/data
      4. fill the new username and new password into boot.properties
      5. restart weblogic server and relogin
  2. 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 and wlserver upper directory is what we are looking for

  3. 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 
    
  4. How to create a new managed server?

    1. access the admin console and create a managed server with LogicName and defined listen port
    2. Establish connection between managed server and AdminServer
      ./startManagedWebLogic.sh <Managed Server Logicname> <AdminServer URL>
    3. check the managed server status on Admin console
  5. Basic use of WLST(How to invoke wlst? How to run some basic commands?)

  6. **Some Useful links In Our Support **

Orcale Weblogic Server Sharing Session II

上一篇:c语言中的for和while


下一篇:[CVE-2013-2251] Apache Struts 2远程代码执行漏洞复现(第四弹)