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 ${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"?>
      
        
        
      % 
      
    • 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
    3. check the managed server status on Admin console
  5. Basic use of WLST(How to invoke wlst? How to run some basic commands?)

    • Oracle Offical Usage Docs
  6. **Some Useful links In Our Support **

    • Install Weblogic Server
    • Upgrade Weblogic Server
    • Install Weblogic Sever Patch