Question 1

Stopping and Restarting an Application Server

About this task

Sometimes, you might have to stop and restart the application server. For example, if you have modified some settings and these modified settings require restarting the application server.

Before stopping and restarting WebLogic, complete the following steps:

Procedure

  1. Save your work and confirm that all users have logged off.
  2. Locate the running docker container using the command kubectl get pods.
  3. Access the container using the command kubectl exec -it <name of the container> bash.
  4. Go to the bin directory of the domain as specified in the configMap.yaml file for the WLS_DOMAIN_LOCATION parameter. For more information, see Configuring WebLogic for Cloud Native Unica.
  5. Stop the domain by running the command stopWebLogic.sh.
  6. To restart the domain, run the command startWebLogic.sh in the background.
  7. To exit the docker container, press CTRL+D.